On Sat, May 27, 2006 at 03:20:36PM +0200, Abdelrazak Younes wrote: > Georg Baum wrote: > >Am Freitag, 26. Mai 2006 11:33 schrieb Helge Hafting: > > >Abdel, do you have any idea why this happens? > > Another idea... Maybe the QApplication destruction is happening too soon > in the exit process, this patch remove the QLApplication destructor. I > am not sure this will solve the crash but your backtrace seems to imply > so. If not, I think we will maybe have to get rid of this QLApplication... > > Abdel.
> Index: lyx_gui.C > =================================================================== > --- lyx_gui.C (revision 13933) > +++ lyx_gui.C (working copy) > @@ -112,7 +112,7 @@ > { > public: > LQApplication(int & argc, char ** argv); > - ~LQApplication(); > +// ~LQApplication(); > #ifdef Q_WS_X11 > bool x11EventFilter (XEvent * ev) { return lyxX11EventFilter(ev); } > #endif > @@ -133,8 +133,8 @@ > } > > > -LQApplication::~LQApplication() > -{} > +//LQApplication::~LQApplication() > +//{} The compiler creates comething identical to this if there is no destructor defined. [Which means, that the change as such is good as it removes useless code, but there should not be any visible difference] Andre'