[Issue 4890] GC.collect() deadlocks multithreaded program.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 5 03:04:22 PDT 2014


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

--- Comment #34 from badlink <andrea.9940 at gmail.com> ---
(In reply to Sean Kelly from comment #33)
> The GC was in use for probably 5 years without a reported deadlock.  Though
> history isn't exactly proof.  I don't suppose someone wants to regress this
> and find the offending release?  Isn't there a D tool for this?  Or would we
> be stuck with git bisect?

I just have tried a few old versions:
- 2.054 (self-compiled) deadlocks
- 2.042 (self-compiled) deadlocks
- 1.076 (http://dlang.org/download.html) fullCollect never returns
- 1.030 (http://dlang.org/download.html) fullCollect never returns

code used for D1: http://pastebin.com/wu9guHA6
stacktrace (DMDv1.030): http://pastebin.com/CfNStRvm

Does anyone else have this issue ?
Right now I'm on Arch Linux 3.14.19-1-lts x86_64, GNU libc 2.20.

--


More information about the Digitalmars-d-bugs mailing list