[Mono-dev] crashes in glib hangs (not exits) program
Robert Jordan
robertj at gmx.net
Mon Apr 21 10:42:40 EDT 2008
D Bera wrote:
>> I noticed that some unmanaged crashes in glib could leave the
>> program running but hanged. See below for a sample program (the bad
>> g_free was used to deliberately crash).
>
> Did some more testing to reveal that Mono behaves unpredictably upon
> crashes in unmanaged glib. I have filed a bug with a couple of
> testcases, see
> https://bugzilla.novell.com/show_bug.cgi?id=381928
Why are you not using the managed GType wrapper? And how about reusing
GString? Or at least look at its source to see how it's supposed to
be p/invoked correctly.
It's impossible for mono to recover from unmanaged crashes. This is by
design.
Robert
More information about the Mono-devel-list
mailing list