Version: 2.0 beta-3 (using Devel) Compiler: GCC 4.3.2 AMD64 OS: Linux Installed from: Compiled sources I wrote a short ODT document that is attached. I always get a crash when I do this: 1. Move the cursor to the second paragraph with letters k 2. Press Delete or Backspace key
Created attachment 28773 [details] short.odt
Here is the backtace I got when I pressed Backspace Application: KWord (kword), signal SIGABRT 0x00007fbdc410fc11 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7fbdc9eaf750 (LWP 10367)): [KCrash Handler] #5 0x00007fbdc40a2225 in raise () from /lib/libc.so.6 #6 0x00007fbdc40a3743 in abort () from /lib/libc.so.6 #7 0x00007fbdc6465a45 in qt_message_output (msgType=QtFatalMsg, buf=0x7fffd1ee5d00 "ASSERT: \"i >= 0 && i < size()\" in file ../../include/QtCore/../../src/corelib/tools/qstring.h, line 650") at global/qglobal.cpp:2108 #8 0x00007fbdc6465b54 in qFatal (msg=0x7fbdc65aa8b8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2309 #9 0x00007fbdc6465f61 in qt_assert (assertion=0x7fbdc5abbe1e "i >= 0 && i < size()", file=0x7fbdc5abbdd8 "../../include/QtCore/../../src/corelib/tools/qstring.h", line=650) at global/qglobal.cpp:1878 #10 0x00007fbdc54dd871 in QString::at (this=0x12530d8, i=7) at ../../include/QtCore/../../src/corelib/tools/qstring.h:650 #11 0x00007fbdc56eea64 in QTextEngine::justify (this=0x125b780, line=@0x1c09e20) at text/qtextengine.cpp:1810 #12 0x00007fbdc56f5947 in alignLine (eng=0x125b780, line=@0x1c09e20) at text/qtextlayout.cpp:85 #13 0x00007fbdc56f6742 in QTextLine::cursorToX (this=0x7fffd1ee9f20, cursorPos=0x7fffd1ee9ed4, edge=QTextLine::Leading) at text/qtextlayout.cpp:2069 #14 0x00007fbdc56e670e in QTextLine::cursorToX (this=0x7fffd1ee9f20, cursorPos=7, edge=QTextLine::Leading) at ../../include/QtGui/../../src/gui/text/qtextlayout.h:216 #15 0x00007fbdc573e689 in QTextCursorPrivate::setX (this=0x1c04730) at text/qtextcursor.cpp:141 #16 0x00007fbdc5740624 in QTextCursor::deletePreviousChar (this=0x18c5710) at text/qtextcursor.cpp:1329 #17 0x00007fbdb7810eed in TextTool::keyPressEvent (this=0x18c56e0, event=0x7fffd1eead20) at /home/kde-devel/kde/src/koffice/plugins/textshape/TextTool.cpp:812 #18 0x00007fbdbbb2ebe4 in KoToolProxy::keyPressEvent (this=0xaa4ec0, event=0x7fffd1eead20) at /home/kde-devel/kde/src/koffice/libs/flake/KoToolProxy.cpp:294 #19 0x00007fbdbc5ec53b in KWCanvas::keyPressEvent (this=0x17af910, e=0x7fffd1eead20) at /home/kde-devel/kde/src/koffice/kword/part/KWCanvas.cpp:185 #20 0x00007fbdc5537b94 in QWidget::event (this=0x17af910, event=0x7fffd1eead20) at kernel/qwidget.cpp:7204 #21 0x00007fbdc54dffe9 in QApplicationPrivate::notify_helper (this=0x846bb0, receiver=0x17af910, e=0x7fffd1eead20) at kernel/qapplication.cpp:3809 #22 0x00007fbdc54e068d in QApplication::notify (this=0x7fffd1eebdc0, receiver=0x17af910, e=0x7fffd1eead20) at kernel/qapplication.cpp:3453 #23 0x00007fbdc73c8c7e in KApplication::notify (this=0x7fffd1eebdc0, receiver=0x17af910, event=0x7fffd1eead20) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #24 0x00007fbdc6559917 in QCoreApplication::notifyInternal (this=0x7fffd1eebdc0, receiver=0x17af910, event=0x7fffd1eead20) at kernel/qcoreapplication.cpp:589 #25 0x00007fbdc54ec129 in QCoreApplication::sendSpontaneousEvent (receiver=0x17af910, event=0x7fffd1eead20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #26 0x00007fbdc55451c8 in qt_sendSpontaneousEvent (receiver=0x17af910, event=0x7fffd1eead20) at kernel/qapplication_x11.cpp:4594 #27 0x00007fbdc557c19c in QKeyMapper::sendKeyEvent (keyWidget=0x17af910, grab=false, type=QEvent::KeyPress, code=16777219, modifiers={i = -772885952}, text=@0x7fffd1eeb1e0, autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1658 #28 0x00007fbdc557d53f in QKeyMapperPrivate::translateKeyEvent (this=0x879e20, keyWidget=0x17af910, event=0x7fffd1eeb980, grab=false) at kernel/qkeymapper_x11.cpp:1629 #29 0x00007fbdc5556122 in QApplication::x11ProcessEvent (this=0x7fffd1eebdc0, event=0x7fffd1eeb980) at kernel/qapplication_x11.cpp:3059 #30 0x00007fbdc557fbb6 in x11EventSourceDispatch (s=0x847f70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #31 0x00007fbdbfc87031 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x00007fbdbfc8a70d in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x00007fbdbfc8a8cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x00007fbdc65864ce in QEventDispatcherGlib::processEvents (this=0x842d80, flags={i = -772883392}) at kernel/qeventdispatcher_glib.cpp:325 #35 0x00007fbdc557f3db in QGuiEventDispatcherGlib::processEvents (this=0x842d80, flags={i = -772883296}) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00007fbdc6556b7f in QEventLoop::processEvents (this=0x7fffd1eebd50, flags={i = -772883200}) at kernel/qeventloop.cpp:149 #37 0x00007fbdc6556d7a in QEventLoop::exec (this=0x7fffd1eebd50, flags={i = -772883104}) at kernel/qeventloop.cpp:196 #38 0x00007fbdc655a17c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851 #39 0x00007fbdc54dfd46 in QApplication::exec () at kernel/qapplication.cpp:3337 #40 0x00007fbdc9accee4 in kdemain (argc=1, argv=0x7fffd1eebf68) at /home/kde-devel/kde/src/koffice/kword/part/main.cpp:36 #41 0x0000000000400957 in main (argc=1, argv=0x7fffd1eebf68) at /home/kde-devel/kde/build/koffice/kword/part/kword_dummy.cpp:3
Qt bug
*** Bug 180944 has been marked as a duplicate of this bug. ***
*** Bug 181840 has been marked as a duplicate of this bug. ***