[Issue 10364] Mac OS 10.8 program crash
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jul 20 19:04:10 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=10364
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|dmd |druntime
--- Comment #7 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
I reproduced it with macOS 10.12 and DMD 2.074.
Changing daemon(0,0) to daemon(0,1) (so that stderr isn't redirected to
/dev/null) reveals a clue:
core.thread.ThreadError at src/core/thread.d(3002): Unable to load thread state
It looks like the daemon() call is interfering with Druntime's threading code.
--
More information about the Digitalmars-d-bugs
mailing list