When lyx quits with an opened buffer, I get

pure virtual method called
terminate called without an active exception
Abort

Anybody else see this? The gdb backtrace is:


(gdb) run
Starting program: /home/bpeng/lyx-devel/lyx-1.5-install/usr/local/bin/lyx
[Thread debugging using libthread_db enabled]
[New Thread 182905766144 (LWP 12073)]
Detaching after fork from child process 12110.
pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
[Switching to Thread 182905766144 (LWP 12073)]
0x000000357fc2e21d in raise () from /lib64/tls/libc.so.6
(gdb) backtrace
#0  0x000000357fc2e21d in raise () from /lib64/tls/libc.so.6
#1  0x000000357fc2fa1e in abort () from /lib64/tls/libc.so.6
#2  0x00000035827b111e in __gnu_cxx::__verbose_terminate_handler ()
  from /usr/lib64/libstdc++.so.6
#3  0x00000035827af0d6 in __cxa_call_unexpected ()
  from /usr/lib64/libstdc++.so.6
#4  0x00000035827af103 in std::terminate () from /usr/lib64/libstdc++.so.6
#5  0x00000035827af66f in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6
#6  0x00000000007c398d in lyx::LyXView::setBuffer (this=0xf04648, b=0x0)
   at src/frontends/LyXView.C:109
#7  0x00000000007ca53f in
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,
boost::_mfi::mf1<void, lyx::LyXView, lyx::Buffer*>,
boost::_bi::list2<boost::_bi::value<lyx::LyXView*>,
boost::_bi::value<lyx::Buffer*> > >, void>::invoke
(function_obj_ptr=Variable "function_obj_ptr" is not available.
)
   at boost/boost/bind/mem_fn_template.hpp:162
#8  0x000000000046ce0a in boost::function0<void, std::allocator<void>
::operator() (this=Variable "this" is not available.
) at boost/boost/function/function_template.hpp:691
#9  0x000000000046cc09 in
operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void
()(), std::allocator<void> > >,
boost::signals::detail::named_slot_map_iterator>,
boost::signals::detail::unusable, boost::single_pass_traversal_tag,
const boost::signals::detail::unusable&, ptrdiff_t> ([EMAIL PROTECTED])
   at boost/boost/signals/signal_template.hpp:119
#10 0x000000000046bcd9 in
operator()<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void
()(), std::allocator<void> > >,
boost::signals::detail::named_slot_map_iterator> > (
   this=Variable "this" is not available.
) at boost/boost/last_value.hpp:43
#11 0x000000000046ad31 in boost::signal0<void,
boost::last_value<void>, int, std::less<int>, boost::function<void
()(), std::allocator<void> > >::operator() (
   this=0x116e4a8) at boost/boost/shared_ptr.hpp:314
#12 0x000000000055872e in ~Buffer (this=0x116e390) at src/buffer.C:229
#13 0x000000000058700c in lyx::BufferList::release (this=0xdfe1c8,
buf=Variable "buf" is not available.
)
   at src/bufferlist.C:179
#14 0x00000000005871e4 in lyx::BufferList::close (this=0xdfe1c8,
   buf=0x116e390, ask=false) at src/bufferlist.C:208
#15 0x000000000058715f in lyx::BufferList::closeAll (this=0xdfe1c8)
   at 
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_vector.h:521
#16 0x000000000042cdc9 in lyx::LyX::prepareExit (this=0x7fbffff390)


Bo

Reply via email to