Andre Poenitz wrote:
On Sat, May 27, 2006 at 04:02:33PM +0200, Georg Baum wrote:
Am Samstag, 27. Mai 2006 15:40 schrieb Abdelrazak Younes:
OK, then this patch use a straight QApplication. QLApplication is used
only for Mac as far as I see. And use qApp only.
Does not help:
#0 0xb7b94bcc in QPixmapCache::clear () from /usr/lib/libQtGui.so.4
#1 0xb7b4ddb5 in QApplicationPrivate::x11_initialize_style ()
from /usr/lib/libQtGui.so.4
#2 0xb7b04712 in QApplication::~QApplication ()
from /usr/lib/libQtGui.so.4
#3 0x083833f4 in __tcf_0 ()
at ../../../../src/frontends/qt4/lyx_gui.C:164
#4 0xb72d0384 in exit () from /lib/tls/i686/cmov/libc.so.6
#5 0x083834a0 in lyx_gui::exit ()
Are we really explicitly calling exit()?
Yes in lyx_gui.C:
void exit()
{
delete lyxsocket;
delete lyxserver;
lyxserver = 0;
// we cannot call qApp->exit(0) - that could return us
// into a static dialog return in the lyx code (for example,
// load autosave file QMessageBox. We have to just get the hell
// out.
::exit(0);
}