Bug 184238

Summary: crash with SIGABRT in KXMLGUIClient::setDOMDocument()
Product: [Unmaintained] kdelibs Reporter: Daniel Dumitrache <daniel.dumitrache>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, ogoffart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Dumitrache 2009-02-13 18:44:29 UTC
Version:            (using KDE 4.2.0)
Installed from:    Ubuntu Packages

while editing the toolbar kontact crashed with the following backtrace:

Thread 1 (Thread 0xb4bd06c0 (LWP 5906)):
[KCrash Handler]
#6  0xb80a7430 in __kernel_vsyscall ()
#7  0xb5a718a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5a73268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5ab5483 in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0xb5ab7455 in free () from /lib/tls/i686/cmov/libc.so.6
#11 0xb5d18f2d in qFree () from /usr/lib/libQtCore.so.4
#12 0xb5d62b40 in QString::free () from /usr/lib/libQtCore.so.4
#13 0xb6a9f1e7 in ?? () from /usr/lib/libQtXml.so.4
#14 0xb6aa04c1 in ?? () from /usr/lib/libQtXml.so.4
#15 0xb6a9f150 in ?? () from /usr/lib/libQtXml.so.4
#16 0xb6aa04c1 in ?? () from /usr/lib/libQtXml.so.4
#17 0xb6a9f150 in ?? () from /usr/lib/libQtXml.so.4
#18 0xb6aa04c1 in ?? () from /usr/lib/libQtXml.so.4
#19 0xb6a9f150 in ?? () from /usr/lib/libQtXml.so.4
#20 0xb6aa04c1 in ?? () from /usr/lib/libQtXml.so.4
#21 0xb6a9f150 in ?? () from /usr/lib/libQtXml.so.4
#22 0xb6a9f2f9 in ?? () from /usr/lib/libQtXml.so.4
#23 0xb6a976b2 in QDomNode::operator= () from /usr/lib/libQtXml.so.4
#24 0xb6a99ac4 in QDomDocument::operator= () from /usr/lib/libQtXml.so.4
#25 0xb6f07338 in KXMLGUIClient::setDOMDocument (this=0x9b0c320, document=@0xbfea57d8, merge=false) at /build/buildd/kde4libs-4.2.0/kdeui/xmlgui/kxmlguiclient.cpp:267
#26 0xb6f07c8f in KXMLGUIClient::setXML (this=0x9b0c320, document=@0xbfea5864, merge=<value optimized out>) at /build/buildd/kde4libs-4.2.0/kdeui/xmlgui/kxmlguiclient.cpp:236
#27 0xb6f08840 in KXMLGUIClient::setXMLFile (this=0x9b0c320, _file=@0xbfea5918, merge=false, setXMLDoc=true) at /build/buildd/kde4libs-4.2.0/kdeui/xmlgui/kxmlguiclient.cpp:219
#28 0xb6d4c298 in KDEPrivate::KEditToolBarWidget::rebuildKXMLGUIClients (this=0xa8d5e68) at /build/buildd/kde4libs-4.2.0/kdeui/dialogs/kedittoolbar.cpp:807
#29 0xb6d4d929 in KDEPrivate::KEditToolBarWidget::save (this=0xa8d5e68) at /build/buildd/kde4libs-4.2.0/kdeui/dialogs/kedittoolbar.cpp:767
#30 0xb6d4db05 in KEditToolBarPrivate::_k_slotApply (this=0xa83b0b8) at /build/buildd/kde4libs-4.2.0/kdeui/dialogs/kedittoolbar.cpp:611
#31 0xb6d502fb in KEditToolBar::qt_metacall (this=0xbfea6c44, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfea5a98) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kedittoolbar.moc:78
#32 0xb5e23a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb5e247e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb6d419d7 in KDialog::applyClicked (this=0xbfea6c44) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kdialog.moc:235
#35 0xb6d44345 in KDialog::slotButtonClicked (this=0xbfea6c44, button=8) at /build/buildd/kde4libs-4.2.0/kdeui/dialogs/kdialog.cpp:847
#36 0xb6d457b4 in KDialog::qt_metacall (this=0xbfea6c44, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfea5c5c) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kdialog.moc:181
#37 0xb6d5028a in KEditToolBar::qt_metacall (this=0xbfea6c44, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfea5c5c) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kedittoolbar.moc:70
#38 0xb5e23a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb5e247e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#40 0xb5e27873 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#41 0xb5e280fd in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#42 0xb5e282ee in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#43 0xb5e28bbb in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#44 0xb5e23a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#45 0xb5e23e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#46 0xb68aee61 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#47 0xb6602199 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb6603d94 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb6604026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#50 0xb6318962 in QWidget::event () from /usr/lib/libQtGui.so.4
#51 0xb660203e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#52 0xb66a8910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#53 0xb62c08ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#54 0xb62c90e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#55 0xb6dd9fed in KApplication::notify (this=0xbfea8ae8, receiver=0xb396bc0, event=0xbfea63b8) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#56 0xb5e0ee61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#57 0xb62c836e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#58 0xb6332656 in ?? () from /usr/lib/libQtGui.so.4
#59 0xb63319e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#60 0xb635b7aa in ?? () from /usr/lib/libQtGui.so.4
#61 0xb50e76f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb50eada3 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb50eaf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb5e39478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#65 0xb635aea5 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb5e0d52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#67 0xb5e0d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0xb672d987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#69 0xb7953c5a in Kontact::MainWindow::configureToolbars (this=0x9b0c2a8) at /build/buildd/kdepim-4.2.0/kontact/src/mainwindow.cpp:1056
#70 0xb795b2d9 in Kontact::MainWindow::qt_metacall (this=0x9b0c2a8, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbfea6d9c)
    at /build/buildd/kdepim-4.2.0/obj-i486-linux-gnu/kontact/src/mainwindow.moc:127
