www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10351] New: GC deadlocks in thread_suspendAll()

http://d.puremagic.com/issues/show_bug.cgi?id=10351

           Summary: GC deadlocks in thread_suspendAll()
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: Marco.Leise gmx.de



Here is an excerpt from a stack trace I got while profiling
with OProfile:





alloc_size=0x7fc3d4bfe418) at gc/gcx.d:2099

this=...) gc/gcx.d:503

alloc_size=0x7fc3d4bfe418) gc/gcx.d:421




bitLengths=...) sequencer/algorithm/gzip.d:444

Two more threads are alive, but waiting on a condition
variable (i.e.: in pthread_cond_wait(), but from my own and
not from druntime code. Is there some obvious way I could have
dead-locked the GC ? Or is there a bug ?

This was compiled with GDC using DMD FE 2.062.
I wasn't able to reproduce this without the profiler running.

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