Pavel Sanda wrote: > Pavel Sanda wrote: > > hi, > > i get regular crashes with branch lately. just scrolling with mouse > > wheel through the document without single touch on the keyboard. > > it crashes so often that i have problem to produce some example file.... ;) > once it get frozen and killing lead to this backtrace: > > [Switching to Thread 0xb6dc2700 (LWP 27669)] > std::fill_n<__gnu_cxx::__normal_iterator<int*, std::vector<int, > std::allocator<int> > >, unsigned int, int> (__first= > {_M_current = 0x8d26860}, __n=266, __val...@0xbfaef4d8) > at > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_algobase.h:618 > 618 *__first = __tmp; > (gdb) > (gdb) bt
after cont i get another SIGSEGV with the following bt: Program received signal SIGSEGV, Segmentation fault. 0xb6fc333a in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (gdb) bt #0 0xb6fc333a in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 #1 0x08642944 in lyx::support::FileName::absFilename (this=0x8a2b758) at FileName.cpp:201 #2 0x08647b30 in lyx::support::operator< (l...@0x8a2b758, r...@0xbfaeede0) at FileName.cpp:1019 #3 0x0861cfc0 in std::_Rb_tree<lyx::support::FileName, std::pair<lyx::support::FileName const, boost::shared_ptr<lyx::graphics::CacheItem> >, std::_Select1st<std::pair<lyx::support::FileName const, boost::shared_ptr<lyx::graphics::CacheItem> > >, std::less<lyx::support::FileName>, std::allocator<std::pair<lyx::support::FileName const, boost::shared_ptr<lyx::graphics::CacheItem> > > >::find (this=0x8aa06d0, _...@0xbfaeede0) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_function.h:227 #4 0x0861c604 in lyx::graphics::Cache::remove (this=0x8871660, fi...@0xbfaeede0) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_map.h:534 #5 0x08629790 in lyx::graphics::Loader::Impl::resetFile (this=0x8bb38c8, fi...@0xbfaeee64) at graphics/GraphicsLoader.cpp:365 #6 0x08629f21 in ~Impl (this=0x8bb38c8) at graphics/GraphicsLoader.cpp:343 #7 0x0862a0dc in ~Loader (this=0x8bb38b4) at graphics/GraphicsLoader.cpp:234 #8 0x0862d7d2 in ~Impl (this=0x8bb38a0) at graphics/PreviewImage.cpp:107 #9 0x0862d822 in ~PreviewImage (this=0x8bb2f80) at graphics/PreviewImage.cpp:63 #10 0x08633dd7 in boost::detail::sp_counted_impl_p<lyx::graphics::PreviewImage>::dispose (this=0x5c005c) at ../boost/boost/checked_delete.hpp:34 #11 0x0863591e in std::_Rb_tree<std::string, std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> >, std::_Select1st<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > >, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > > >::_M_erase (this=0x8b35110, __x=0x8bb3dd0) at ../boost/boost/detail/sp_counted_base_nt.hpp:79 #12 0x086358f6 in std::_Rb_tree<std::string, std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> >, std::_Select1st<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > >, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > > >::_M_erase (this=0x8b35110, __x=0x8bba630) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_tree.h:1264 #13 0x086358f6 in std::_Rb_tree<std::string, std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> >, std::_Select1st<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > >, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > > >::_M_erase (this=0x8b35110, __x=0x8bc3850) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_tree.h:1264 #14 0x086358f6 in std::_Rb_tree<std::string, std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> >, std::_Select1st<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > >, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > > >::_M_erase (this=0x8b35110, __x=0x8badfe0) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_tree.h:1264 #15 0x086358f6 in std::_Rb_tree<std::string, std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> >, std::_Select1st<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > >, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<lyx::graphics::PreviewImage> > > >::_M_erase (this=0x8b35110, __x=0x8bb1410) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_tree.h:1264 #16 0x086332a8 in ~Impl (this=0x8b350f0) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_tree.h:578 #17 0x08633372 in ~PreviewLoader (this=0x8b350e0) at graphics/PreviewLoader.cpp:268 #18 0x08639377 in boost::detail::sp_counted_impl_p<lyx::graphics::PreviewLoader>::dispose (this=0x5c005c) at ../boost/boost/checked_delete.hpp:34 #19 0x086393d2 in std::_Rb_tree<lyx::Buffer const*, std::pair<lyx::Buffer const* const, boost::shared_ptr<lyx::graphics::PreviewLoader> >, std::_Select1st<std::pair<lyx::Buffer const* const, boost::shared_ptr<lyx::graphics::PreviewLoader> > >, std::less<lyx::Buffer const*>, std::allocator<std::pair<lyx::Buffer const* const, boost::shared_ptr<lyx::graphics::PreviewLoader> > > >::_M_erase (this=0x88717f8, __x=0x8b35220) at ../boost/boost/detail/sp_counted_base_nt.hpp:79 #20 0x08638a89 in __tcf_0 () at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_tree.h:578 #21 0xb6df1bac in exit () from /lib/libc.so.6 #22 0x0814bccd in error_handler (err_sig=15) at LyX.cpp:635 #23 <signal handler called> #24 std::fill_n<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, unsigned int, int> (__first= {_M_current = 0x8d26860}, __n=266, __val...@0xbfaef4d8) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_algobase.h:618 #25 0x0821fdb0 in std::__uninitialized_fill_n_a<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, unsigned int, int, int> (__first={_M_current = 0x8d26860}, __n=500, _...@0xbfaef4d8) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_uninitialized.h:183 #26 0x0821ffdd in std::vector<int, std::allocator<int> >::_M_fill_insert (this=0xbfaef5f4, __position={_M_current = 0x0}, __n=500, _...@0xbfaef4d8) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/vector.tcc:365 #27 0x0821fa43 in lyx::Bidi::computeTables (this=0xbfaef5e4, p...@0x8b21c00, b...@0x8a7df70, r...@0x8c98bd0) at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h:658 ---Type <return> to continue, or q <return> to quit--- #28 0x081f20c6 in lyx::TextMetrics::cursorX (this=0x8ca4c24, s...@0x8bebf50, boundary=false) at TextMetrics.cpp:1576 #29 0x08221f63 in lyx::BufferView::coordOffset (this=0x8b34d90, d...@0x8b34e28, boundary=false) at BufferView.cpp:2258 #30 0x08222021 in lyx::BufferView::getPos (this=0x8b34d90, d...@0x8b34e28, boundary=false) at BufferView.cpp:2280 #31 0x0823eb8f in lyx::Cursor::getPos (this=0x8b34e28, x...@0xbfaefa34, y...@0xbfaefa30) at Cursor.cpp:428 #32 0x082425f4 in lyx::Cursor::upDownInText (this=0x8b34e28, up=true, updateneed...@0xbfaefd23) at Cursor.cpp:1763 #33 0x081d67ea in lyx::Text::dispatch (this=0x8b7c714, c...@0x8b34e28, c...@0xbfaf04c0) at Text3.cpp:676 #34 0x083ff86e in lyx::InsetText::doDispatch (this=0x8b7c700, c...@0x8b34e28, c...@0xbfaf04c0) at insets/InsetText.cpp:261 #35 0x0830aa54 in lyx::Inset::dispatch (this=0x8b7c700, c...@0x8b34e28, c...@0xbfaf04c0) at insets/Inset.cpp:215 #36 0x08243aa8 in lyx::Cursor::dispatch (this=0x8b34e28, cm...@0xbfaf0518) at Cursor.cpp:316 #37 0x082485a1 in lyx::Cursor::up (this=0x8b34e28) at Cursor.cpp:1421 #38 0x0822f31e in lyx::BufferView::dispatch (this=0x8b34d90, c...@0xbfaf1674) at BufferView.cpp:1501 #39 0x0816f123 in lyx::LyXFunc::dispatch (this=0x88a0980, c...@0xbfaf1674) at LyXFunc.cpp:1729 #40 0x08170cae in lyx::LyXFunc::processKeySym (this=0x88a0980, keys...@0xbfaf1768, state=lyx::ShiftModifier) at LyXFunc.cpp:388 #41 0x0846741b in lyx::frontend::GuiWorkArea::processKeySym (this=0x8b33030, k...@0xbfaf1768, mod=lyx::ShiftModifier) at GuiWorkArea.cpp:431 #42 0x0846ad59 in lyx::frontend::GuiWorkArea::keyPressEvent (this=0x8b33030, ev=0xbfaf1d54) at GuiWorkArea.cpp:857 #43 0xb769ff5d in QWidget::event () from /usr/lib/qt4/libQtGui.so.4 #44 0xb79f85c3 in QFrame::event () from /usr/lib/qt4/libQtGui.so.4 #45 0xb7a7c71f in QAbstractScrollArea::event () from /usr/lib/qt4/libQtGui.so.4 #46 0x0846b23a in lyx::frontend::GuiWorkArea::event (this=0xbfaf1d54, e=0x8b33128) at GuiWorkArea.cpp:629 #47 0xb765733f in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4 #48 0xb765ea3e in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4 #49 0x0842fc6b in lyx::frontend::GuiApplication::notify (this=0x88a0968, receiver=0x8b33030, event=0xbfaf1d54) at GuiApplication.cpp:1276 #50 0xb724f95a in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4 #51 0xb7657a7e in ?? () from /usr/lib/qt4/libQtGui.so.4 #52 0x088a0968 in ?? () #53 0x08b33030 in ?? () #54 0xbfaf1d54 in ?? () #55 0x02000000 in ?? () #56 0xb7cfeff4 in ?? () from /usr/lib/qt4/libQtGui.so.4 #57 0xb7cfeff4 in ?? () from /usr/lib/qt4/libQtGui.so.4 #58 0xbfaf1de8 in ?? () #59 0xb76db9db in ?? () from /usr/lib/qt4/libQtGui.so.4 #60 0x08b33030 in ?? () #61 0xbfaf1d54 in ?? () #62 0x01000016 in ?? () #63 0xbfaf1dd4 in ?? () #64 0xbfaf1ffc in ?? () #65 0x00000000 in ?? ()