diffoscope timing out.

Chris Lamb chris at reproducible-builds.org
Thu Nov 16 13:56:05 GMT 2023


Holger Levsen wrote:

> I think there is definitly an UI bug in diffoscope here. If/when diffoscope
> runs out of memory, it should state that clearly and not throw 42 lines of
> traceback at the user.

Good idea. I've added that here:

  https://salsa.debian.org/reproducible-builds/diffoscope/commit/bb887ddb6e5763b15d4ed9bb448166901dc7253f

However:

> Note that because of the underlying memory management architecture
> (C’s malloc() function), the interpreter may not always be able to
> completely recover from this situation; it nevertheless raises an
> exception so that a stack traceback can be printed, in case a
> run-away program was the cause.
>
>https://docs.python.org/2/library/exceptions.html#exceptions.MemoryError

... so this may not work in all situations.


-- 
      o
    ⬋   ⬊      Chris Lamb
   o     o     reproducible-builds.org 💠
    ⬊   ⬋
      o



More information about the Reproducible-builds mailing list