[Issue 22616] Infinity loop instead of InvalidMemoryOperationError during GC routine

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 21 17:04:29 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22616

--- Comment #4 from moonlightsentinel at disroot.org ---
The problem here is that this line [1] is executed before the exception is
rethrown - which calls `_d_throwdwarf` and ends up trying to allocate the
DefaultTraceHandler.

[1]
https://github.com/dlang/druntime/blob/fd9a45448244fb9dd4326520ad8526c540895eb0/src/core/internal/gc/impl/conservative/gc.d#L3141

--


More information about the Digitalmars-d-bugs mailing list