Bug 278598 - crash in qtextframe::iterator::operator++()
Summary: crash in qtextframe::iterator::operator++()
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 2.7.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
: 298886 304132 309173 331908 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-27 05:36 UTC by Kubuntiac
Modified: 2015-01-31 01:39 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kubuntiac 2011-07-27 05:36:31 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:
I'd just been playing around with the spacing of the formatting of a bunch of bullet points. I also experimented with adding a prefix and postfix of X and V respectively. Then I inserted a page break and started trying to edit a paragraph of text on the new page.

- Unusual behavior I noticed:
It didn't seem possible to select the text on the new page (after the bullet points). Things seemed to work normally before the bullets (on the previous page). After the bullets though (on the next page) it appeared that there wasn't any screen redraw happening and after trying to select half the paragraph it either didn't change at all or turned into just a flat, white rectange where there should be text.

Deleting the bullets so that the text moved back to the previous page seemed to help, but then when I inserted a new page break and hit enter, the paragraph was split over *two* new pages. I deleted the space between the two parts of the paragraph, and words crashed.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xaead1b70 (LWP 7591)):
#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 7594)):
#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 1 (Thread 0xb5a96b60 (LWP 7590)):
[KCrash Handler]
#7  0xb67df365 in ?? () from /usr/lib/libQtGui.so.4
#8  0xb67dddec in QTextFrame::iterator::operator++() () from /usr/lib/libQtGui.so.4
#9  0xb1e90700 in KoTextLayoutArea::hitTest (this=0xc130fb0, p=..., accuracy=Qt::FuzzyHit) at /home/user/Apps/calligra/calligra-src/libs/textlayout/KoTextLayoutArea.cpp:162
#10 0xaf17c3d4 in TextTool::hitTest (this=0xcaa98b0, point=...) at /home/user/Apps/calligra/calligra-src/plugins/textshape/TextTool.cpp:854
#11 0xaf18546c in TextTool::mouseMoveEvent (this=0xcaa98b0, event=0xbff16f44) at /home/user/Apps/calligra/calligra-src/plugins/textshape/TextTool.cpp:898
#12 0xb23ff202 in KoToolProxy::mouseMoveEvent (this=0xca5a190, event=0xbff17614, point=...) at /home/user/Apps/calligra/calligra-src/libs/flake/KoToolProxy.cpp:272
#13 0xafa08170 in KWCanvas::mouseMoveEvent (this=0xca59928, e=0xbff17614) at /home/user/Apps/calligra/calligra-src/words/part/KWCanvas.cpp:85
#14 0xb65a9172 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xafa082f7 in KWCanvas::event (this=0xca59928, e=0xbff17614) at /home/user/Apps/calligra/calligra-src/words/part/KWCanvas.cpp:112
#16 0xb6550d24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6556201 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb76a532a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb6ff80bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb6551c3b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#21 0xb65dd04c in ?? () from /usr/lib/libQtGui.so.4
#22 0xb65db9b5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb66075f4 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb5d39aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb5d3a270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb5d3a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb702553c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb66071e5 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb6ff7289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb6ff7522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb6ffbecc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0xb654e8e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#33 0xb5520d45 in kdemain (argc=1, argv=0x9ebe710) at /home/user/Apps/calligra/calligra-src/words/part/main.cpp:43
#34 0x0804dc5f in _start ()

Reported using DrKonqi
Comment 1 Camilla Boemann 2011-09-12 17:43:22 UTC
also fixed i believe
Comment 2 Myriam Schweingruber 2012-09-04 07:46:46 UTC
Apparently not, see duplicate report.
Comment 3 Myriam Schweingruber 2012-09-04 07:47:51 UTC
*** Bug 304132 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2012-09-04 07:48:43 UTC
*** Bug 298886 has been marked as a duplicate of this bug. ***
Comment 5 Nick Shaforostoff 2013-03-01 01:05:11 UTC
calligraauthor 1:2.6.0-0ubuntu1~ubuntu12.04. have just crashed for me with this backtrace
Comment 6 Jekyll Wu 2014-03-09 15:52:58 UTC
*** Bug 331908 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2014-03-09 17:28:53 UTC
*** Bug 309173 has been marked as a duplicate of this bug. ***
Comment 8 Camilla Boemann 2015-01-31 00:20:31 UTC
we are having a hard time reproducing this bu - so if anybody have failproof way to reproduce please tell us
Comment 9 Inge Wallin 2015-01-31 01:39:00 UTC
After failing to reproduce this bug now for a long time, even after trying pretty hard, we have decided to resolve it for now.  We simply can't reproduce it and since there have been a lot of patches around the layout engine and editing it's likely that it's actually fixed.

But we welcome anybody who finds the bug again in 2.9 or newer to reopen it.  But please provide us with a way to reproduce it. :)