Bug 278600

Summary: Words crashes every time if I insert a page break and type on the new page
Product: [Applications] calligrawords Reporter: Kubuntiac <user581>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kubuntiac 2011-07-27 05:44:27 UTC
Application: calligrawords (2.4 Alpha 3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
1. Opened a particular document (sorry, it's not a document that can be shared). It happens every time though.
2. Inserted a page break after the last text.
3. Clicked at the start of the new page.
4. Started typing.

Words crashes the moment I press the first character after clicking on the new page.

- Unusual behavior I noticed:
The image of the cursor remained (not animated) on the last page when I clicked on the new page
Crashing ;)

The crash can be reproduced every time.

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

Thread 3 (Thread 0xaeacfb70 (LWP 10339)):
#0  0xb5dd3d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6f59dd8 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb70264f2 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7024d32 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb7024dcd in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5d38fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5d39e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5d3a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb7025577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6ff7289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb6ff7522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb6f012a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb6fd8fdb in ?? () from /usr/lib/libQtCore.so.4
#13 0xb6f03da2 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5de3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0xb62a773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaccc5b70 (LWP 10340)):
#0  0xb788b424 in __kernel_vsyscall ()
#1  0xb6298f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5d4a84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5d3a1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5d3a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb7025577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6ff7289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6ff7522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6f012a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb6fd8fdb in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6f03da2 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb5de3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb62a773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5a96b60 (LWP 10338)):
[KCrash Handler]
#7  0xb67d042d in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib/libQtGui.so.4
#8  0xb1e9a7dd in cursorToX (this=0xb139490, painter=0xbff16b7c, block=...) at /usr/include/qt4/QtGui/qtextlayout.h:219
#9  KoTextLayoutArea::decorateParagraph (this=0xb139490, painter=0xbff16b7c, block=...) at /home/user/Apps/calligra/calligra-src/libs/textlayout/KoTextLayoutArea_paint.cpp:546
#10 0xb1e9bed1 in KoTextLayoutArea::paint (this=0xb139490, painter=0xbff16b7c, context=...) at /home/user/Apps/calligra/calligra-src/libs/textlayout/KoTextLayoutArea_paint.cpp:276
#11 0xaf170089 in TextShape::paintComponent (this=0xa17d200, painter=..., converter=...) at /home/user/Apps/calligra/calligra-src/plugins/textshape/TextShape.cpp:141
#12 0xb23d118e in KoShapeContainer::paint (this=0xa17d200, painter=..., converter=...) at /home/user/Apps/calligra/calligra-src/libs/flake/KoShapeContainer.cpp:157
#13 0xb23d4cbf in KoShapeManager::paintShape (this=0xa91fc30, shape=0xa17d200, painter=..., converter=..., forPrint=false) at /home/user/Apps/calligra/calligra-src/libs/flake/KoShapeManager.cpp:369
#14 0xb23d34d1 in KoShapeManagerPaintingStrategy::paint (this=0xa836e10, shape=0xa17d200, painter=..., converter=..., forPrint=false) at /home/user/Apps/calligra/calligra-src/libs/flake/KoShapeManagerPaintingStrategy.cpp:52
#15 0xb23d805f in KoShapeManager::paint (this=0xa91fc30, painter=..., converter=..., forPrint=false) at /home/user/Apps/calligra/calligra-src/libs/flake/KoShapeManager.cpp:335
#16 0xafa08797 in KWCanvasBase::paint (this=0xa91f88c, painter=..., paintRect=...) at /home/user/Apps/calligra/calligra-src/words/part/KWCanvasBase.cpp:316
#17 0xafa0b668 in KWCanvas::paintEvent (this=0xa91f878, ev=0xbff17154) at /home/user/Apps/calligra/calligra-src/words/part/KWCanvas.cpp:156
#18 0xb65a918e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xafa0b2f7 in KWCanvas::event (this=0xa91f878, e=0xbff17154) at /home/user/Apps/calligra/calligra-src/words/part/KWCanvas.cpp:112
#20 0xb6550d24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb655597b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb76a532a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb6ff80bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb65a5f0c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#25 0xb6784329 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb659b843 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#27 0xb65a97e5 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb69ba527 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb77801ec in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb77c0a8f in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#31 0xb6550d24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb655597b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb76a532a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0xb6ff80bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0xb6ffbc79 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#36 0xb6ffbe0d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#37 0xb70253c4 in ?? () from /usr/lib/libQtCore.so.4
#38 0xb5d39aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb5d3a270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb5d3a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb702553c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0xb66071e5 in ?? () from /usr/lib/libQtGui.so.4
#43 0xb6ff7289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0xb6ff7522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0xb6ffbecc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#46 0xb654e8e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#47 0xb5520d45 in kdemain (argc=1, argv=0x9ebe710) at /home/user/Apps/calligra/calligra-src/words/part/main.cpp:43
#48 0x0804dc5f in _start ()

Reported using DrKonqi
Comment 1 Camilla Boemann 2011-09-12 17:38:26 UTC
Was fixed a couple of weeks ago, I believe, please reopen if beta 1 does not fix it