Il 13/03/2011 21:46, Vincent van Ravesteijn ha scritto:
A backtrace would be more useful :S..
I know, sorry, but I reduced the problem to a simple test-case:

1. C-n (new document)
2. a b
3. [Shift+Left][Shift-left] (select the " b" part, including the leading space)
4. [Space]

Kaboom!

Hope this helps, and, yes I have a backtrace (enjoy):

Program received signal SIGABRT, Aborted.
0x00007ffff5f51ba5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff5f51ba5 in raise () from /lib/libc.so.6
#1  0x00007ffff5f556b0 in abort () from /lib/libc.so.6
#2 0x000000000063027c in __replacement_assert (this=0x1a053c8, __pos=2) at /usr/include/c++/4.4/x86_64-linux-gnu/bits/c++config.h:284 #3 std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator[] (this=0x1a053c8, __pos=2) at /usr/include/c++/4.4/bits/basic_string.h:743 #4 0x000000000061a372 in lyx::Paragraph::isWordSeparator (this=0x1a203e0, pos=2) at Paragraph.cpp:2852 #5 0x000000000061a4fc in lyx::Paragraph::locateWord (this=0x1a203e0, from=@0x7fffffff5ad0, to=@0x7fffffff5ad8, loc=4294967295) at Paragraph.cpp:3441 #6 0x00000000005300a0 in lyx::DocIterator::locateWord (this=<value optimized out>, loc=lyx::WHOLE_WORD) at DocIterator.cpp:201 #7 0x0000000000718e5c in lyx::Cursor::checkNewWordPosition (this=0x1a2cd68) at Cursor.cpp:563 #8 0x0000000000719046 in lyx::Cursor::resetAnchor (this=0x1a2cd68) at Cursor.cpp:506 #9 0x00000000007190c4 in lyx::Cursor::clearSelection (this=0x168f) at Cursor.cpp:1157 #10 0x000000000072b72f in lyx::cap::cutSelection (cur=..., doclear=<value optimized out>, realcut=<value optimized out>) at CutAndPaste.cpp:786 #11 0x0000000000678f1a in lyx::Text::dispatch (this=0x1a08300, cur=..., cmd=...) at Text3.cpp:1550 #12 0x000000000098c657 in lyx::InsetText::doDispatch (this=0x1a082e0, cur=..., cmd=...) at insets/InsetText.cpp:290 #13 0x0000000000876361 in lyx::Inset::dispatch (this=0x1a082e0, cur=..., cmd=...) at insets/Inset.cpp:315 #14 0x000000000071cef9 in lyx::Cursor::dispatch (this=0x1a2cd68, cmd0=...) at Cursor.cpp:370 #15 0x00000000009f8968 in lyx::frontend::GuiView::dispatchToBufferView (this=0x1693ea0, cmd=..., dr=...) at GuiView.cpp:3051 #16 0x0000000000a13804 in lyx::frontend::GuiView::dispatch (this=0x1693ea0, cmd=..., dr=...) at GuiView.cpp:3536 #17 0x00000000009d46b9 in lyx::frontend::GuiApplication::dispatch (this=0x1289560, cmd=..., dr=...) at GuiApplication.cpp:1678 #18 0x00000000009cf0ec in lyx::frontend::GuiApplication::dispatch (this=0x1289560, cmd=...) at GuiApplication.cpp:1139
#19 0x00000000005bc1cd in lyx::dispatch (action=...) at LyX.cpp:1280
#20 0x00000000009c76b2 in lyx::frontend::GuiApplication::processFuncRequest (this=<value optimized out>, func=...) at GuiApplication.cpp:1813 #21 0x00000000009ce25b in lyx::frontend::GuiApplication::processKeySym (this=0x1289560, keysym=..., state=lyx::NoModifier) at GuiApplication.cpp:1803 #22 0x0000000000a232cf in lyx::frontend::GuiWorkArea::processKeySym (this=0x1a25b90, key=..., mod=lyx::NoModifier) at GuiWorkArea.cpp:492 #23 0x0000000000a26a84 in lyx::frontend::GuiWorkArea::keyPressEvent (this=0x1a25b90, ev=0x7fffffff9700) at GuiWorkArea.cpp:1037 #24 0x00007ffff70e9cfa in QWidget::event (this=0x1a25b90, event=0x7fffffff9700) at kernel/qwidget.cpp:8222 #25 0x00007ffff74b55e6 in QFrame::event (this=0x1a25b90, e=0x7fffffff9700) at widgets/qframe.cpp:557 #26 0x00007ffff754371b in QAbstractScrollArea::event (this=0x1a25b90, e=0x7fffffff9700) at widgets/qabstractscrollarea.cpp:996 #27 0x0000000000a2384e in lyx::frontend::GuiWorkArea::event (this=0x1a25b90, e=0x168f) at GuiWorkArea.cpp:696 #28 0x00007ffff7093fdc in QApplicationPrivate::notify_helper (this=0x128a710, receiver=0x1a25b90, e=0x7fffffff9700) at kernel/qapplication.cpp:4396 #29 0x00007ffff709b346 in QApplication::notify (this=<value optimized out>, receiver=0x1a25b90, e=0x7fffffff9700) at kernel/qapplication.cpp:3857 #30 0x00000000009c964d in lyx::frontend::GuiApplication::notify (this=0x168f, receiver=0x168f, event=0x6) at GuiApplication.cpp:2198 #31 0x00007ffff6ba8cdc in QCoreApplication::notifyInternal (this=0x1289560, receiver=0x1a25b90, event=0x7fffffff9700) at kernel/qcoreapplication.cpp:732 #32 0x00007ffff71414ba in QKeyMapper::sendKeyEvent (keyWidget=0x1a25b90, grab=<value optimized out>, type=QEvent::KeyPress, code=32, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1867 #33 0x00007ffff7143ac0 in QKeyMapperPrivate::translateKeyEvent (this=0x12dcd70, keyWidget=0x1a25b90, event=<value optimized out>, grab=143) at kernel/qkeymapper_x11.cpp:1837 #34 0x00007ffff711acb4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffffffa2d0) at kernel/qapplication_x11.cpp:3429 #35 0x00007ffff71470e2 in x11EventSourceDispatch (s=0x1287860, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #36 0x00007ffff5396342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00007ffff539a2a8 in ?? () from /lib/libglib-2.0.so.0
#38 0x00007ffff539a45c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #39 0x00007ffff6bd5193 in QEventDispatcherGlib::processEvents (this=0x12411a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #40 0x00007ffff7146a4e in QGuiEventDispatcherGlib::processEvents (this=0x168f, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #41 0x00007ffff6ba7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at kernel/qeventloop.cpp:149
#42 0x00007ffff6ba7dec in QEventLoop::exec (this=0x7fffffffa600, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at kernel/qeventloop.cpp:201
#43 0x00007ffff6babebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
---Type <return> to continue, or q <return> to quit---


    T.

Reply via email to