Bug 185376 - KMail crashes with signal SIGABRT when trying to modify tools bar (~QDomNodePrivate , KXMLGUIClient::setXMLGUIBuildDocument)
Summary: KMail crashes with signal SIGABRT when trying to modify tools bar (~QDomNodeP...
Status: RESOLVED DUPLICATE of bug 170806
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 184238 196213 199050 205030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-23 20:51 UTC by bou.gui
Modified: 2010-10-13 17:49 UTC (History)
6 users (show)

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 bou.gui 2009-02-23 20:51:32 UTC
Version:           1.11.0 (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-1-686

When trying to modify tools bar (remove "create a task"), KMail crashes.

[Current thread is 1 (Thread 0xb4124700 (LWP 4124))]

Thread 2 (Thread 0xb2733b90 (LWP 4471)):
#0  0xb7f6c424 in __kernel_vsyscall ()
#1  0xb64255b1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb6fcb670 in QProcessManager::run (this=0x9d47a58) at io/qprocess_unix.cpp:301
#3  0xb6efc52e in QThreadPrivate::start (arg=0x9d47a58) at thread/qthread_unix.cpp:185
#4  0xb56464e5 in start_thread (arg=0xb2733b90) at pthread_create.c:297
#5  0xb642d10e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4124700 (LWP 4124)):
[KCrash Handler]
#6  0xb7f6c424 in __kernel_vsyscall ()
#7  0xb6375640 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6377008 in *__GI_abort () at abort.c:88
#9  0xb63b9213 in malloc_printerr (action=2, str=0xb648a064 "free(): invalid pointer", ptr=0xb3be678) at malloc.c:5999
#10 0xb63bb135 in *__GI___libc_free (mem=0xb3be678) at malloc.c:3589
#11 0xb6ef6d9d in qFree (ptr=0xb3be678) at global/qmalloc.cpp:56
#12 0xb6f407c0 in QString::free (d=0xb3be678) at tools/qstring.cpp:928
#13 0xb61c01a6 in ~QDomNodePrivate (this=0xb99cb28) at ../../include/QtCore/../../src/corelib/tools/qstring.h:825
#14 0xb61cb11a in ~QDomAttrPrivate (this=0xb99cb28) at dom/qdom.cpp:356
#15 0xb61bef5f in QDomNamedNodeMapPrivate::clearMap (this=0xb99c9f8) at dom/qdom.cpp:3037
#16 0xb61bf0a5 in ~QDomNamedNodeMapPrivate (this=0xb99c9f8) at dom/qdom.cpp:3009
#17 0xb61c1441 in ~QDomElementPrivate (this=0xb999e60) at dom/qdom.cpp:4385
#18 0xb61c00e0 in ~QDomNodePrivate (this=0xa6abee8) at dom/qdom.cpp:1455
#19 0xb61c1451 in ~QDomElementPrivate (this=0xa6abee8) at dom/qdom.cpp:4386
#20 0xb61c00e0 in ~QDomNodePrivate (this=0xb993a68) at dom/qdom.cpp:1455
#21 0xb61c1451 in ~QDomElementPrivate (this=0xb993a68) at dom/qdom.cpp:4386
#22 0xb61c00e0 in ~QDomNodePrivate (this=0xb99de48) at dom/qdom.cpp:1455
#23 0xb61c0289 in ~QDomDocumentPrivate (this=0xb99de48) at dom/qdom.cpp:6144
#24 0xb61b8642 in QDomNode::operator= (this=0xa06e478, n=@0xbfe8540c) at dom/qdom.cpp:2013
#25 0xb61baa54 in QDomDocument::operator= (this=0xa06e478, x=@0xbfe8540c) at dom/qdom.cpp:6586
#26 0xb7ed04aa in KXMLGUIClient::setXMLGUIBuildDocument (this=0xa06e454, doc=@0xbfe8540c) at ../../kdeui/xmlgui/kxmlguiclient.cpp:558
#27 0xb7ed2c0f in KXMLGUIClient::setDOMDocument (this=0xa06e454, document=@0xbfe85488, merge=false) at ../../kdeui/xmlgui/kxmlguiclient.cpp:270
#28 0xb7ed354f in KXMLGUIClient::setXML (this=0xa06e454, document=@0xbfe85514, merge=<value optimized out>) at ../../kdeui/xmlgui/kxmlguiclient.cpp:236
#29 0xb7ed4110 in KXMLGUIClient::setXMLFile (this=0xa06e454, _file=@0xbfe855c0, merge=false, setXMLDoc=true) at ../../kdeui/xmlgui/kxmlguiclient.cpp:219
#30 0xb7ecc6ac in KXmlGuiWindow::createGUI (this=0xa06e420, xmlfile=@0xbfe85608) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:261
#31 0xb72b4845 in ?? () from /usr/lib/libkmailprivate.so.4
#32 0xb72b5b68 in ?? () from /usr/lib/libkmailprivate.so.4
#33 0xb7000be0 in QMetaObject::activate (sender=0xbfe86944, from_signal_index=72, to_signal_index=72, argv=0x0) at kernel/qobject.cpp:3031
#34 0xb7001962 in QMetaObject::activate (sender=0xbfe86944, m=0xb7f41628, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3101
#35 0xb7d132b7 in KEditToolBar::newToolbarConfig (this=0xbfe86944) at ./kedittoolbar.moc:96
#36 0xb7d1a3fb in KEditToolBarPrivate::_k_slotApply (this=0xb49f048) at ../../kdeui/dialogs/kedittoolbar.cpp:614
#37 0xb7d1cbcb in KEditToolBar::qt_metacall (this=0xbfe86944, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe857c8) at ./kedittoolbar.moc:78
#38 0xb7000be0 in QMetaObject::activate (sender=0xbfe86944, from_signal_index=42, to_signal_index=42, argv=0x0) at kernel/qobject.cpp:3031
#39 0xb7001962 in QMetaObject::activate (sender=0xbfe86944, m=0xb7f41464, local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3101
#40 0xb7d0e2a7 in KDialog::applyClicked (this=0xbfe86944) at ./kdialog.moc:235
#41 0xb7d10c15 in KDialog::slotButtonClicked (this=0xbfe86944, button=8) at ../../kdeui/dialogs/kdialog.cpp:847
#42 0xb7d12084 in KDialog::qt_metacall (this=0xbfe86944, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfe8598c) at ./kdialog.moc:181
#43 0xb7d1cb5a in KEditToolBar::qt_metacall (this=0xbfe86944, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfe8598c) at ./kedittoolbar.moc:70
#44 0xb7000be0 in QMetaObject::activate (sender=0xb3cfaa0, from_signal_index=4, to_signal_index=4, argv=0xbfe8598c) at kernel/qobject.cpp:3031
#45 0xb7001962 in QMetaObject::activate (sender=0xb3cfaa0, m=0xb70ce038, local_signal_index=0, argv=0xbfe8598c) at kernel/qobject.cpp:3101
#46 0xb70049f3 in QSignalMapper::mapped (this=0xb3cfaa0, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:93
#47 0xb700527d in QSignalMapper::map (this=0xb3cfaa0, sender=0xb3f1018) at kernel/qsignalmapper.cpp:271
#48 0xb700546e in QSignalMapper::map (this=0xb3cfaa0) at kernel/qsignalmapper.cpp:262
#49 0xb7005d3b in QSignalMapper::qt_metacall (this=0xb3cfaa0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe85b0c) at .moc/release-shared/moc_qsignalmapper.cpp:80
#50 0xb7000be0 in QMetaObject::activate (sender=0xb3f1018, from_signal_index=29, to_signal_index=30, argv=0xbfe85b0c) at kernel/qobject.cpp:3031
#51 0xb7000fe0 in QMetaObject::activate (sender=0xb3f1018, m=0xb6e98ac4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfe85b0c) at kernel/qobject.cpp:3121
#52 0xb6ccbb71 in QAbstractButton::clicked (this=0xb3f1018, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#53 0xb6a1eea9 in QAbstractButtonPrivate::emitClicked (this=0xb3f1238) at widgets/qabstractbutton.cpp:538
#54 0xb6a20aa4 in QAbstractButtonPrivate::click (this=0xb3f1238) at widgets/qabstractbutton.cpp:531
#55 0xb6a20d36 in QAbstractButton::mouseReleaseEvent (this=0xb3f1018, e=0xbfe861ac) at widgets/qabstractbutton.cpp:1110
#56 0xb67397c2 in QWidget::event (this=0xb3f1018, event=0xbfe861ac) at kernel/qwidget.cpp:7163
#57 0xb6a1ed4e in QAbstractButton::event (this=0xb3f1018, e=0xbfe861ac) at widgets/qabstractbutton.cpp:1072
#58 0xb6ac5630 in QPushButton::event (this=0xb3f1018, e=0xbfe861ac) at widgets/qpushbutton.cpp:652
#59 0xb66e179c in QApplicationPrivate::notify_helper (this=0x9d43f60, receiver=0xb3f1018, e=0xbfe861ac) at kernel/qapplication.cpp:3803
#60 0xb66e9fd1 in QApplication::notify (this=0xbfe887e8, receiver=0xb3f1018, e=0xbfe861ac) at kernel/qapplication.cpp:3528
#61 0xb7da677d in KApplication::notify (this=0xbfe887e8, receiver=0xb3f1018, event=0xbfe861ac) at ../../kdeui/kernel/kapplication.cpp:307
#62 0xb6fec0e1 in QCoreApplication::notifyInternal (this=0xbfe887e8, receiver=0xb3f1018, event=0xbfe861ac) at kernel/qcoreapplication.cpp:587
#63 0xb66e925e in QApplicationPrivate::sendMouseEvent (receiver=0xb3f1018, event=0xbfe861ac, alienWidget=0xb3f1018, nativeWidget=0xbfe86944, buttonDown=0xb6ea4670, lastMouseReceiver=@0xb6ea4674)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#64 0xb6752e2d in QETWidget::translateMouseEvent (this=0xbfe86944, event=0xbfe8669c) at kernel/qapplication_x11.cpp:4044
#65 0xb6751c11 in QApplication::x11ProcessEvent (this=0xbfe887e8, event=0xbfe8669c) at kernel/qapplication_x11.cpp:3162
#66 0xb677b63a in x11EventSourceDispatch (s=0x9d47670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#67 0xb49f1368 in IA__g_main_context_dispatch (context=0x9d46498) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2144
#68 0xb49f4a03 in g_main_context_iterate (context=0x9d46498, block=1, dispatch=1, self=0x9d43e48) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2778
#69 0xb49f4bc1 in IA__g_main_context_iteration (context=0x9d46498, may_block=1) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2841
#70 0xb70165e8 in QEventDispatcherGlib::processEvents (this=0x9d3c1d8, flags={i = -1075287976}) at kernel/qeventdispatcher_glib.cpp:319
#71 0xb677ad75 in QGuiEventDispatcherGlib::processEvents (this=0x9d3c1d8, flags={i = -1075287928}) at kernel/qguieventdispatcher_glib.cpp:198
#72 0xb6fea7aa in QEventLoop::processEvents (this=0xbfe868fc, flags={i = -1075287864}) at kernel/qeventloop.cpp:143
#73 0xb6fea96a in QEventLoop::exec (this=0xbfe868fc, flags={i = -1075287804}) at kernel/qeventloop.cpp:194
#74 0xb6b4a647 in QDialog::exec (this=0xbfe86944) at dialogs/qdialog.cpp:447
#75 0xb72b49d4 in ?? () from /usr/lib/libkmailprivate.so.4
#76 0xb72b5b78 in ?? () from /usr/lib/libkmailprivate.so.4
#77 0xb7000be0 in QMetaObject::activate (sender=0xa68cab0, from_signal_index=5, to_signal_index=6, argv=0xbfe86a8c) at kernel/qobject.cpp:3031
#78 0xb7000fe0 in QMetaObject::activate (sender=0xa68cab0, m=0xb6e883d8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfe86a8c) at kernel/qobject.cpp:3121
#79 0xb66db4a1 in QAction::triggered (this=0xa68cab0, _t1=false) at .moc/release-shared/moc_qaction.cpp:216
#80 0xb66dbe0f in QAction::activate (this=0xa68cab0, event=QAction::Trigger) at kernel/qaction.cpp:1125
#81 0xb6ab5294 in QMenuPrivate::activateAction (this=0xb41bc40, action=0xa68cab0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#82 0xb6ab5d22 in QMenu::mouseReleaseEvent (this=0xb41bbc8, e=0xbfe8722c) at widgets/qmenu.cpp:2169
#83 0xb7e8b835 in KMenu::mouseReleaseEvent (this=0xb41bbc8, e=0xbfe8722c) at ../../kdeui/widgets/kmenu.cpp:454
#84 0xb67397c2 in QWidget::event (this=0xb41bbc8, event=0xbfe8722c) at kernel/qwidget.cpp:7163
#85 0xb6ab8019 in QMenu::event (this=0xb41bbc8, e=0xbfe8722c) at widgets/qmenu.cpp:2265
#86 0xb66e179c in QApplicationPrivate::notify_helper (this=0x9d43f60, receiver=0xb41bbc8, e=0xbfe8722c) at kernel/qapplication.cpp:3803
#87 0xb66e9fd1 in QApplication::notify (this=0xbfe887e8, receiver=0xb41bbc8, e=0xbfe8722c) at kernel/qapplication.cpp:3528
#88 0xb7da677d in KApplication::notify (this=0xbfe887e8, receiver=0xb41bbc8, event=0xbfe8722c) at ../../kdeui/kernel/kapplication.cpp:307
#89 0xb6fec0e1 in QCoreApplication::notifyInternal (this=0xbfe887e8, receiver=0xb41bbc8, event=0xbfe8722c) at kernel/qcoreapplication.cpp:587
#90 0xb66e925e in QApplicationPrivate::sendMouseEvent (receiver=0xb41bbc8, event=0xbfe8722c, alienWidget=0x0, nativeWidget=0xb41bbc8, buttonDown=0xb6ea4670, lastMouseReceiver=@0xb6ea4674)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#91 0xb6753077 in QETWidget::translateMouseEvent (this=0xb41bbc8, event=0xbfe8771c) at kernel/qapplication_x11.cpp:3978
#92 0xb6751c11 in QApplication::x11ProcessEvent (this=0xbfe887e8, event=0xbfe8771c) at kernel/qapplication_x11.cpp:3162
#93 0xb677b63a in x11EventSourceDispatch (s=0x9d47670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#94 0xb49f1368 in IA__g_main_context_dispatch (context=0x9d46498) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2144
#95 0xb49f4a03 in g_main_context_iterate (context=0x9d46498, block=1, dispatch=1, self=0x9d43e48) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2778
#96 0xb49f4bc1 in IA__g_main_context_iteration (context=0x9d46498, may_block=1) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2841
#97 0xb70165e8 in QEventDispatcherGlib::processEvents (this=0x9d3c1d8, flags={i = -1075283752}) at kernel/qeventdispatcher_glib.cpp:319
#98 0xb677ad75 in QGuiEventDispatcherGlib::processEvents (this=0x9d3c1d8, flags={i = -1075283704}) at kernel/qguieventdispatcher_glib.cpp:198
#99 0xb6fea7aa in QEventLoop::processEvents (this=0xbfe8797c, flags={i = -1075283640}) at kernel/qeventloop.cpp:143
#100 0xb6fea96a in QEventLoop::exec (this=0xbfe8797c, flags={i = -1075283580}) at kernel/qeventloop.cpp:194
#101 0xb6ab7de1 in QMenu::exec (this=0xb41bbc8, p=@0xbfe87fdc, action=0x0) at widgets/qmenu.cpp:1938
#102 0xb7ec2175 in KToolBar::contextMenuEvent (this=0xb29c238, event=0xbfe87fc4) at ../../kdeui/widgets/ktoolbar.cpp:722
#103 0xb6739acd in QWidget::event (this=0xb29c238, event=0xbfe87fc4) at kernel/qwidget.cpp:7320
#104 0xb6af552f in QToolBar::event (this=0xb29c238, event=0xbfe87fc4) at widgets/qtoolbar.cpp:1143
#105 0xb66e179c in QApplicationPrivate::notify_helper (this=0x9d43f60, receiver=0xb29c238, e=0xbfe87fc4) at kernel/qapplication.cpp:3803
#106 0xb66e9b45 in QApplication::notify (this=0xbfe887e8, receiver=0xb29c238, e=0xbfe87fc4) at kernel/qapplication.cpp:3614
#107 0xb7da677d in KApplication::notify (this=0xbfe887e8, receiver=0xb29c238, event=0xbfe87fc4) at ../../kdeui/kernel/kapplication.cpp:307
#108 0xb6fec0e1 in QCoreApplication::notifyInternal (this=0xbfe887e8, receiver=0xb29c238, event=0xbfe87fc4) at kernel/qcoreapplication.cpp:587
#109 0xb66ec75e in QCoreApplication::sendSpontaneousEvent (receiver=0xb29c238, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#110 0xb67535b7 in QETWidget::translateMouseEvent (this=0xa06e420, event=0xbfe8848c) at kernel/qapplication_x11.cpp:4050
#111 0xb6751c11 in QApplication::x11ProcessEvent (this=0xbfe887e8, event=0xbfe8848c) at kernel/qapplication_x11.cpp:3162
#112 0xb677b63a in x11EventSourceDispatch (s=0x9d47670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#113 0xb49f1368 in IA__g_main_context_dispatch (context=0x9d46498) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2144
#114 0xb49f4a03 in g_main_context_iterate (context=0x9d46498, block=1, dispatch=1, self=0x9d43e48) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2778
#115 0xb49f4bc1 in IA__g_main_context_iteration (context=0x9d46498, may_block=1) at /tmp/buildd/glib2.0-2.18.4/glib/gmain.c:2841
#116 0xb70165e8 in QEventDispatcherGlib::processEvents (this=0x9d3c1d8, flags={i = -1075280312}) at kernel/qeventdispatcher_glib.cpp:319
#117 0xb677ad75 in QGuiEventDispatcherGlib::processEvents (this=0x9d3c1d8, flags={i = -1075280264}) at kernel/qguieventdispatcher_glib.cpp:198
#118 0xb6fea7aa in QEventLoop::processEvents (this=0xbfe886f0, flags={i = -1075280200}) at kernel/qeventloop.cpp:143
#119 0xb6fea96a in QEventLoop::exec (this=0xbfe886f0, flags={i = -1075280136}) at kernel/qeventloop.cpp:194
#120 0xb6fed025 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#121 0xb66e1617 in QApplication::exec () at kernel/qapplication.cpp:3331
#122 0x0804a6a0 in _start ()
Comment 1 bou.gui 2009-02-23 20:58:02 UTC
A little precision : crash appears when clicking "Apply" after removing "Create task" ; when opening again KMail, adding "Create task" to the tools bar and removing it again, KMail crashes again.
Comment 2 Dario Andres 2009-02-24 23:28:18 UTC
Reassigning to kdelibs
Comment 3 George Goldberg 2009-03-19 13:59:29 UTC
Reassigning to kdelibs.

@Dario: Don't forget that when you change the product for a bug report, you need to edit the "Assigned To" field and set "Reset Assignee to default". :)
Comment 4 Olivier Goffart 2009-04-12 21:39:55 UTC
*** Bug 184238 has been marked as a duplicate of this bug. ***
Comment 5 Olivier Goffart 2009-04-12 21:52:12 UTC
This may be a bug in Qt.
What is your Qt version.

I cannot reproduce here (kde 4.2.2, Qt 4.5.0)

Any chance to have a valgrind trace?
Comment 6 bou.gui 2009-04-13 08:26:26 UTC
I can't reproduce this bug too now ((kde 4.2.2, qt 4.5.0 too) !
Comment 7 Dario Andres 2009-06-12 22:10:20 UTC
*** Bug 196213 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-07-07 21:45:05 UTC
*** Bug 199050 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2009-08-25 09:01:39 UTC
*** Bug 205030 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2010-10-13 17:49:34 UTC
Closing this as a duplicate of bug 170806 because the backtrace indicates that the XMLGUI client list contains stray pointers.

If you are experiencing toolbar or shortcut related crashes again with KDE 4.5.3 or later, please create a new bug report.

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