Bug 253166 - textshape crash after pressing F12 like mad
Summary: textshape crash after pressing F12 like mad
Status: RESOLVED NOT A BUG
Alias: None
Product: kword
Classification: Miscellaneous
Component: tables (show other bugs)
Version: git
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-03 23:25 UTC by Adam C
Modified: 2010-10-04 14:44 UTC (History)
0 users

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 Adam C 2010-10-03 23:25:21 UTC
Application: kword (2.3 Beta 1)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.7.0
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
the textshape causes a crash, if pressing F12 like mad.

if pressing it only once, some table with foobar text opens, but if pressing it rapidly again, crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: KWord (kword), signal: Aborted
[KCrash Handler]
#5  0x00007f3546ad39e5 in raise () from /lib64/libc.so.6
#6  0x00007f3546ad4ee6 in abort () from /lib64/libc.so.6
#7  0x00007f35486fe6f4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#8  0x00007f35486fe8bd in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f3548851808 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff46a20c50)
    at global/qglobal.cpp:2305
#9  0x00007f35486fea55 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#10 0x00007f35486fea9a in qt_assert (assertion=0x7a61 <Address 0x7a61 out of bounds>, file=0x6 <Address 0x6 out of bounds>, line=-1) at global/qglobal.cpp:2004
#11 0x00007f3530f9a46e in QList<TableRect>::last (this=0x2968638) at /usr/include/QtCore/qlist.h:265
#12 0x00007f3530f99217 in TableLayout::cellBoundingRect (this=0xacf5e0, cell=...) at /home/damdam/progn/kde/koffice/plugins/textshape/TableLayout.cpp:489
#13 0x00007f3530f9914b in TableLayout::cellContentRect (this=0xacf5e0, cell=...) at /home/damdam/progn/kde/koffice/plugins/textshape/TableLayout.cpp:482
#14 0x00007f3530f7f492 in Layout::x (this=0xacf4b0) at /home/damdam/progn/kde/koffice/plugins/textshape/Layout.cpp:144
#15 0x00007f3530f83394 in Layout::handleTable (this=0xacf4b0) at /home/damdam/progn/kde/koffice/plugins/textshape/Layout.cpp:666
#16 0x00007f3530f82ef5 in Layout::nextParag (this=0xacf4b0) at /home/damdam/progn/kde/koffice/plugins/textshape/Layout.cpp:626
#17 0x00007f35391b876f in KWTextDocumentLayout::layout (this=0xf1c240) at /home/damdam/progn/kde/koffice/kword/part/frames/KWTextDocumentLayout.cpp:481
#18 0x00007f35391b66ad in KWTextDocumentLayout::relayout (this=0xf1c240) at /home/damdam/progn/kde/koffice/kword/part/frames/KWTextDocumentLayout.cpp:189
#19 0x00007f354ba5ad67 in KoTextDocumentLayout::Private::relayoutPrivate (this=0xf19f40) at /home/damdam/progn/kde/koffice/libs/kotext/KoTextDocumentLayout.cpp:113
#20 0x00007f354ba5a5e6 in KoTextDocumentLayout::qt_metacall (this=0xf1c240, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x28f61d0)
    at /home/damdam/progn/kde/koffice/qt-creatorbuild/libs/kotext/KoTextDocumentLayout.moc:86
#21 0x00007f35488057da in QObject::event (this=0xf1c240, e=<value optimized out>) at kernel/qobject.cpp:1211
#22 0x00007f354773ef34 in QApplicationPrivate::notify_helper (this=0x6317c0, receiver=0xf1c240, e=0xab0960) at kernel/qapplication.cpp:4396
#23 0x00007f354774735a in QApplication::notify (this=<value optimized out>, receiver=0xf1c240, e=0xab0960) at kernel/qapplication.cpp:4277
#24 0x00007f354936ac06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x00007f35487f19dc in QCoreApplication::notifyInternal (this=0x7fff46a230a0, receiver=0xf1c240, event=0xab0960) at kernel/qcoreapplication.cpp:732
#26 0x00007f35487f5185 in sendEvent (receiver=0x0, event_type=0, data=0x608f10) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x608f10) at kernel/qcoreapplication.cpp:1373
#28 0x00007f354881c463 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f3542094a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f3542095270 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f3542095510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f354881c5ff in QEventDispatcherGlib::processEvents (this=0x60e5a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f35477e2eee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f35487f0e12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f35487f1025 in QEventLoop::exec (this=0x7fff46a23040, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f35487f543b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x00007f354c2ff1b2 in kdemain (argc=1, argv=0x7fff46a23268) at /home/damdam/progn/kde/koffice/kword/part/main.cpp:38
#39 0x0000000000400936 in main (argc=1, argv=0x7fff46a23268) at /home/damdam/progn/kde/koffice/qt-creatorbuild/kword/part/kword_dummy.cpp:3

Reported using DrKonqi
Comment 1 Adam C 2010-10-03 23:28:02 UTC
i just noticed, that you don't have to be fast..
Comment 2 Thomas Zander 2010-10-04 14:44:29 UTC
You found a crash in dummy debug code wrapped #ifndef NDEBUG, so its not really interesting to know it crashes as it won't affect any actual users. :)
Also it uses tables which are known to not work yet, so closing.