Bug 186626 - The Table shape crashes on choosing the sheet in the tool options
Summary: The Table shape crashes on choosing the sheet in the tool options
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 10:24 UTC by Michael Leupold
Modified: 2010-02-04 21:14 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 Michael Leupold 2009-03-09 10:24:15 UTC
Version:           KOffice2, Beta7 (r937167) (using Devel)
OS:                Linux
Installed from:    Compiled sources

(From Bugsquad KOfficeDay2)

1. Create a new document in KPresenter or KWord (other applications might work as well)
2. Add a Table shape
3. Choose the table editing tool
4. Click the Sheet dropdown in the Tool Options and select (the already selected) Sheet1

The application crashes.
Comment 1 Michael Leupold 2009-03-09 10:24:34 UTC
Application: KPresenter (kpresenter), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007fd992c3e4ef in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7fd9953667a0 (LWP 12479)):
[KCrash Handler]
#4  0x00007fd992fb717b in QMetaObject::cast (this=0x7fd97cb2dfc0, obj=0x17f6dc0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qmetaobject.cpp:299
#5  0x00007fd97cb56744 in qobject_cast<KSpread::Sheet*> (object=0x17f6dc0) at /home/lemma/kde/trunk/build/debug/include/QtCore/qobject.h:443
#6  0x00007fd97cb55d4a in KSpread::TableShape::setColumns (this=0x949ff0, columns=5) at /home/lemma/kde/trunk/source/koffice/kspread/shape/TableShape.cpp:118
#7  0x00007fd97cb55f08 in KSpread::TableShape::setSheet (this=0x949ff0, sheetName=@0x7fff9d500d10) at /home/lemma/kde/trunk/source/koffice/kspread/shape/TableShape.cpp:304
#8  0x00007fd97cb5a0da in KSpread::TableTool::sheetActivated (this=0x1312290, sheetName=@0x7fff9d500d10) at /home/lemma/kde/trunk/source/koffice/kspread/shape/TableTool.cpp:221
#9  0x00007fd97cb5aa11 in KSpread::TableTool::qt_metacall (this=0x1312290, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff9d500ce0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/kspread/shape/TableTool.moc:84
#10 0x00007fd992fc8aa8 in QMetaObject::activate (sender=0x14b6fa0, from_signal_index=29, to_signal_index=29, argv=0x7fff9d500ce0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3057
#11 0x00007fd992fc9e7d in QMetaObject::activate (sender=0x14b6fa0, m=0x7fd994d89020, local_signal_index=2, argv=0x7fff9d500ce0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3134
#12 0x00007fd9946a4dbd in QComboBox::activated (this=0x14b6fa0, _t1=@0x7fff9d500d10) at .moc/debug-shared/moc_qcombobox.cpp:276
#13 0x00007fd9946a606b in QComboBoxPrivate::emitActivated (this=0x14e72a0, index=@0x8a3600) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qcombobox.cpp:1189
#14 0x00007fd9946a6b9a in QComboBoxPrivate::_q_itemSelected (this=0x14e72a0, item=@0x7fff9d501140) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qcombobox.cpp:1179
#15 0x00007fd9946ad081 in QComboBox::qt_metacall (this=0x14b6fa0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff9d500f60) at .moc/debug-shared/moc_qcombobox.cpp:186
#16 0x00007fd990656768 in KComboBox::qt_metacall (this=0x14b6fa0, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x7fff9d500f60)
    at /home/lemma/kde/trunk/build/debug/build/KDE/kdelibs/kdeui/kcombobox.moc:100
