Bug 266889 - words crashes when moving cursor back
Summary: words crashes when moving cursor back
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 15:05 UTC by Halla Rempt
Modified: 2011-02-23 13:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2011-02-22 15:05:48 UTC
Application: words (2.4 Alpha 1)
KDE Platform Version: 4.6.00 (4.6.0) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
If I create a couple of pages and some text, and then keep backspace pressed down until all the text is gone, words crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Words (words), signal: Segmentation fault
[Current thread is 1 (Thread 0xb42aa710 (LWP 27539))]

Thread 2 (Thread 0xae93eb70 (LWP 27540)):
#0  0xb45fe22b in clock_gettime () from /lib/librt.so.1
#1  0xb573d265 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5810d26 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb580f55b in ?? () from /usr/lib/libQtCore.so.4
#4  0xb580f5fd in ?? () from /usr/lib/libQtCore.so.4
#5  0xb482a0c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb482af22 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb482b60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb580fda7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb57e089d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb57e0ac9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb56df7a9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb57c04ad in ?? () from /usr/lib/libQtCore.so.4
#13 0xb56e239a in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5667b25 in start_thread () from /lib/libpthread.so.0
#15 0xb549246e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb42aa710 (LWP 27539)):
[KCrash Handler]
#7  KoTextShapeData::endPosition (this=0x0) at /home/boud/kde/src/calligra/libs/kotext/KoTextShapeData.cpp:151
#8  0xaf1bc023 in TextTool::mouseMoveEvent (this=0xa1976b0, event=0xbfcf9c44) at /home/boud/kde/src/calligra/plugins/textshape/TextTool.cpp:959
#9  0xb754d635 in KoToolProxy::mouseMoveEvent (this=0xa0db440, event=0xbfcfa304, point=...) at /home/boud/kde/src/calligra/libs/flake/KoToolProxy.cpp:249
#10 0xb1bc1659 in KWCanvas::mouseMoveEvent (this=0xa086ad0, e=0xbfcfa304) at /home/boud/kde/src/calligra/words/part/KWCanvas.cpp:85
#11 0xb5e4870c in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb1bc17e7 in KWCanvas::event (this=0xa086ad0, e=0xbfcfa304) at /home/boud/kde/src/calligra/words/part/KWCanvas.cpp:112
#13 0xb5ded414 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb5df6c90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb68ab6c1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0xb57e15be in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0xb5dee4bc in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#18 0xb5e7a4ac in ?? () from /usr/lib/libQtGui.so.4
#19 0xb5e795ce in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb5ea3db0 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb482ab49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb482b350 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb482b60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb580fd5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0xb5ea39aa in ?? () from /usr/lib/libQtGui.so.4
#26 0xb57e089d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb57e0ac9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb57e5570 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0xb5deb114 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0xb7875955 in kdemain (argc=1, argv=0xbfcfac44) at /home/boud/kde/src/calligra/words/part/main.cpp:38
#31 0x080487db in main (argc=1, argv=0xbfcfac44) at /home/boud/kde/build/calligra/words/part/words_dummy.cpp:3

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-02-23 13:53:25 UTC
Fixed with e8f3c1ce49677abfa820609cedfc877644f72bcf .