[Mono-bugs] [Bug 589853] New: ExitThread can cause crashes during shutdown

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 19 15:50:38 EDT 2010



           Summary: ExitThread can cause crashes during shutdown
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: rkumpera at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

libgcc does unwinding as part of pthread_exit.

This is fine for threads where all code for the call stack is valid, but during
shutdown this might not be the case if the root domain was unloaded.

The unwinding code tries to read from the return address, which has been
released and causes a fatal segfault.

The way to fix this is to restore to the last LMF and have it call
pthread_exit, this way avoiding unwinding any deallocated managed methods.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list