[Issue 11981] unittest 'host' deadlock

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 8 18:24:19 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11981



--- Comment #7 from safety0ff.bugz <safety0ff.bugz at gmail.com> 2014-02-08 18:24:18 PST ---
Here's the sequence of events I suspect causes this:
3 Threads:
Thread 2 acquires malloc internal lock
Thread 1 causes a GC collection and therefore thread_suspendAll
Thread 3 enters the signal handler for suspendAll, which somehow calls
tls_get_addr_tail, which calls malloc, and since Thread 2 has the lock, it
causes a deadlock.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list