[Mono-dev] crashes in glib hangs (not exits) program

Robert Jordan robertj at gmx.net
Mon Apr 21 11:11:30 EDT 2008


Hi,

D Bera wrote:
> I am not asking mono recover from a crash. I am merely asking mono to
> "not hang". That is an unpredicable behaviour since people want a
> program to either run or not run but not stay in a middle state of
> "doing nothing". Hope I am clear this time. Looking at the stack trace
> I _think_ its just some bug in mono's after-crash-stacktrace-printer
> which is causing the problem. Mono's behaviour (and yours too) is
> absolutely right otherwise.

It's most likely the g_spawn* that gets the stack trace from gdb. You 
may try to comment out the offending code in mini/mini-exceptions.c.

Perhaps we should couple the gdb stack trace with mono's --debug switch.
Or replace the g_spawn* call with plain libc calls...

Robert



More information about the Mono-devel-list mailing list