Bug 194822 - Kontact: crash when attempting to configure toolbars
Summary: Kontact: crash when attempting to configure toolbars
Status: RESOLVED DUPLICATE of bug 173717
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 1.4.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 08:08 UTC by x3ri7yz02
Modified: 2009-11-20 01:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description x3ri7yz02 2009-06-01 08:08:06 UTC
Version:           1.4.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Kontact crashes when attempting to remove a buttons/icon from the toolbar.  (Additionally, note that toolbars cannot be configured - ie, asking Kontact to remove a button from the toolbar has no effect.)

To reproduce:
1. Open Kontact
2. Navigate to "Kmail" part
3. Right-click toolbar; select "Configure Toolbars"
4. Remove an icon from toolbar; click OK.
5. Crash.  

In addition, when Kontact is restarted, the removed icon is still present on the toolbar.  However, it is NOT present in the list under "configure toolbars", meaning users are unable to remove it.

Desired behaviour:
Remove icon and don't crash!
Comment 1 Christophe Marin 2009-06-01 11:54:37 UTC
If you're able to reproduce this issue, please read the following page and paste a backtrace for this crash: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 x3ri7yz02 2009-06-01 13:32:42 UTC
Backtrace pasted below as requested.

Not sure if it helps, but I noticed while reproducing this that it does not seem to crash if only icons are displayed on the taskbar.  Displaying "text under icons" and using the steps above causes the crash. 

Backtrace:



Application: Kontact (kontact), signal SIGSEGV

