Here's a recipe for a crash with lyx-140 patch with Martin's speedup patch (x.diff as of 9/29).

Type some arbitrary text. Below this, create an inset in a paragraph all by itself; set this paragraph to have no indentation. Place the cursor at the end of the line immediately above the inset. Press return to create a new paragraph, and then down-arrow: crash.

Note that the inset must be in a paragraph set with no indentation.

Here's the backtrace:

#0  0x9004a12c in kill ()
#1  0x90120954 in abort ()
#2  0x001348cc in lyx::support::abort () at abort.C:22
#3  0x0004b4e8 in LCursor::anchor (this=0xbfffd2f0) at dociterator.h:84
#4 0x000c975c in LyXText::deleteEmptyParagraphMechanism (this=0xc8f9764, [EMAIL PROTECTED], [EMAIL PROTECTED]) at cursor_slice.h:69 #5 0x000c9198 in LyXText::cursorDown (this=0xc8f9764, [EMAIL PROTECTED]) at text2.C:1113 #6 0x000cb028 in LyXText::dispatch (this=0xc8f9764, [EMAIL PROTECTED], [EMAIL PROTECTED]) at text3.C:468 #7 0x0004ac28 in LCursor::dispatch (this=0xb44ff84, [EMAIL PROTECTED]) at dociterator.h:86 #8 0x00079830 in LyXFunc::dispatch (this=0xb44f750, [EMAIL PROTECTED]) at lyxfunc.C:1548 #9 0x000724ec in LyXFunc::processKeySym (this=0xb44f750, keysym={px = 0xf9f9ed0, pn = {pi_ = 0xf9fb7e0}}, state=none) at lyxfunc.C:326 #10 0x000088e4 in BufferView::Pimpl::workAreaKeyPress (this=0xb44feb0, key=Cannot access memory at address 0x0
) at frontends/LyXView.h:83
#11 0x00649a00 in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<v oid, boost::_mfi::mf2<void, BufferView::Pimpl, boost::shared_ptr<LyXKeySym>, key_modifier::state>, boost::_bi::list3<boost::_bi::value<BufferView::Pimpl*>, boost::arg<1>, boost::arg<2> > >, void, boost::shared_ptr<LyXKeySym>, key_modifier::state>::invoke (function_obj_ptr={obj_ptr = 0x0, const_obj_ptr = 0x0, func_ptr = 0, data = ""}, a0={px = 0x132f, pn = {pi_ = 0x0}}, a1=none) at ../boost/boost/detail/shared_count.hpp:124 #12 0x0071721c in boost::function2<void, boost::shared_ptr<LyXKeySym>, key_modifier::state, std::allocator<void> >::operator() (this=0xb452934, a0={px = 0xf9f9ed0, pn = {pi_ = 0xf9fb7e0}}, a1=none) at ../../../boost/boost/ detail/shared_count.hpp:124 #13 0x00716d88 in boost::operator+ +<boost::signals::detail::slot_call_iterator<boost::signals::detail::cal l_bound2<void>::caller<boost::shared_ptr<LyXKeySym>, key_modifier::state, boost::function<void () (boost::shared_ptr<LyXKeySym>, key_modifier::state), 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/detail/shared_count.hpp:124 #14 0x00716250 in boost::signal2<void, boost::shared_ptr<LyXKeySym>, key_modifier::state, boost::last_value<void>, int, std::less<int>, boost::function<void ()(boost::shared_ptr<LyXKeySym>, key_modifier::state), std::allocator<void> > >::operator() (this=0xbfffe590, a1={px = 0xb42bf00, pn = {pi_ = 0xa072a508}}, a2=3221218784) at ../../../boost/boost/iterator/iterator_facade.hpp:152 #15 0x00363490 in QContentPane::keyeventTimeout (this=0xb4507b0) at / Users/bennett/lyx/gcc-3.3/qt-mac-free-3.3.5/include/qevent.h:254 #16 0x00457584 in QContentPane::qt_invoke (this=0xb4507b0, _id=47, _o=0xbfffe820) at QContentPane_moc.C:91 #17 0x001e08b8 in QObject::activate_signal () at ControlCommandBuffer.C:137 #18 0x001e07a0 in QObject::activate_signal () at ControlCommandBuffer.C:137
#19 0x002f8570 in QTimer::event () at GraphicsCacheItem.C:443
#20 0x001c7a48 in QApplication::internalNotify () at /usr/include/gcc/ darwin/3.3/c++/bits/stl_alloc.h:656 #21 0x001c7640 in QApplication::notify () at /usr/include/gcc/darwin/ 3.3/c++/bits/stl_alloc.h:656
#22 0x00368f2c in QEventLoop::macHandleTimer () at fileiter.cpp:875
#23 0x0022f46c in QApplication::globalEventProcessor () at lcolorcache.C:40
#24 0x931288d4 in DispatchEventToHandlers ()
#25 0x9312802c in SendEventToEventTargetInternal ()
#26 0x93127ea8 in SendEventToEventTargetWithOptions ()
#27 0x9312f1ec in ToolboxEventDispatcherHandler ()
#28 0x93128b24 in DispatchEventToHandlers ()
#29 0x9312802c in SendEventToEventTargetInternal ()
#30 0x9312edb0 in SendEventToEventTarget ()
#31 0x0022ec10 in qt_mac_send_event () at lcolorcache.C:40
#32 0x00369e3c in QEventLoop::processEvents () at fileiter.cpp:875
#33 0x003476e4 in QEventLoop::enterLoop () at GraphicsCacheItem.C:443
#34 0x003475d0 in QEventLoop::exec () at GraphicsCacheItem.C:443
#35 0x00171948 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:253 #36 0x00065e48 in LyX::priv_exec (this=0xb406e60, [EMAIL PROTECTED], argv=0xbffff820) at lyx_main.C:282 #37 0x0006507c in LyX::exec ([EMAIL PROTECTED], argv=0xbffff820) at ../ boost/boost/scoped_ptr.hpp:93
#38 0x00002a38 in main (argc=1, argv=0xbffff820) at main.C:47

Bennett

Reply via email to