[Gc] Allowing SIGINT during garbage collection may result in deadlock

Paolo Molaro lupus at ximian.com
Tue Apr 20 00:49:06 PDT 2010


On 04/19/10 Burkhard Linke wrote:
> I've stumpled across a deadlock during execution of a mono application using a 
> recent cvs checkout of bdwgc under Solaris 10/x86.
> 
> All threads except the garbage collecting one are either suspended during 
> stopping the world or correctly blocked by other means (IO, sleep for non GC 
> threads etc).
> 
> The garbage collecting thread was interrupted by SIGINT, which is unblocked in 
> GC_remove_allowed_signals(). The deadlock occurs during the fact that the 
> mono signal handlers is invoked and attempts to allocate memory. Excerpt of 
> the stacktrace of garbage collecting thread:

This is a mono bug, please file it in the mono bugzilla.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Gc mailing list