MZ> Gdb isn't usefull, because the termination of the program doesn't generate
MZ> exception.
You could at least set a breakpoint on terminate() to see where is it
called from.
Anyhow, I don't see anything in your message about neither exceptions nor
terminate so it's quite impossible to say what's going on. My only advice
would be to review the code where you (or the functions called by you,
which excludes wxWidgets ones) throws exceptions and check that they're all
caught correctly.
Regards,
VZ