Bennett Helm wrote:
On Sep 27, 2007, at 12:23 PM, Abdelrazak Younes wrote:

Bennett Helm wrote:
OK. Creating a math inset causes it to quit immediately, without saving (without even an emergency save). There's nothing written to the crash log, but the following appears in console.log:
terminate called after throwing an instance of 'int'
Is that what you expected?

No, I had expected a dialog saying than an exception was caught. This means that Mac catch this kind of exception before us... too bad!

If you know how to make LyX crash (perhaps with problematic file path) please try to reproduce the crash and see if you get a dialog. Or maybe try this patch.

Applying the new patch (after reversing the old one) results in the same behavior, except the message to console.log this time is:

terminate called after throwing an instance of 'lyx::support::ExceptionMessage'
  what():  Dummy exception
Dummy exception

Ouch! This basically means that the exception is caught by MacOS before Qt (GuiApplication::notify() does not have the time to catch it). Sorry, I am a complete ignorant WRT MacOS so I don't know what to do here. But this also means that my change there won't affect MacOS and they can thus be safely ported to 1.5.

Abdel.

Reply via email to