Bennett Helm wrote:
On Nov 17, 2006, at 5:59 AM, Abdelrazak Younes wrote:
Bennett Helm wrote:
1.5.0 alpha crashes every time on quit on Intel Mac. Here's the
backtrace:
Could you try out this patch please?
I still get a crash. Here's the new backtrace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x8d005b76
0x8d005b76 in ?? ()
(gdb) bt
#0 0x8d005b76 in ?? ()
#1 0x00153ab2 in lyx::IconvProcessor::convert (this=0xb95958,
buf=0xe34f64c "\004", buflen=53259, outbuf=0xe02500c "",
maxoutsize=213036) at unicode.C:123
This is something else... Do you have an idea Georg?
#2 0x000f03b9 in lyx::utf8_to_ucs4 ([EMAIL PROTECTED], [EMAIL PROTECTED])
at docstring.C:73
#3 0x000f0406 in lyx::from_utf8 ([EMAIL PROTECTED]) at docstring.C:83
#4 0x0006557c in lyx::LyX::prepareExit (this=0xe319220) at lyx_main.C:387
#5 0x000663de in lyx::LyX::quit (this=0xe319220) at lyx_main.C:407
#6 0x0006658e in lyx::LyX::~LyX (this=0xe319220) at lyx_main.C:165
Good, this means that my patch works. Apparently static data are not
treated in the same way at all on the Mac. The exit command on the Mac
seems to bypass our dispatch machinery altogether.
Thanks for testing,
Abdel.