#17 0x00007fd992fc8aa8 in QMetaObject::activate (sender=0x14b1f20, from_signal_index=27, to_signal_index=27, argv=0x7fff9d500f60)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3057
#18 0x00007fd992fc9e7d in QMetaObject::activate (sender=0x14b1f20, m=0x7fd994da2d40, local_signal_index=0, argv=0x7fff9d500f60)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3134
#19 0x00007fd99493c763 in QComboBoxPrivateContainer::itemSelected (this=0x14b1f20, _t1=@0x7fff9d501140) at .moc/debug-shared/moc_qcombobox_p.cpp:198
#20 0x00007fd9946a75c5 in QComboBoxPrivateContainer::eventFilter (this=0x14b1f20, o=0x11ae9c0, e=0x7fff9d5019c0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qcombobox.cpp:667
#21 0x00007fd992fb07e3 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x60e370, receiver=0x11ae9c0, event=0x7fff9d5019c0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:718
#22 0x00007fd9942853e8 in QApplicationPrivate::notify_helper (this=0x60e370, receiver=0x11ae9c0, e=0x7fff9d5019c0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4080
#23 0x00007fd9942861cc in QApplication::notify (this=0x7fff9d5029a0, receiver=0x11ae9c0, e=0x7fff9d5019c0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3786
#24 0x00007fd9905ab457 in KApplication::notify (this=0x7fff9d5029a0, receiver=0x11ae9c0, event=0x7fff9d5019c0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#25 0x00007fd992fb2278 in QCoreApplication::notifyInternal (this=0x7fff9d5029a0, receiver=0x11ae9c0, event=0x7fff9d5019c0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#26 0x00007fd994291457 in QCoreApplication::sendSpontaneousEvent (receiver=0x11ae9c0, event=0x7fff9d5019c0)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#27 0x00007fd99428a005 in QApplicationPrivate::sendMouseEvent (receiver=0x11ae9c0, event=0x7fff9d5019c0, alienWidget=0x11ae9c0, nativeWidget=0x14b1f20, buttonDown=0x7fd994dbede8, 
    lastMouseReceiver=@0x7fd994dbedf0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2940
#28 0x00007fd994304d79 in QETWidget::translateMouseEvent (this=0x14b1f20, event=0x7fff9d502570) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4359
#29 0x00007fd99430291c in QApplication::x11ProcessEvent (this=0x7fff9d5029a0, event=0x7fff9d502570) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3421
#30 0x00007fd99432f4db in x11EventSourceDispatch (s=0x611c70, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fd98e8080f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007fd98e80b396 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007fd98e80b82f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fd992fe13b0 in QEventDispatcherGlib::processEvents (this=0x60b000, flags=@0x7fff9d502810) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323
#35 0x00007fd99432ed23 in QGuiEventDispatcherGlib::processEvents (this=0x60b000, flags=@0x7fff9d502870) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007fd992faf3c4 in QEventLoop::processEvents (this=0x7fff9d502930, flags=@0x7fff9d5028d0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#37 0x00007fd992faf5d2 in QEventLoop::exec (this=0x7fff9d502930, flags=@0x7fff9d502940) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#38 0x00007fd992fb2aa8 in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:880
#39 0x00007fd99428516e in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3553
#40 0x00007fd9950e5da1 in kdemain (argc=1, argv=0x7fff9d502b58) at /home/lemma/kde/trunk/source/koffice/kpresenter/part/main.cpp:44
#41 0x00000000004007e3 in main (argc=1, argv=0x7fff9d502b58) at /home/lemma/kde/trunk/build/debug/build/koffice/kpresenter/part/kpresenter_dummy.cpp:3
Comment 2 Sebastian Sauer 2010-02-04 21:12:33 UTC
SVN commit 1085296 by sebsauer:

Fix table shape crashes on choosing the sheet in the tool options
BUG:186626


 M  +4 -0      TableShape.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1085296
Comment 3 Sebastian Sauer 2010-02-04 21:14:06 UTC
SVN commit 1085298 by sebsauer:

backport r1085296 from trunk to 2.1 branch
Fix table shape crashes on choosing the sheet in the tool options
CCBUG:186626


 M  +4 -0      TableShape.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1085298