[Issue 11594] synchronized causing segfault instead of Error.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 5 12:01:47 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=11594
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
I can't reproduce this with either today's compiler or 2.064.
In your code, you have:
private Object mut;// = new Object();
Does that mean that you instantiate it somewhere? Because if it's not
instantiated (i.e. your code is ran verbatim), it does result is a segmentation
fault as you described, but only because the object used for locking is null.
If you can still reproduce this today and can provide a complete test case,
please reopen.
--
More information about the Digitalmars-d-bugs
mailing list