[Mono-bugs] [Bug 632133] New: crash when creating a large number of threads if -fexceptions used

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 17 20:59:12 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=632133

https://bugzilla.novell.com/show_bug.cgi?id=632133#c0


           Summary: crash when creating a large number of threads if
                    -fexceptions used
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: GC
        AssignedTo: lupus at novell.com
        ReportedBy: mgorse at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=383630)
 --> (http://bugzilla.novell.com/attachment.cgi?id=383630)
Test case.

Mono can crash in pthread_stop_world() and print a native stacktrace if a large
number of threads are created and then destroyed and if Mono was built with
-fexceptions (as packages are in Fedora by default).  Glibc defines
pthread_cleanup_push() and pthread_cleanup_pop() differently if -fexceptions is
in use, and I think that the logic used with it is sometimes failing to run the
gc's cleanup handler on exit.

-- 
Configure bugmail: https://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