Thread 1 (Thread 0xb4801930 (LWP 994)):
[KCrash Handler]
#6  ~QObject (this=0x9c5a838) at kernel/qobject.cpp:819
#7  0xb6d858cf in ~QWidget (this=0x9c5a838) at kernel/qwidget.cpp:1379
#8  0xb71f5420 in ~QToolBar (this=0x9c5a838) at widgets/qtoolbar.cpp:576
#9  0xb7d311e3 in ~KToolBar (this=0x9c5a838) at ../../kdeui/widgets/ktoolbar.cpp:645
#10 0xb7d3e075 in KXMLGUIBuilder::removeContainer (this=0x9b09e70, container=0x9c5a838, parent=0x0, element=@0xbfd5f664, containerAction=0x0) at ../../kdeui/xmlgui/kxmlguibuilder.cpp:275
#11 0xb7d539e1 in KXMLGUI::ContainerNode::destruct (this=0xabade68, element={<QDomNode> = {impl = 0xbfd5f664}, <No data fields>}, state=@0x9c226f0) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:347
#12 0xb7d53b8f in KXMLGUI::ContainerNode::destructChildren (this=0x9c22760, element=@0xbfd5f730, state=@0x9c226f0) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:371
#13 0xb7d535cd in KXMLGUI::ContainerNode::destruct (this=0x9c22760, element={<QDomNode> = {impl = 0xbfd5f730}, <No data fields>}, state=@0x9c226f0) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:326
#14 0xb7d4daef in KXMLGUIFactory::removeClient (this=0x9c24718, client=0x9b09ed0) at ../../kdeui/xmlgui/kxmlguifactory.cpp:429
#15 0xb7b8bdff in KDEPrivate::KEditToolBarWidget::rebuildKXMLGUIClients (this=0xabf6588) at ../../kdeui/dialogs/kedittoolbar.cpp:789
#16 0xb7b8d729 in KDEPrivate::KEditToolBarWidget::save (this=0xabf6588) at ../../kdeui/dialogs/kedittoolbar.cpp:767
#17 0xb7b8d87b in KEditToolBarPrivate::_k_slotOk (this=0xabfb790) at ../../kdeui/dialogs/kedittoolbar.cpp:597
#18 0xb7b90113 in KEditToolBar::qt_metacall (this=0xbfd61b94, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd5f958) at ./kedittoolbar.moc:77
#19 0xb7742b98 in QMetaObject::activate (sender=0xbfd61b94, from_signal_index=45, to_signal_index=45, argv=0x0) at kernel/qobject.cpp:3120
#20 0xb7743822 in QMetaObject::activate (sender=0xbfd61b94, m=0xb7db7524, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3194
#21 0xb7b81747 in KDialog::okClicked (this=0xbfd61b94) at ./kdialog.moc:247
#22 0xb7b84268 in KDialog::slotButtonClicked (this=0xbfd61b94, button=4) at ../../kdeui/dialogs/kdialog.cpp:847
#23 0xb7b855b4 in KDialog::qt_metacall (this=0xbfd61b94, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfd5fb1c) at ./kdialog.moc:181
#24 0xb7b9008a in KEditToolBar::qt_metacall (this=0xbfd61b94, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfd5fb1c) at ./kedittoolbar.moc:70
#25 0xb7742b98 in QMetaObject::activate (sender=0xabc2ad0, from_signal_index=4, to_signal_index=4, argv=0xbfd5fb1c) at kernel/qobject.cpp:3120
#26 0xb7743822 in QMetaObject::activate (sender=0xabc2ad0, m=0xb781da58, local_signal_index=0, argv=0xbfd5fb1c) at kernel/qobject.cpp:3194
#27 0xb7745ad3 in QSignalMapper::mapped (this=0xabc2ad0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:95
#28 0xb774635d in QSignalMapper::map (this=0xabc2ad0, sender=0xa622050) at kernel/qsignalmapper.cpp:266
#29 0xb774654e in QSignalMapper::map (this=0xabc2ad0) at kernel/qsignalmapper.cpp:257
#30 0xb7746eab in QSignalMapper::qt_metacall (this=0xabc2ad0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd5fc9c) at .moc/release-shared/moc_qsignalmapper.cpp:81
#31 0xb7742b98 in QMetaObject::activate (sender=0xa622050, from_signal_index=29, to_signal_index=30, argv=0xbfd5fc9c) at kernel/qobject.cpp:3120
#32 0xb7742fd0 in QMetaObject::activate (sender=0xa622050, m=0xb75d39a4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfd5fc9c) at kernel/qobject.cpp:3214
#33 0xb73ebb11 in QAbstractButton::clicked (this=0xa622050, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#34 0xb7114a79 in QAbstractButtonPrivate::emitClicked (this=0xabdade0) at widgets/qabstractbutton.cpp:543
#35 0xb71166e4 in QAbstractButtonPrivate::click (this=0xabdade0) at widgets/qabstractbutton.cpp:536
#36 0xb7116976 in QAbstractButton::mouseReleaseEvent (this=0xa622050, e=0xbfd6033c) at widgets/qabstractbutton.cpp:1115
#37 0xb6d8a3b3 in QWidget::event (this=0xa622050, event=0xbfd6033c) at kernel/qwidget.cpp:7521
#38 0xb711491e in QAbstractButton::event (this=0xa622050, e=0xbfd6033c) at widgets/qabstractbutton.cpp:1077
#39 0xb71bf9a0 in QPushButton::event (this=0xa622050, e=0xbfd6033c) at widgets/qpushbutton.cpp:662
#40 0xb6d337bc in QApplicationPrivate::notify_helper (this=0x9a052d8, receiver=0xa622050, e=0xbfd6033c) at kernel/qapplication.cpp:4057
#41 0xb6d3c441 in QApplication::notify (this=0xbfd65c9c, receiver=0xa622050, e=0xbfd6033c) at kernel/qapplication.cpp:3759
#42 0xb7c1ab7d in KApplication::notify (this=0xbfd65c9c, receiver=0xa622050, event=0xbfd6033c) at ../../kdeui/kernel/kapplication.cpp:307
#43 0xb772ca2b in QCoreApplication::notifyInternal (this=0xbfd65c9c, receiver=0xa622050, event=0xbfd6033c) at kernel/qcoreapplication.cpp:610
#44 0xb6d3b4ae in QApplicationPrivate::sendMouseEvent (receiver=0xa622050, event=0xbfd6033c, alienWidget=0xa622050, nativeWidget=0xbfd61b94, buttonDown=0xb75e09e0, lastMouseReceiver=@0xb75e09e4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#45 0xb6daadc5 in QETWidget::translateMouseEvent (this=0xbfd61b94, event=0xbfd618ec) at kernel/qapplication_x11.cpp:4448
#46 0xb6daa266 in QApplication::x11ProcessEvent (this=0xbfd65c9c, event=0xbfd618ec) at kernel/qapplication_x11.cpp:3444
#47 0xb6dd49a2 in x11EventSourceDispatch (s=0x9a07e00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb51ae848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb51b1dab in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x09a07090 in ?? ()
#51 0x00000000 in ?? ()
Comment 3 Jaime Torres 2009-06-05 13:40:01 UTC
Looks like a kdelibs bug.
Comment 4 Christophe Marin 2009-06-06 12:20:51 UTC

*** This bug has been marked as a duplicate of bug 173717 ***