Bug 186631 - Clicking the X ("Clear style") button in the styles docker crashes KPlato
Summary: Clicking the X ("Clear style") button in the styles docker crashes KPlato
Status: RESOLVED FIXED
Alias: None
Product: kplato
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 10:37 UTC by Michael Leupold
Modified: 2009-03-09 14:38 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:37:07 UTC
Version:           KOffice2, Beta7 (r937167) (using Devel)
OS:                Linux
Installed from:    Compiled sources

(From Bugsquad KOfficeDay2)

1. Start KPlato and create a new document
2. Show the styles docker
3. Click the red X ("Clear style") button in the styles docker
KPlato crashes
Comment 1 Michael Leupold 2009-03-09 10:37:16 UTC
Application: KPlato (kplato), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007f5f303824ef in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7f5f333a87a0 (LWP 12522)):
[KCrash Handler]
#4  0x00007f5f20f6a19e in KoCanvasBase::resourceProvider (this=0x0) at /home/lemma/kde/trunk/source/koffice/libs/flake/KoCanvasBase.cpp:68
#5  0x00007f5f1b9810e5 in KarbonStyleDocker::styleButtonPressed (this=0xadaac0, buttonId=0) at /home/lemma/kde/trunk/source/koffice/karbon/plugins/dockers/KarbonStyleDocker.cpp:251
#6  0x00007f5f1b981400 in KarbonStyleDocker::qt_metacall (this=0xadaac0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff3b521800)
    at /home/lemma/kde/trunk/build/debug/build/koffice/karbon/plugins/dockers/KarbonStyleDocker.moc:90
#7  0x00007f5f3070caa8 in QMetaObject::activate (sender=0xada210, from_signal_index=27, to_signal_index=27, argv=0x7fff3b521800)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3057
#8  0x00007f5f3070de7d in QMetaObject::activate (sender=0xada210, m=0x7f5f1b760d40, local_signal_index=0, argv=0x7fff3b521800)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3134
#9  0x00007f5f1b53f756 in KarbonStyleButtonBox::buttonPressed (this=0xada210, _t1=0) at /home/lemma/kde/trunk/build/debug/build/koffice/karbon/ui/KarbonStyleButtonBox.moc:85
#10 0x00007f5f1b53f8c2 in KarbonStyleButtonBox::qt_metacall (this=0xada210, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3b521990)
    at /home/lemma/kde/trunk/build/debug/build/koffice/karbon/ui/KarbonStyleButtonBox.moc:71
#11 0x00007f5f3070caa8 in QMetaObject::activate (sender=0xae1020, from_signal_index=5, to_signal_index=5, argv=0x7fff3b521990)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3057
#12 0x00007f5f3070de7d in QMetaObject::activate (sender=0xae1020, m=0x7f5f322ae480, local_signal_index=1, argv=0x7fff3b521990)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3134
#13 0x00007f5f31e46f16 in QButtonGroup::buttonClicked (this=0xae1020, _t1=0) at .moc/debug-shared/moc_qbuttongroup.cpp:128
#14 0x00007f5f31b971cb in QAbstractButtonPrivate::emitClicked (this=0xbc1c50) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:546
#15 0x00007f5f31b98431 in QAbstractButtonPrivate::click (this=0xbc1c50) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:536
#16 0x00007f5f31b98694 in QAbstractButton::mouseReleaseEvent (this=0xbc1c10, e=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1115
#17 0x00007f5f31c782dc in QToolButton::mouseReleaseEvent (this=0xbc1c10, e=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qtoolbutton.cpp:709
#18 0x00007f5f317ef66a in QWidget::event (this=0xbc1c10, event=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7516
#19 0x00007f5f31b9711f in QAbstractButton::event (this=0xbc1c10, e=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1077
#20 0x00007f5f31c794b2 in QToolButton::event (this=0xbc1c10, event=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qtoolbutton.cpp:1151
#21 0x00007f5f3179140d in QApplicationPrivate::notify_helper (this=0x60c860, receiver=0xbc1c10, e=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4084
#22 0x00007f5f317921cc in QApplication::notify (this=0x7fff3b523530, receiver=0xbc1c10, e=0x7fff3b522550) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3786
#23 0x00007f5f32cae457 in KApplication::notify (this=0x7fff3b523530, receiver=0xbc1c10, event=0x7fff3b522550) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#24 0x00007f5f306f6278 in QCoreApplication::notifyInternal (this=0x7fff3b523530, receiver=0xbc1c10, event=0x7fff3b522550)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#25 0x00007f5f3179d457 in QCoreApplication::sendSpontaneousEvent (receiver=0xbc1c10, event=0x7fff3b522550)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#26 0x00007f5f31796005 in QApplicationPrivate::sendMouseEvent (receiver=0xbc1c10, event=0x7fff3b522550, alienWidget=0xbc1c10, nativeWidget=0x85b5a0, buttonDown=0x7f5f322cade8, 
    lastMouseReceiver=@0x7f5f322cadf0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2940
#27 0x00007f5f31811025 in QETWidget::translateMouseEvent (this=0x85b5a0, event=0x7fff3b523100) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4425
#28 0x00007f5f3180e91c in QApplication::x11ProcessEvent (this=0x7fff3b523530, event=0x7fff3b523100) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3421
#29 0x00007f5f3183b4db in x11EventSourceDispatch (s=0x610170, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f5f2b3240f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f5f2b327396 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f5f2b32782f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f5f307253b0 in QEventDispatcherGlib::processEvents (this=0x6094a0, flags=@0x7fff3b5233a0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323
#34 0x00007f5f3183ad23 in QGuiEventDispatcherGlib::processEvents (this=0x6094a0, flags=@0x7fff3b523400) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f5f306f33c4 in QEventLoop::processEvents (this=0x7fff3b5234c0, flags=@0x7fff3b523460) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#36 0x00007f5f306f35d2 in QEventLoop::exec (this=0x7fff3b5234c0, flags=@0x7fff3b5234d0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#37 0x00007f5f306f6aa8 in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:880
#38 0x00007f5f3179116e in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3553
#39 0x00007f5f33107563 in kdemain (argc=1, argv=0x7fff3b5236d8) at /home/lemma/kde/trunk/source/koffice/kplato/main.cpp:45
#40 0x00000000004007f3 in main (argc=1, argv=0x7fff3b5236d8) at /home/lemma/kde/trunk/build/debug/build/koffice/kplato/kplato_dummy.cpp:3
Comment 2 Michael Leupold 2009-03-09 14:38:19 UTC
The latest revision of KPlato disables the styles docker. So this bug is void.