Bug 273945 - Words crashes when trying to type text in the second page's header/footer
Summary: Words crashes when trying to type text in the second page's header/footer
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 10:47 UTC by Halla Rempt
Modified: 2011-06-20 14:51 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-05-23 10:47:04 UTC
Application: words (2.4 Alpha 1)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-pae i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
I create a document from the Blank Document template.
Then I enabled headers and footers.
I added text to header and footer on the first page.
I created some more pages, then clicked on the header for the second page, which resulted in this crash. The same happens when clicking on the footer for the second page.

The crash can be reproduced every time.

-- Backtrace:
Application: Words (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb5929710 (LWP 4929))]

Thread 2 (Thread 0xae479b70 (LWP 4931)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb612c03e in poll () from /lib/libc.so.6
#2  0xb5ba30bb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb5b92c46 in ?? () from /lib/libglib-2.0.so.0
#4  0xb5b92fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb6f23fc7 in QEventDispatcherGlib::processEvents (this=0x84c5cb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6ef4a6d in QEventLoop::processEvents (this=0xae4792b0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6ef4c99 in QEventLoop::exec (this=0xae4792b0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6df5d49 in QThread::exec (this=0x848c020) at thread/qthread.cpp:492
#9  0xb6ed47fd in QInotifyFileSystemWatcherEngine::run (this=0x848c020) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6df8993 in QThreadPrivate::start (arg=0x848c020) at thread/qthread_unix.cpp:320
#11 0xb6d7bb05 in start_thread () from /lib/libpthread.so.0
#12 0xb6136d5e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb5929710 (LWP 4929)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb608e8df in raise () from /lib/libc.so.6
#9  0xb6090220 in abort () from /lib/libc.so.6
#10 0xb6deea7a in qt_message_output (msgType=QtFatalMsg, buf=0x87535c8 "ASSERT: \"m_textShape\" in file /home/boud/kde/src/calligra/plugins/textshape/TextTool.cpp, line 1206") at global/qglobal.cpp:2282
#11 0xb6deec7f in qt_message (msgType=QtFatalMsg, msg=0xb6f5defc "ASSERT: \"%s\" in file %s, line %d", ap=0xbfe21c94 "\a\234\264\256\030\217\264\256\266\004") at global/qglobal.cpp:2328
#12 0xb6deed98 in qFatal (msg=0xb6f5defc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#13 0xb6deee15 in qt_assert (assertion=0xaeb49c07 "m_textShape", file=0xaeb48f18 "/home/boud/kde/src/calligra/plugins/textshape/TextTool.cpp", line=1206) at global/qglobal.cpp:2027
#14 0xaeaefad2 in TextTool::ensureCursorVisible (this=0x8a4ee30) at /home/boud/kde/src/calligra/plugins/textshape/TextTool.cpp:1206
#15 0xaeaefd38 in TextTool::repaintCaret (this=0x8a4ee30) at /home/boud/kde/src/calligra/plugins/textshape/TextTool.cpp:1413
#16 0xaeaf9360 in TextTool::qt_metacall (this=0x8a4ee30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe21f3c) at /home/boud/kde/build/calligra/plugins/textshape/TextTool.moc:245
#17 0xb6efc07d in QMetaObject::metacall (object=0x8a4ee30, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0xbfe21f3c) at kernel/qmetaobject.cpp:237
#18 0xb6f0b4cc in QMetaObject::activate (sender=0x8a4ee58, m=0xb70305a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#19 0xb6f5b6a5 in QTimer::timeout (this=0x8a4ee58) at .moc/release-shared/moc_qtimer.cpp:134
#20 0xb6f12856 in QTimer::timerEvent (this=0x8a4ee58, e=0xbfe2247c) at kernel/qtimer.cpp:271
#21 0xb6f0ac04 in QObject::event (this=0x8a4ee58, e=0xbfe2247c) at kernel/qobject.cpp:1181
#22 0xb63fd684 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb6406427 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb7551901 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb6ef578e in QCoreApplication::notifyInternal (this=0xbfe22794, receiver=0x8a4ee58, event=0xbfe2247c) at kernel/qcoreapplication.cpp:731
#26 0xb6f26b89 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x8111394) at kernel/qeventdispatcher_unix.cpp:619
#28 0xb6f23885 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=0x8111800) at kernel/qeventdispatcher_glib.cpp:231
#30 0xb5b92509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0xb5b92d10 in ?? () from /lib/libglib-2.0.so.0
#32 0xb5b92fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0xb6f23f7b in QEventDispatcherGlib::processEvents (this=0x805ccb0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0xb64b41da in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6ef4a6d in QEventLoop::processEvents (this=0xbfe22724, flags=...) at kernel/qeventloop.cpp:149
#36 0xb6ef4c99 in QEventLoop::exec (this=0xbfe22724, flags=...) at kernel/qeventloop.cpp:201
#37 0xb6ef9740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0xb63fb3d4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0xb554e605 in kdemain (argc=1, argv=0x80a6f58) at /home/boud/kde/src/calligra/words/part/main.cpp:43
#40 0x0804e514 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Sauer 2011-06-15 16:56:51 UTC
Fixed with c8e59763e75d207a5f559bf1beb4ef3f2e54ba3d
Comment 2 Sebastian Sauer 2011-06-20 14:51:29 UTC
Better fix landed with 0df887c4b099125adc5e2268c8ec9aa07e528bff