Starting program: /home/lgb/Development/lyx-devel/src/lyx-qt4
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xc1b000
[Thread debugging using libthread_db enabled]
[New Thread -1209047344 (LWP 1359)]
Detaching after fork from child process 1362.
pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
[Switching to Thread -1209047344 (LWP 1359)]
0x00c1b402 in __kernel_vsyscall ()
(gdb) bt
#0  0x00c1b402 in __kernel_vsyscall ()
#1  0x4218dee9 in raise () from /lib/libc.so.6
#2  0x4218f4f1 in abort () from /lib/libc.so.6
#3  0x42623c30 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0x42621655 in std::set_unexpected () from /usr/lib/libstdc++.so.6
#5  0x42621692 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0x42621d75 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#7  0x081bc00b in ~LyXServerSocket (this=0xa047dc0) at lyxsocket.C:78
#8  0x08165e27 in boost::checked_delete<LyX::Singletons> (x=0x9f57be0)
    at ../boost/boost/checked_delete.hpp:34
#9  0x08161702 in __tcf_9 () at ../boost/boost/scoped_ptr.hpp:77
#10 0x4219081e in exit () from /lib/libc.so.6
#11 0x4217b4ec in __libc_start_main () from /lib/libc.so.6
#12 0x08063211 in _start ()

The code in question:

// Close the socket and remove the address of the filesystem.
75: LyXServerSocket::~LyXServerSocket()
76: {
77:        if (fd_ != -1) {
78:                 theApp->unregisterSocketCallback(fd_);
79:                if (::close(fd_) != 0)
80:                        lyxerr << "lyx: Server socket " << fd_
81:                               << " IO error on closing: " << 
strerror(errno);
82:        }
83:        lyx::support::unlink(address_);
84:        lyxerr[Debug::LYXSERVER] << "lyx: Server socket quitting" << endl;
85: }

It seems that theApp has already been destroyed or something.

-- 
        Lgb

Reply via email to