On Saturday 22 July 2006 23:39, Lars Gullik Bjønnes wrote: > Jose' Matos <[EMAIL PROTECTED]> writes: > | On Saturday 22 July 2006 14:13, Georg Baum wrote: > | > > What is the problem with included boost there? > | > | I am using FC-5. > | > | I had the problems that Georg and Jürgen reported, as I have told > | before an easy way to me to crash lyx is: > | > | 1) insert a figure in lyx > | 2) overwrite that figure in the background > > Please, a bit more detail.
OK. Ingredients: two images: image1.jpg and image2.jpg. Steps: 1) Create a new lyx document. 2) Insert there image1.jpg. 3) in the background $ mv image2.jpg image1.jpg Just to be sure you can copy and paste this image several times, I tried 10 times and... 4) Crash. Backtrace follows attached. > | 3) crash. > > Is it the same with lyx from trunk? > (Is the boost version in 1.4.x updated to be the same as in trunk?) Yes, the backtrace follows as well. -- José Abílio
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209145648 (LWP 8437)] 0x084b7a91 in lyx::graphics::CacheItem::status (this=0x84c358e) at ../../boost/boost/scoped_ptr.hpp:94 94 BOOST_ASSERT(ptr != 0); (gdb) bt #0 0x084b7a91 in lyx::graphics::CacheItem::status (this=0x84c358e) at ../../boost/boost/scoped_ptr.hpp:94 #1 0x084c35b0 in lyx::graphics::Loader::Impl::statusChanged (this=0xa509920) at GraphicsLoader.C:260 #2 0x084c3648 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::graphics::Loader::Impl>, boost::_bi::list1<boost::_bi::value<lyx::graphics::Loader::Impl*> > >, void>::invoke (function_obj_ptr={obj_ptr = 0xa4dcac0, const_obj_ptr = 0xa4dcac0, func_ptr = 0xa4dcac0, data = "�}) at ../../boost/boost/bind/mem_fn_template.hpp:45 #3 0x08077d2d in boost::function0<void, std::allocator<void> >::operator() (this=0xa4dc79c) at ../../boost/boost/function/function_template.hpp:581 #4 0x08077d74 in boost::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, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../../boost/boost/signals/signal_template.hpp:119 #5 0x080784dd in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa50a500) at ../../boost/boost/last_value.hpp:43 #6 0x084b88a2 in lyx::graphics::CacheItem::Impl::setStatus (this=0xa50a4d0, new_status=lyx::graphics::Converting) at GraphicsCacheItem.C:256 #7 0x084b944b in lyx::graphics::CacheItem::Impl::convertToDisplayFormat (this=0xa50a4d0) at GraphicsCacheItem.C:378 #8 0x084ba31e in lyx::graphics::CacheItem::Impl::startLoading (this=0xa50a4d0) at GraphicsCacheItem.C:218 #9 0x084ba43c in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::graphics::CacheItem::Impl>, boost::_bi::list1<boost::_bi::value<lyx::graphics::CacheItem::Impl*> > >, void>::invoke (function_obj_ptr={obj_ptr = 0xa4db5e8, const_obj_ptr = 0xa4db5e8, func_ptr = 0xa4db5e8, data = "�}) at ../../boost/boost/bind/mem_fn_template.hpp:45 #10 0x08077d2d in boost::function0<void, std::allocator<void> >::operator() (this=0xa508e54) at ../../boost/boost/function/function_template.hpp:581 #11 0x08077d74 in boost::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, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../../boost/boost/signals/signal_template.hpp:119 #12 0x080784dd in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa509d80) at ../../boost/boost/last_value.hpp:43 #13 0x084d36c3 in lyx::support::FileMonitor::Impl::monitorFile (this=0xa509d50) at FileMonitor.C:180 #14 0x084d376c in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::support::FileMonitor::Impl>, boost::_bi::list1<boost::_bi::value<lyx::support::FileMonitor::Impl*> > >, void>::invoke (function_obj_ptr={obj_ptr = 0xa4d3628, const_obj_ptr = 0xa4d3628, func_ptr = 0xa4d3628, data = "("}) at ../../boost/boost/bind/mem_fn_template.hpp:45 #15 0x08077d2d in boost::function0<void, std::allocator<void> >::operator() (this=0xa4e81bc) at ../../boost/boost/function/function_template.hpp:581 #16 0x08077d74 in boost::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, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../../boost/boost/signals/signal_template.hpp:119 #17 0x080784dd in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa509d60) at ../../boost/boost/last_value.hpp:43 #18 0x0830a0f1 in Timeout::emit (this=0xa509d60) at Timeout.C:51 #19 0x083152c2 in qtTimeout::timerEvent (this=0xa522ca8) at ../../../src/frontends/Timeout.h:72 #20 0x0587ffc2 in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #21 0x05817d8b in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #22 0x058191d9 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #23 0x0580bb92 in QEventLoop::activateTimers () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #24 0x057be94f in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #25 0x05831230 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #26 0x058310f6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #27 0x0581789f in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #28 0x0837a825 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:253 #29 0x08143aff in LyX::exec2 (this=0xa2cb900, [EMAIL PROTECTED], argv=0xbfbe2b04) at lyx_main.C:298 #30 0x0837b40a in lyx_gui::exec ([EMAIL PROTECTED], argv=0xbfbe2b04) at lyx_gui.C:215 #31 0x08144d19 in LyX::priv_exec (this=0xa2cb900, [EMAIL PROTECTED], argv=0xbfbe2b04) at lyx_main.C:225 #32 0x0814522a in LyX::exec ([EMAIL PROTECTED], argv=0xbfbe2b04) at lyx_main.C:154 #33 0x08061ff8 in main (argc=1, argv=0x8b14ec83) at main.C:47
[Thread debugging using libthread_db enabled] [New Thread -1209141552 (LWP 7385)] Detaching after fork from child process 7388. Detaching after fork from child process 7389. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209141552 (LWP 7385)] call_notification (this=0xbf8772a0, [EMAIL PROTECTED]) at ../../../../boost/boost/detail/sp_counted_base_gcc_x86.hpp:66 66 ); (gdb) bt #0 call_notification (this=0xbf8772a0, [EMAIL PROTECTED]) at ../../../../boost/boost/detail/sp_counted_base_gcc_x86.hpp:66 #1 0x08074291 in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa03cec0) at ../../boost/boost/signals/signal_template.hpp:337 #2 0x084e3a27 in lyx::graphics::Loader::Impl::statusChanged (this=0xa03cea0) at GraphicsLoader.C:262 #3 0x084e48da in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::graphics::Loader::Impl>, boost::_bi::list1<boost::_bi::value<lyx::graphics::Loader::Impl*> > >, void>::invoke (function_obj_ptr={obj_ptr = 0xa024088, const_obj_ptr = 0xa024088, func_ptr = 0xa024088, data = "\210"}) at ../../boost/boost/bind/mem_fn_template.hpp:45 #4 0x08074126 in boost::function0<void, std::allocator<void> >::operator() (this=0xa079f9c) at ../../boost/boost/function/function_template.hpp:576 #5 0x08074171 in boost::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, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../../boost/boost/signals/signal_template.hpp:119 #6 0x080745ed in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa02c170) at ../../boost/boost/last_value.hpp:43 #7 0x084d8ca0 in lyx::graphics::CacheItem::Impl::setStatus (this=0xa02c140, new_status=lyx::graphics::Converting) at GraphicsCacheItem.C:256 #8 0x084da123 in lyx::graphics::CacheItem::Impl::convertToDisplayFormat (this=0xa02c140) at GraphicsCacheItem.C:378 #9 0x084db00c in lyx::graphics::CacheItem::Impl::startLoading (this=0xa02c140) at GraphicsCacheItem.C:218 #10 0x084db42a in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::graphics::CacheItem::Impl>, boost::_bi::list1<boost::_bi::value<lyx::graphics::CacheItem::Impl*> > >, void>::invoke (function_obj_ptr={obj_ptr = 0xa040a78, const_obj_ptr = 0xa040a78, func_ptr = 0xa040a78, data = "x"}) at ../../boost/boost/bind/mem_fn_template.hpp:45 #11 0x08074126 in boost::function0<void, std::allocator<void> >::operator() (this=0xa058cec) at ../../boost/boost/function/function_template.hpp:576 #12 0x08074171 in boost::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, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../../boost/boost/signals/signal_template.hpp:119 #13 0x080745ed in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa0639e0) at ../../boost/boost/last_value.hpp:43 #14 0x084f3a91 in lyx::support::FileMonitor::Impl::monitorFile (this=0xa0639b0) at FileMonitor.C:180 #15 0x084f4536 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::support::FileMonitor::Impl>, boost::_bi::list1<boost::_bi::value<lyx::support::FileMonitor::Impl*> > >, void>::invoke (function_obj_ptr={obj_ptr = 0xa028fb8, const_obj_ptr = 0xa028fb8, func_ptr = 0xa028fb8, data = ""}) at ../../boost/boost/bind/mem_fn_template.hpp:45 #16 0x08074126 in boost::function0<void, std::allocator<void> >::operator() (this=0xa0585d4) at ../../boost/boost/function/function_template.hpp:576 #17 0x08074171 in boost::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, boost::signals::detail::unusable const&, int> ([EMAIL PROTECTED]) at ../../boost/boost/signals/signal_template.hpp:119 #18 0x080745ed in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() (this=0xa0639c0) at ../../boost/boost/last_value.hpp:43 #19 0x08320ae3 in Timeout::emit (this=0xa0639c0) at Timeout.C:51 #20 0x0832bf42 in qtTimeout::timerEvent (this=0xa03c490) at ../../../src/frontends/Timeout.h:72 #21 0x0587ffc2 in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #22 0x05817d8b in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #23 0x058191d9 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #24 0x0580bb92 in QEventLoop::activateTimers () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #25 0x057be94f in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #26 0x05831230 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #27 0x058310f6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #28 0x0581789f in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #29 0x083931cb in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED], width=200, height=310, posx=4, posy=29, maximize=true) at lyx_gui.C:275 #30 0x0814978b in LyX::exec2 (this=0x9bfd590, [EMAIL PROTECTED], argv=0xbf8787a4) at lyx_main.C:344 #31 0x08393e02 in lyx_gui::exec ([EMAIL PROTECTED], argv=0xbf8787a4) at lyx_gui.C:228 #32 0x0814995c in LyX::priv_exec (this=0x9bfd590, [EMAIL PROTECTED], argv=0xbf8787a4) at lyx_main.C:225 #33 0x08149b00 in LyX::exec ([EMAIL PROTECTED], argv=0xbf8787a4) at lyx_main.C:154 #34 0x08062038 in main (argc=1, argv=0x8b14ec83) at main.C:47