[Mono-bugs] [Bug 381928] New: GLib crashes can hang mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 21 09:37:33 EDT 2008


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


           Summary: GLib crashes can hang mono
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dbera.web at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Mono acts weirdly with respect to crashes in glib. This is with 1.9 but also
reproducible with 1.2.6. I am marking it critical since a hanged program is
extremely dangerous than a program that crashes.

If there is a crash in glib, mono tries to print the stacktrace and completely
hangs. Instead if we "catch" the unmanaged exception then then the program
successfully crashes. The bahaviour is pretty inconsistent
- depends on _if_ and _where_ g_type_init() is called
- complete ignores GLib.ExceptionManager.UnhandledException
- Does not matter if the crash happens in the mainloop or in the main program
- Need to declare the g_string_free for the program to crash, even though that
method is directly not used in the code.

I will try one or more sample program to point out the problem.


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


More information about the mono-bugs mailing list