#71 0xb5e23a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#72 0xb5e23e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#73 0xb62ba5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#74 0xb62baf5f in QAction::activate () from /usr/lib/libQtGui.so.4
#75 0xb6698564 in ?? () from /usr/lib/libQtGui.so.4
#76 0xb6698ff2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#77 0xb6ebff25 in KMenu::mouseReleaseEvent (this=0xa4034d0, e=0xbfea7478) at /build/buildd/kde4libs-4.2.0/kdeui/widgets/kmenu.cpp:454
#78 0xb6318962 in QWidget::event () from /usr/lib/libQtGui.so.4
#79 0xb669b2e9 in QMenu::event () from /usr/lib/libQtGui.so.4
#80 0xb62c08ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#81 0xb62c90e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#82 0xb6dd9fed in KApplication::notify (this=0xbfea8ae8, receiver=0xa4034d0, event=0xbfea7478) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#83 0xb5e0ee61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#84 0xb62c836e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#85 0xb63328de in ?? () from /usr/lib/libQtGui.so.4
#86 0xb63319e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#87 0xb635b7aa in ?? () from /usr/lib/libQtGui.so.4
#88 0xb50e76f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#89 0xb50eada3 in ?? () from /usr/lib/libglib-2.0.so.0
#90 0xb50eaf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#91 0xb5e39478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#92 0xb635aea5 in ?? () from /usr/lib/libQtGui.so.4
#93 0xb5e0d52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#94 0xb5e0d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#95 0xb669b0b1 in QMenu::exec () from /usr/lib/libQtGui.so.4
#96 0xb6ef68b5 in KToolBar::contextMenuEvent (this=0xa3e4220, event=0xbfea801c) at /build/buildd/kde4libs-4.2.0/kdeui/widgets/ktoolbar.cpp:722
#97 0xb6318c6d in QWidget::event () from /usr/lib/libQtGui.so.4
#98 0xb66d886f in QToolBar::event () from /usr/lib/libQtGui.so.4
#99 0xb62c08ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#100 0xb62c8c55 in QApplication::notify () from /usr/lib/libQtGui.so.4
#101 0xb6dd9fed in KApplication::notify (this=0xbfea8ae8, receiver=0xa722e88, event=0xbfea8240) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#102 0xb5e0ee61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#103 0xb62cb86e in QCoreApplication::sendSpontaneousEvent () from /usr/lib/libQtGui.so.4
#104 0xb6332e3f in ?? () from /usr/lib/libQtGui.so.4
#105 0xb63319e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#106 0xb635b7aa in ?? () from /usr/lib/libQtGui.so.4
#107 0xb50e76f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#108 0xb50eada3 in ?? () from /usr/lib/libglib-2.0.so.0
#109 0xb50eaf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#110 0xb5e39478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#111 0xb635aea5 in ?? () from /usr/lib/libQtGui.so.4
#112 0xb5e0d52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#113 0xb5e0d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#114 0xb5e0fda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#115 0xb62c0767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#116 0x0804c072 in main (argc=1, argv=0xbfea8de4) at /build/buildd/kdepim-4.2.0/kontact/src/main.cpp:218
Comment 1 Olivier Goffart 2009-04-12 21:30:15 UTC
The backtrace shows that there was an assert somewhere in QDOM.
Can you run kontact in a konsole and try to reproduce the crash?
Also it would be usefull to have the backtrace with the Qt debug sylbols
Comment 2 Olivier Goffart 2009-04-12 21:39:55 UTC

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