[Issue 15939] GC.collect causes deadlock in multi-threaded environment

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 9 09:25:52 PDT 2016


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

--- Comment #16 from Martin Nowak <code at dawg.eu> ---
(In reply to Aleksei Preobrazhenskii from comment #13)
> All suspending signals were delivered, but it seems that number of calls to
> sem_wait was different than number of calls to sem_post (or something
> similar). I have no reasonable explanation for that.
> 
> It doesn't invalidate the hypothesis that RT signals helped with original
> deadlock though.

To be hypothesis it must verifyable, but as we can't explain why RT signals
would help, it's not a real hypothesis. Can anyone somewhat repeatedly
reproduce the issue?
I would suspect that this issue came with the recent parallel suspend feature.
https://github.com/dlang/druntime/pull/1110, that would affect dmd >= 2.070.0.
Could someone test their code with 2.069.2?

--


More information about the Digitalmars-d-bugs mailing list