On Nov 29, 2006, at 12:36 PM, Peter Kümmel wrote:
OK, the patch has tested if theApp is valid, and it seems it is, but
it crashes anyway. So here a patch which tests if the reason for the
crash is the pure virtual function. It could be that is also does
not help, but I hope it does.
Still crashes. Here's the new backtrace.
Assertion triggered in T* boost::scoped_ptr<T>::operator->() const
[with T = lyx::frontend::Application] by failing check "ptr != 0" in
file ../boost/boost/scoped_ptr.hpp:94
Assertion triggered in T* boost::scoped_ptr<T>::operator->() const
[with T = lyx::LyXServer] by failing check "ptr != 0" in file ../
boost/boost/scoped_ptr.hpp:94
Program received signal SIGABRT, Aborted.
0x9003d1dc in kill ()
(gdb) bt
#0 0x9003d1dc in kill ()
#1 0x9010f2af in raise ()
#2 0x9010de02 in abort ()
#3 0x0010ec57 in lyx::support::abort () at abort.C:25
#4 0x0006c110 in lyx::LyX::emergencyCleanup (this=0xbffff954) at ../
boost/boost/scoped_ptr.hpp:94
#5 0x0002798b in boost::emergencyCleanup () at boost.C:45
#6 0x00027a55 in boost::assertion_failed (expr=0x5c2610 "ptr != 0",
function=0x5d0918 "T* boost::scoped_ptr<T>::operator->() const [with
T = lyx::frontend::Application]", file=0x5c25f0 "../boost/boost/
scoped_ptr.hpp", line=94) at boost.C:55
#7 0x0006934a in lyx::LyX::quit (this=0xbffff954) at ../boost/boost/
scoped_ptr.hpp:94
#8 0x00069394 in lyx::LyX::~LyX (this=0xbffff954) at lyx_main.C:179
#9 0x00003035 in main (argc=1, argv=0xbffff9e4) at main.C:48
Bennett