[Issue 10364] Mac OS 10.8 program crash

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 21 07:52:54 PDT 2017


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

--- Comment #9 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to Jacob Carlborg from comment #8)
> I did some more debugging. The error returned by "thread_get_state" is
> 268435459 (0x10000003) which seems to correspond to MACH_SEND_INVALID_DEST.

Interesting. daemon() calls fork(), and forked processes go on without the
other threads from their parent process. It could be that something in Druntime
has created a thread, which is now gone after the fork; or, possibly, that the
thread ID of the main thread has changed, and Druntime is unable to correctly
address it. I'm not familiar with Mach threading, though, so I can only guess.

--


More information about the Digitalmars-d-bugs mailing list