Bug 201991

Summary: Toolbar button remove causes Akregator to crash
Product: [Frameworks and Libraries] kdelibs Reporter: Ramon Antonio Parada (brainsqueezer) <rap>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: esigra, rap
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ramon Antonio Parada (brainsqueezer) 2009-07-30 13:20:29 UTC
Application that crashed: akregator
Version of the application: 1.4.50
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.2
Operating System: Linux 2.6.30 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Steps to reproduce
0. Clean KDE and Akregator homedir using KDE4.3rc2 (Debian Sid+Experimental)
1. Open Akregator
2. Click Settings menu > Configure Toolbars..
3. Select "Main Toolbar <akregator_part>"
4. Add a button to the toolbar. Example: Add "Delete" button to the toolbar
5. Click "Apply" and "Ok"
6. Click Settings menu > Configure Toolbars..
7. Select "Main Toolbar <akregator_part>"
8. Remove previously added "Delete" button
9. Click "Apply"
10. Akregator crashes


 -- Backtrace:
Application: Akregator (akregator), signal: Aborted
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb6a993d0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6a9ca85 in *__GI_abort () at abort.c:88
#9  0xb6ad22ed in __libc_message (do_abort=2, fmt=0xb6baf328 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:173
#10 0xb6adc8f4 in malloc_printerr (action=2, str=0xb6bac204 "free(): invalid pointer", ptr=0x882c820) at malloc.c:5994
#11 0xb6ade896 in *__GI___libc_free (mem=0x882c820) at malloc.c:3625
#12 0xb6cae4b1 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#13 0xb77f99cd in QList<QObjectPrivate::Sender>::node_destruct (this=0x8194f48, sender=0x82abf60, signal=7) at ../../include/QtCore/../../src/corelib/tools/qlist.h:348
#14 QList<QObjectPrivate::Sender>::removeAt (this=0x8194f48, sender=0x82abf60, signal=7) at ../../include/QtCore/../../src/corelib/tools/qlist.h:408
#15 QObjectPrivate::derefSender (this=0x8194f48, sender=0x82abf60, signal=7) at kernel/qobject.cpp:340
#16 0xb78014de in QMetaObject::disconnect (sender=0x82abf60, signal_index=7, receiver=0x8375108, method_index=-1) at kernel/qobject.cpp:2864
#17 0xb7801c02 in QObject::disconnect (sender=0x82abf60, signal=0x0, receiver=0x8375108, method=0x0) at kernel/qobject.cpp:2683
#18 0xb726e047 in QObject::disconnect (this=0x8375108, e=0xbfd32564) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:222
#19 QMenu::actionEvent (this=0x8375108, e=0xbfd32564) at widgets/qmenu.cpp:2811
#20 0xb6e80c69 in QWidget::event (this=0x8375108, event=0xbfd32564) at kernel/qwidget.cpp:7906
#21 0xb7274121 in QMenu::event (this=0x8375108, e=0xbfd32564) at widgets/qmenu.cpp:2353
#22 0xb6e2a7d4 in QApplicationPrivate::notify_helper (this=0x8075690, receiver=0x8375108, e=0xbfd32564) at kernel/qapplication.cpp:4056
#23 0xb6e32a12 in QApplication::notify (this=0xbfd375d0, receiver=0x8375108, e=0xbfd32564) at kernel/qapplication.cpp:4021
#24 0xb7d5cebd in KApplication::notify (this=0xbfd375d0, receiver=0x8375108, event=0xbfd32564) at ../../kdeui/kernel/kapplication.cpp:302
#25 0xb77ea96b in QCoreApplication::notifyInternal (this=0xbfd375d0, receiver=0x8375108, event=0xbfd32564) at kernel/qcoreapplication.cpp:610
#26 0xb6e7490d in QCoreApplication::sendEvent (this=0x8375108, action=0x82abf60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#27 QWidget::removeAction (this=0x8375108, action=0x82abf60) at kernel/qwidget.cpp:2886
#28 0xb7e93ed2 in KXMLGUI::ActionList::unplug (this=0x8157294, container=0x8375108) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:53
#29 0xb7e95dae in KXMLGUI::ContainerNode::unplugClient (this=0x8375468, client=0x8157290) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:440
#30 0xb7e960cf in KXMLGUI::ContainerNode::unplugActions (this=0x8375468, state=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:419
#31 0xb7e9666f in KXMLGUI::ContainerNode::destruct (this=0x8375468, element=..., state=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:328
#32 0xb7e96c1f in KXMLGUI::ContainerNode::destructChildren (this=0x8371fe8, element=..., state=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:371
#33 0xb7e9665d in KXMLGUI::ContainerNode::destruct (this=0x8371fe8, element=..., state=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:326
#34 0xb7e96c1f in KXMLGUI::ContainerNode::destructChildren (this=0x8158620, element=..., state=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:371
#35 0xb7e9665d in KXMLGUI::ContainerNode::destruct (this=0x8158620, element=..., state=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:326
#36 0xb7e90bcf in KXMLGUIFactory::removeClient (this=0x81705a8, client=0x80ce014) at ../../kdeui/xmlgui/kxmlguifactory.cpp:429
#37 0xb7ccdf4f in KDEPrivate::KEditToolBarWidget::rebuildKXMLGUIClients (this=0x8589a18) at ../../kdeui/dialogs/kedittoolbar.cpp:791
#38 0xb7ccf869 in KDEPrivate::KEditToolBarWidget::save (this=0x8589a18) at ../../kdeui/dialogs/kedittoolbar.cpp:769
#39 0xb7ccfa45 in KEditToolBarPrivate::_k_slotApply (this=0x8442c88) at ../../kdeui/dialogs/kedittoolbar.cpp:613
#40 0xb7cd222b in KEditToolBar::qt_metacall (this=0xbfd34d20, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd32ae8) at ./kedittoolbar.moc:79
#41 0xb77ffad3 in QMetaObject::activate (sender=0xbfd34d20, from_signal_index=43, to_signal_index=43, argv=0x0) at kernel/qobject.cpp:3112
#42 0xb7800722 in QMetaObject::activate (sender=0xbfd34d20, m=0xb7f00544, local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3186
#43 0xb7cc38b7 in KDialog::applyClicked (this=0xbfd34d20) at ./kdialog.moc:240
#44 0xb7cc5f0a in KDialog::slotButtonClicked (this=0xbfd34d20, button=8) at ../../kdeui/dialogs/kdialog.cpp:858
#45 0xb7cc8172 in KDialog::qt_metacall (this=0xbfd34d20, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfd32cac) at ./kdialog.moc:184
#46 0xb7cd21ba in KEditToolBar::qt_metacall (this=0xbfd34d20, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfd32cac) at ./kedittoolbar.moc:71
#47 0xb77ffad3 in QMetaObject::activate (sender=0x8831f30, from_signal_index=4, to_signal_index=4, argv=0xbfd32cac) at kernel/qobject.cpp:3112
#48 0xb7800722 in QMetaObject::activate (sender=0x8831f30, m=0xb78dacf8, local_signal_index=0, argv=0xbfd32cac) at kernel/qobject.cpp:3186
#49 0xb7803343 in QSignalMapper::mapped (this=0x8831f30, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:95
#50 0xb7803bcd in QSignalMapper::map (this=0x8831f30, sender=0x84279f0) at kernel/qsignalmapper.cpp:266
#51 0xb7803dbe in QSignalMapper::map (this=0x8831f30) at kernel/qsignalmapper.cpp:257
#52 0xb780468b in QSignalMapper::qt_metacall (this=0x8831f30, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd32e2c) at .moc/release-shared/moc_qsignalmapper.cpp:81
#53 0xb77ffad3 in QMetaObject::activate (sender=0x84279f0, from_signal_index=29, to_signal_index=30, argv=0xbfd32e2c) at kernel/qobject.cpp:3112
#54 0xb77fff00 in QMetaObject::activate (sender=0x84279f0, m=0xb7693924, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfd32e2c) at kernel/qobject.cpp:3206
#55 0xb74ac951 in QAbstractButton::clicked (this=0x84279f0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#56 0xb71d8329 in QAbstractButtonPrivate::emitClicked (this=0x8676da0) at widgets/qabstractbutton.cpp:543
#57 0xb71d9f14 in QAbstractButtonPrivate::click (this=0x8676da0) at widgets/qabstractbutton.cpp:536
#58 0xb71da1a6 in QAbstractButton::mouseReleaseEvent (this=0x84279f0, e=0xbfd334cc) at widgets/qabstractbutton.cpp:1115
#59 0xb6e8073b in QWidget::event (this=0x84279f0, event=0xbfd334cc) at kernel/qwidget.cpp:7549
#60 0xb71d81ce in QAbstractButton::event (this=0x84279f0, e=0xbfd334cc) at widgets/qabstractbutton.cpp:1077
#61 0xb7281a00 in QPushButton::event (this=0x84279f0, e=0xbfd334cc) at widgets/qpushbutton.cpp:662
#62 0xb6e2a7d4 in QApplicationPrivate::notify_helper (this=0x8075690, receiver=0x84279f0, e=0xbfd334cc) at kernel/qapplication.cpp:4056
#63 0xb6e332a1 in QApplication::notify (this=0xbfd375d0, receiver=0x84279f0, e=0xbfd334cc) at kernel/qapplication.cpp:3758
#64 0xb7d5cebd in KApplication::notify (this=0xbfd375d0, receiver=0x84279f0, event=0xbfd334cc) at ../../kdeui/kernel/kapplication.cpp:302
#65 0xb77ea96b in QCoreApplication::notifyInternal (this=0xbfd375d0, receiver=0x84279f0, event=0xbfd334cc) at kernel/qcoreapplication.cpp:610
#66 0xb6e3232e in QCoreApplication::sendSpontaneousEvent (receiver=0x84279f0, event=0xbfd334cc, alienWidget=0x84279f0, nativeWidget=0xbfd34d20, buttonDown=0xb76a0aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#67 QApplicationPrivate::sendMouseEvent (receiver=0x84279f0, event=0xbfd334cc, alienWidget=0x84279f0, nativeWidget=0xbfd34d20, buttonDown=0xb76a0aa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#68 0xb6ea0e55 in QETWidget::translateMouseEvent (this=0xbfd34d20, event=0xbfd34a7c) at kernel/qapplication_x11.cpp:4409
#69 0xb6ea0336 in QApplication::x11ProcessEvent (this=0xbfd375d0, event=0xbfd34a7c) at kernel/qapplication_x11.cpp:3428
#70 0xb6eca842 in x11EventSourceDispatch (s=0x8079100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#71 0xb59d8368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#72 0xb59db8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#73 0xb59dba48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#74 0xb78157f8 in QEventDispatcherGlib::processEvents (this=0x80568d0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#75 0xb6ec9f85 in QGuiEventDispatcherGlib::processEvents (this=0x80568d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#76 0xb77e8fba in QEventLoop::processEvents (this=0xbfd34cdc, flags=...) at kernel/qeventloop.cpp:149
#77 0xb77e9402 in QEventLoop::exec (this=0xbfd34cdc, flags=...) at kernel/qeventloop.cpp:201
#78 0xb730f143 in QDialog::exec (this=0xbfd34d20) at dialogs/qdialog.cpp:498
#79 0x08050f78 in Akregator::MainWindow::optionsConfigureToolbars (this=0x80cdfe0) at ../../../akregator/src/mainwindow.cpp:172
#80 0x080512b0 in Akregator::MainWindow::qt_metacall (this=0x80cdfe0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd34e6c) at ./mainwindow.moc:126
#81 0xb77ffad3 in QMetaObject::activate (sender=0x8157fa0, from_signal_index=5, to_signal_index=6, argv=0xbfd34e6c) at kernel/qobject.cpp:3112
#82 0xb77fff00 in QMetaObject::activate (sender=0x8157fa0, m=0xb76826c8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfd34e6c) at kernel/qobject.cpp:3206
#83 0xb6e242d1 in QAction::triggered (this=0x8157fa0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#84 0xb6e2581f in QAction::activate (this=0x8157fa0, event=QAction::Trigger) at kernel/qaction.cpp:1160
#85 0xb726ac94 in QMenuPrivate::activateCausedStack (this=0x8798b98, causedStack=..., action=0x8157fa0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#86 0xb727139b in QMenuPrivate::activateAction (this=0x8798b98, action=0x8157fa0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#87 0xb7271ee2 in QMenu::mouseReleaseEvent (this=0x8428910, e=0xbfd3564c) at widgets/qmenu.cpp:2254
#88 0xb7e431d5 in KMenu::mouseReleaseEvent (this=0x8428910, e=0xbfd3564c) at ../../kdeui/widgets/kmenu.cpp:456
#89 0xb6e8073b in QWidget::event (this=0x8428910, event=0xbfd3564c) at kernel/qwidget.cpp:7549
#90 0xb7274121 in QMenu::event (this=0x8428910, e=0xbfd3564c) at widgets/qmenu.cpp:2353
#91 0xb6e2a7d4 in QApplicationPrivate::notify_helper (this=0x8075690, receiver=0x8428910, e=0xbfd3564c) at kernel/qapplication.cpp:4056
#92 0xb6e332a1 in QApplication::notify (this=0xbfd375d0, receiver=0x8428910, e=0xbfd3564c) at kernel/qapplication.cpp:3758
#93 0xb7d5cebd in KApplication::notify (this=0xbfd375d0, receiver=0x8428910, event=0xbfd3564c) at ../../kdeui/kernel/kapplication.cpp:302
#94 0xb77ea96b in QCoreApplication::notifyInternal (this=0xbfd375d0, receiver=0x8428910, event=0xbfd3564c) at kernel/qcoreapplication.cpp:610
#95 0xb6e3232e in QCoreApplication::sendSpontaneousEvent (receiver=0x8428910, event=0xbfd3564c, alienWidget=0x0, nativeWidget=0x8428910, buttonDown=0xb76a0aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#96 QApplicationPrivate::sendMouseEvent (receiver=0x8428910, event=0xbfd3564c, alienWidget=0x0, nativeWidget=0x8428910, buttonDown=0xb76a0aa0, lastMouseReceiver=...) at kernel/qapplication.cpp:2924
#97 0xb6ea109f in QETWidget::translateMouseEvent (this=0x8428910, event=0xbfd36bfc) at kernel/qapplication_x11.cpp:4343
#98 0xb6ea0336 in QApplication::x11ProcessEvent (this=0xbfd375d0, event=0xbfd36bfc) at kernel/qapplication_x11.cpp:3428
#99 0xb6eca842 in x11EventSourceDispatch (s=0x8079100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#100 0xb59d8368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#101 0xb59db8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#102 0xb59dba48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#103 0xb78157f8 in QEventDispatcherGlib::processEvents (this=0x80568d0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#104 0xb6ec9f85 in QGuiEventDispatcherGlib::processEvents (this=0x80568d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#105 0xb77e8fba in QEventLoop::processEvents (this=0xbfd36e5c, flags=...) at kernel/qeventloop.cpp:149
#106 0xb77e9402 in QEventLoop::exec (this=0xbfd36e5c, flags=...) at kernel/qeventloop.cpp:201
#107 0xb7273f91 in QMenu::exec (this=0x8428910, p=..., action=0x0) at widgets/qmenu.cpp:1993
#108 0xb7e7a3d5 in KToolBar::contextMenuEvent (this=0x82d9c10, event=0x837d188) at ../../kdeui/widgets/ktoolbar.cpp:763
#109 0xb6e80e24 in QWidget::event (this=0x82d9c10, event=0x837d188) at kernel/qwidget.cpp:7708
#110 0xb72b7b57 in QToolBar::event (this=0x82d9c10, event=0x837d188) at widgets/qtoolbar.cpp:1193
#111 0xb6e2a7d4 in QApplicationPrivate::notify_helper (this=0x8075690, receiver=0x82d9c10, e=0x837d188) at kernel/qapplication.cpp:4056
#112 0xb6e32e6d in QApplication::notify (this=0xbfd375d0, receiver=0x82d9c10, e=0x837d188) at kernel/qapplication.cpp:3845
#113 0xb7d5cebd in KApplication::notify (this=0xbfd375d0, receiver=0x82d9c10, event=0x837d188) at ../../kdeui/kernel/kapplication.cpp:302
#114 0xb77ea96b in QCoreApplication::notifyInternal (this=0xbfd375d0, receiver=0x82d9c10, event=0x837d188) at kernel/qcoreapplication.cpp:610
#115 0xb77eb5ae in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8056b80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#116 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8056b80) at kernel/qcoreapplication.cpp:1247
#117 0xb77eb78d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#118 0xb7815baf in QCoreApplication::sendPostedEvents (s=0x8078c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#119 postEventSourceDispatch (s=0x8078c90) at kernel/qeventdispatcher_glib.cpp:210
#120 0xb59d8368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#121 0xb59db8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#122 0xb59dba48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#123 0xb78157f8 in QEventDispatcherGlib::processEvents (this=0x80568d0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#124 0xb6ec9f85 in QGuiEventDispatcherGlib::processEvents (this=0x80568d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#125 0xb77e8fba in QEventLoop::processEvents (this=0xbfd37580, flags=...) at kernel/qeventloop.cpp:149
#126 0xb77e9402 in QEventLoop::exec (this=0xbfd37580, flags=...) at kernel/qeventloop.cpp:201
#127 0xb77eb859 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#128 0xb6e2a657 in QApplication::exec () at kernel/qapplication.cpp:3525
#129 0x0804ef61 in main (argc=) at ../../../akregator/src/main.cpp:115

Reported using DrKonqi
Comment 1 Ramon Antonio Parada (brainsqueezer) 2009-07-30 13:24:36 UTC
Crash Report Assistant asigned to akregator but I think this should be:
Product: 	 kdelibs
Component: 	kedittoolbar 
like this one:
https://bugs.kde.org/show_bug.cgi?id=201979
Comment 2 Christoph Feck 2009-08-30 14:07:13 UTC

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