Bug 270713 - Calligra Words crashes upon changing font (or font style) [QTextBlock::iterator::operator++, KoTextEditor::registerTrackedChange, KoTextEditor::insertText]
Summary: Calligra Words crashes upon changing font (or font style) [QTextBlock::iterat...
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 2.4-snapshots
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
: 270933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-11 22:22 UTC by beojan
Modified: 2014-06-05 12:22 UTC (History)
2 users (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 beojan 2011-04-11 22:22:08 UTC
Application: words (2.4 Alpha 1)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.37-ck1 i686
Distribution: Aperion 2011 (Mayfair)

-- Information about the crash:
- What I was doing when the application crashed:

Upon changing the font, from the default Bitstream Vera Sans, to Nimbus Sans, words crashes.
This may also happen with other fonts.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xade06b70 (LWP 15074)):
#0  0xb5ce3e16 in clock_gettime () from /lib/i686/cmov/librt.so.1
#1  0xb6e9faa8 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6f6d2f2 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6f6bb12 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6f6bba5 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5c4974e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0xb5c4a613 in ?? () from /lib/libglib-2.0.so.0
#7  0xb5c4ace4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0xb6f6c367 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6f3dda9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb6f3e04a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb6e464a3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb6f1f45b in ?? () from /usr/lib/libQtCore.so.4
#13 0xb6e48fd2 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5cfd955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#15 0xb61a3e7e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb59bca50 (LWP 15069)):
[KCrash Handler]
#7  0xb66edcef in ?? () from /usr/lib/libQtGui.so.4
#8  0xb6701750 in QTextBlock::iterator::operator++() () from /usr/lib/libQtGui.so.4
#9  0xb2144761 in KoTextEditor::registerTrackedChange (this=0x8a5d698, selection=..., changeType=KoGenChange::InsertChange, title=..., format=..., prevFormat=..., applyToWholeBlock=false) at /root/calligra/libs/kotext/KoTextEditor.cpp:371
#10 0xb2149d68 in KoTextEditor::insertText (this=0x8a5d698, text=...) at /root/calligra/libs/kotext/KoTextEditor.cpp:1129
#11 0xae509005 in TextTool::keyPressEvent (this=0x9149428, event=0xbf8d95d4) at /root/calligra/plugins/textshape/TextTool.cpp:1220
#12 0xb208e661 in KoToolProxy::keyPressEvent (this=0x908d968, event=0xbf8d95d4) at /root/calligra/libs/flake/KoToolProxy.cpp:369
#13 0xaf160f2f in KWCanvas::keyPressEvent (this=0x906d7a0, e=0xbf8d95d4) at /root/calligra/words/part/KWCanvas.cpp:117
#14 0xb64c8dd8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xaf160ee7 in KWCanvas::event (this=0x906d7a0, e=0xbf8d95d4) at /root/calligra/words/part/KWCanvas.cpp:112
#16 0xb646fb54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb64751e8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb7618b1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb6f3ebfb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb646dbfe in ?? () from /usr/lib/libQtGui.so.4
#21 0xb651f880 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb651fc7f in ?? () from /usr/lib/libQtGui.so.4
#23 0xb64f8712 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb6523d72 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb5c4a252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0xb5c4aa30 in ?? () from /lib/libglib-2.0.so.0
#27 0xb5c4ace4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0xb6f6c32c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb6523985 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb6f3dda9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb6f3e04a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb6f42abf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#33 0xb646d997 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#34 0xb575d975 in kdemain (argc=1, argv=0x87f6040) at /root/calligra/words/part/main.cpp:38
#35 0x0804e247 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-04-14 12:25:47 UTC
[Comment from a bug triager]
From bug 270933 (KDE SC 4.6.2, Words 2.4Alpha1):
-- Information about the crash:
I created a new blank document, typed some text, deleted some text, typed some
text, pressed ctrl-b. When I then started typing more text, Words crashed like
this.
Comment 2 Dario Andres 2011-04-14 12:25:56 UTC
*** Bug 270933 has been marked as a duplicate of this bug. ***
Comment 3 Halla Rempt 2011-08-16 11:59:15 UTC
This bug is related to the changetracking. I tried to reproduce today and couldn't reproduce the exact crash, but I found two others that happen when changetracking is enabled.
Comment 4 Camilla Boemann 2012-01-29 11:21:58 UTC
Change tracking is going to be removed from 2.4 release so not a blocker
Comment 5 Myriam Schweingruber 2012-08-31 08:22:14 UTC
Is this still valid?
Comment 6 beojan 2014-06-05 12:22:04 UTC
This bug no longer appears to exist.