Bug 278682 - Words crashes when typing text
Summary: Words crashes when typing text
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 08:32 UTC by Halla Rempt
Modified: 2011-09-12 17:41 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-07-28 08:32:06 UTC
Application: calligrawords (2.4 Alpha 3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
I was typing text, creating new pages and typing more text when this crash happened. It seems easiest to reproduce when typing text on the third or later page.

The crash can be reproduced every time.

-- Backtrace:
Application: Words (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1fee5ce760 (LWP 5320))]

Thread 2 (Thread 0x7f1fcbfec700 (LWP 5321)):
#0  0x00007f1febcc0503 in poll () from /lib64/libc.so.6
#1  0x00007f1fe8b1b114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f1fe8b1b650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f1fed2bc226 in QEventDispatcherGlib::processEvents (this=0xdcad40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1fed290832 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1fed290a45 in QEventLoop::exec (this=0x7f1fcbfebde0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1fed1a57f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1fed271f68 in QInotifyFileSystemWatcherEngine::run (this=0xd38910) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1fed1a80e5 in QThreadPrivate::start (arg=0xd38910) at thread/qthread_unix.cpp:331
#9  0x00007f1fecf17a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1febcc967d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1fee5ce760 (LWP 5320)):
[KCrash Handler]
#6  0x00007f1fec695194 in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib64/libQtGui.so.4
#7  0x00007f1fdac4212c in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0x7fffa4f75d20) at /usr/include/QtGui/qtextlayout.h:219
#8  KoTextLayoutArea::decorateParagraph (this=0xe00ad0, painter=0x7fffa4f77b80, block=...) at /home/boud/kde/src/calligra/libs/textlayout/KoTextLayoutArea_paint.cpp:546
#9  0x00007f1fdac439a8 in KoTextLayoutArea::paint (this=0xe00ad0, painter=<optimized out>, context=...) at /home/boud/kde/src/calligra/libs/textlayout/KoTextLayoutArea_paint.cpp:276
#10 0x00007f1fce908311 in TextShape::paintComponent (this=0x10d9790, painter=..., converter=<optimized out>) at /home/boud/kde/src/calligra/plugins/textshape/TextShape.cpp:141
#11 0x00007f1fdccc9d78 in KoShapeContainer::paint (this=<optimized out>, painter=..., converter=...) at /home/boud/kde/src/calligra/libs/flake/KoShapeContainer.cpp:157
#12 0x00007f1fdcccd344 in KoShapeManager::paintShape (this=0x16c2af0, shape=0x10d9790, painter=..., converter=..., forPrint=false) at /home/boud/kde/src/calligra/libs/flake/KoShapeManager.cpp:369
#13 0x00007f1fdcccbe3c in KoShapeManagerPaintingStrategy::paint (this=0x16c3160, shape=0x10d9790, painter=..., converter=..., forPrint=false) at /home/boud/kde/src/calligra/libs/flake/KoShapeManagerPaintingStrategy.cpp:52
#14 0x00007f1fdccd0aa0 in KoShapeManager::paint (this=0x16c2af0, painter=..., converter=..., forPrint=false) at /home/boud/kde/src/calligra/libs/flake/KoShapeManager.cpp:335
#15 0x00007f1fd3847fa1 in KWCanvasBase::paint (this=0x16c25a8, painter=..., paintRect=<optimized out>) at /home/boud/kde/src/calligra/words/part/KWCanvasBase.cpp:316
#16 0x00007f1fd384ab57 in KWCanvas::paintEvent (this=0x16c2580, ev=0x7fffa4f783a0) at /home/boud/kde/src/calligra/words/part/KWCanvas.cpp:156
#17 0x00007f1fec489cfe in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f1fec438194 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f1fec44074a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f1fedf37346 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f1fed2913dc in QCoreApplication::notifyInternal (this=0x7fffa4f7b630, receiver=0x16c2580, event=0x7fffa4f783a0) at kernel/qcoreapplication.cpp:787
#22 0x00007f1fec486bd2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f1fec48779f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f1fec48693a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f1fec48779f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f1fec48765c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f1fec48693a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f1fec48779f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f1fec48693a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f1fec48779f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f1fec48693a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f1fec48779f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f1fec48693a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f1fec48779f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f1fec48765c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f1fec48765c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#37 0x00007f1fec48765c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#38 0x00007f1fec48765c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#39 0x00007f1fec48693a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#40 0x00007f1fec64be31 in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007f1fec47c7f0 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#42 0x00007f1fec48a202 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f1fec84b63b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007f1fedfe0123 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#45 0x00007f1fec438194 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007f1fec44074a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00007f1fedf37346 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#48 0x00007f1fed2913dc in QCoreApplication::notifyInternal (this=0x7fffa4f7b630, receiver=0x91b480, event=0xb65a70) at kernel/qcoreapplication.cpp:787
#49 0x00007f1fed294bd5 in sendEvent (event=0xb65a70, receiver=0x91b480) at kernel/qcoreapplication.h:215
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6103e0) at kernel/qcoreapplication.cpp:1428
#51 0x00007f1fed2bc033 in sendPostedEvents () at kernel/qcoreapplication.h:220
#52 postEventSourceDispatch (s=0x7591c0) at kernel/qeventdispatcher_glib.cpp:277
#53 0x00007f1fe8b1abd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#54 0x00007f1fe8b1b3b0 in ?? () from /lib64/libglib-2.0.so.0
#55 0x00007f1fe8b1b650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#56 0x00007f1fed2bc1cf in QEventDispatcherGlib::processEvents (this=0x617ca0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#57 0x00007f1fec4ddebe in ?? () from /usr/lib64/libQtGui.so.4
#58 0x00007f1fed290832 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f1fed290a45 in QEventLoop::exec (this=0x7fffa4f7b5e0, flags=...) at kernel/qeventloop.cpp:201
#60 0x00007f1fed294e8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#61 0x00007f1fdd907d35 in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/boud/kde/src/calligra/words/part/main.cpp:43
#62 0x00000000004075c9 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-07-29 16:07:39 UTC
Something mysterious is going on there. It seems the spellchecker jumps in between to layout runs. But for whatever reason I cannot disable the spellchecker any longer (disabled in the menu)... guess we need to fix that first to be able to try to debug the bug.
Comment 2 Camilla Boemann 2011-09-12 17:41:16 UTC
I believe this was fixed, otherwise please repen