Bennett Helm wrote:
On Nov 18, 2006, at 12:50 PM, Abdelrazak Younes wrote:

This is what I did. Hopefully, all crash-on-exit problems on windows and Mac should be solved now.

Unfortunately, not. Quitting LyX on Mac gives:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000040
0x0008e0a5 in lyx::LyXServerSocket::~LyXServerSocket (this=0xe3c15f0) at lyxsocket.C:80
80                      theApp->unregisterSocketCallback(fd_);
(gdb) bt
#0 0x0008e0a5 in lyx::LyXServerSocket::~LyXServerSocket (this=0xe3c15f0) at lyxsocket.C:80 #1 0x00664e9e in boost::checked_delete<lyx::LyXServerSocket> (x=0xe3c15f0) at ../boost/boost/checked_delete.hpp:34
#2  0x00065f61 in lyx::LyX::quit (this=0xbffff960) at lyx_main.C:418
#3  0x00066006 in lyx::LyX::~LyX (this=0xbffff960) at lyx_main.C:176

I really don't understand why we still pass through the destructor... quit() should have been called earlier...

Abdel.

Reply via email to