Summary: | kate crashes after using program after running into bug 173710 / konqueror crashes after reproducing bug 169950 (crash on destruction of KXMLGUIClient with invalid toolbars actions) | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Oliver Putz <Regnaron> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | amoffa, andresbajotierra, bh.inbox, diego.ml, esigra, faure, kdelibs-bugs, krassy, McFiddich, ungethym, x3ri7yz02 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Backtrace |
Description
Oliver Putz
2008-10-27 22:29:37 UTC
Having reproduced similar crashes in other programs (e.g. kmail) and looking at the backtrace, it seems this might rather be a kdelibs issue than a kate issue... General pattern: Adding and removing items from the "secondary" toolbar crashes the respective program Created attachment 28206 [details]
Backtrace
I have the same bug. I attach backtrace.
*** Bug 166786 has been marked as a duplicate of this bug. *** I have reproduced this bug using Konqueror on: Qt: 4.4.3 KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221)) kdelibs svn rev. 901348 / kdebase svn rev. 901348 on ArchLinux x86_64 - Kernel 2.6.27.10 --- After reproducing bug 169950 Steps to reproduce: - Open Konqueror - Browse to a website (ex. www.google.com) - Go to Configure Toolbars - Add the "Open in Firefox" icon to the main toolbar - Open another Konqueror window in the default "about:konqueror" - Close the "about:konqueror" window. - Close the "www.google.com" window. Konqueror crashes (May be you have to try the lasts steps (may be in a different order) in order to reproduce the crash) Also, due of bug 169950, the "Open in Firefox" icons dissapears after closing Konqueror, and after reloading it and going to "www.google.com" the icon appears in the Configure Toolbars dialog but not in the toolbar itself. (you have to move in the Configure Toolbars dialog in order to the icon to reappear in the toolbar)). So the situation may differs to reproduce the crash Backtrace: Application: Konqueror (konqueror), signal SIGABRT 0x00007f0197b69001 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7f019cbe4750 (LWP 5265)): [KCrash Handler] #5 0x00007f0197afc0c5 in raise () from /lib/libc.so.6 #6 0x00007f0197afd5e3 in abort () from /lib/libc.so.6 #7 0x00007f0197b3c8e0 in malloc_printerr () from /lib/libc.so.6 #8 0x00007f019a26d686 in QString::free (d=0x33f7b30) at tools/qstring.cpp:928 #9 0x00007f019b5451ce in QHash<QString, QDomNodePrivate*>::freeData (this=0x28327c8, x=0x2832930) at ../../include/QtCore/../../src/corelib/tools/qstring.h:825 #10 0x00007f019b53b96c in QDomNamedNodeMapPrivate::clearMap (this=0x28327c0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:576 #11 0x00007f019b53b989 in ~QDomNamedNodeMapPrivate (this=0x1491) at dom/qdom.cpp:3009 #12 0x00007f019b53bf2a in ~QDomElementPrivate (this=0x2832740) at dom/qdom.cpp:4385 #13 0x00007f019b53bd09 in ~QDomNodePrivate (this=0x2865c80) at dom/qdom.cpp:1455 #14 0x00007f019b53bf3a in ~QDomElementPrivate (this=0x2865c80) at dom/qdom.cpp:4386 #15 0x00007f019b53bd09 in ~QDomNodePrivate (this=0x287a2c0) at dom/qdom.cpp:1455 #16 0x00007f019b53be15 in ~QDomDocumentPrivate (this=0x287a2c0) at dom/qdom.cpp:6144 #17 0x00007f019b23f3a9 in ~KXMLGUIClient (this=0x26a12b0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:54 #18 0x00007f019c890acc in ~KonqMainWindow (this=0x26a0fd0) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:358 #19 0x00007f019a31ac95 in QObject::event (this=0x26a0fd0, e=0x1491) at kernel/qobject.cpp:1139 #20 0x00007f019971422c in QWidget::event (this=0x26a0fd0, event=0x346cca0) at kernel/qwidget.cpp:7551 #21 0x00007f0199a13c7b in QMainWindow::event (this=0x26a0fd0, event=0x346cca0) at widgets/qmainwindow.cpp:1268 #22 0x00007f019b23b328 in KXmlGuiWindow::event (this=0x1491, ev=0x1491) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131 #23 0x00007f019c8ae46f in KonqMainWindow::event (this=0x26a0fd0, e=0x346cca0) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:5680 #24 0x00007f01996c20ad in QApplicationPrivate::notify_helper (this=0x249c2d0, receiver=0x26a0fd0, e=0x346cca0) at kernel/qapplication.cpp:3803 #25 0x00007f01996c940e in QApplication::notify (this=0x7fffa4d245c0, receiver=0x26a0fd0, e=0x346cca0) at kernel/qapplication.cpp:3768 #26 0x00007f019b12b6bb in KApplication::notify (this=0x7fffa4d245c0, receiver=0x26a0fd0, event=0x346cca0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #27 0x00007f019a30bd90 in QCoreApplication::notifyInternal (this=0x7fffa4d245c0, receiver=0x26a0fd0, event=0x346cca0) at kernel/qcoreapplication.cpp:583 #28 0x00007f019a30f643 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x245ea60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #29 0x00007f019a332fa3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214 #30 0x00007f0195cffaa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #31 0x00007f0195d0321d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #32 0x00007f0195d033db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #33 0x00007f019a332cdf in QEventDispatcherGlib::processEvents (this=0x2471170, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319 #34 0x00007f0199749f7f in QGuiEventDispatcherGlib::processEvents (this=0x1491, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198 #35 0x00007f019a30a9c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1529724144}) at kernel/qeventloop.cpp:143 #36 0x00007f019a30ab55 in QEventLoop::exec (this=0x7fffa4d24350, flags={i = -1529724064}) at kernel/qeventloop.cpp:190 #37 0x00007f019a30f8f7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #38 0x00007f019c8ddac9 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257 #39 0x00007f0197ae8546 in __libc_start_main () from /lib/libc.so.6 #40 0x00000000004007c9 in _start () As suggested by Dario Andres in this bug: http://bugs.kde.org/show_bug.cgi?id=179710 I reproduced this bug on Konqueror too: Version: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)) (using 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)), 4.1.85-6.fc10 Fedora) Compiler: gcc OS: Linux (i686) release 2.6.27.9-163.fc10.i686 I spent some time trying to get how to reproduce it: - it doesn't seem to depend on which button you add (I managed to reproduce it with "Undo: close window", "Open file..." and "New tab"); - it doesn't seem to depend on the position you place the button (I managed to reproduce it placing the button in the beginning, in the end and in the middle); - it seems to happen more frequently when you press "Ok" rather than when you press "Apply". Here's how to reproduce in my case: Settings -> Configure toolbars Add a button to the list and the click "Ok", if nothing happens then Settings -> Configure toolbars, remove it and press "Ok". If still nothing happens then retry again for some times. If still nothing happens then close Konqueror, reopen it and retry. Here's my backtrace: Applicazione: Konqueror (konqueror), segnale SIGSEGV [Current thread is 1 (Thread 0xb8018770 (LWP 3136))] Thread 1 (Thread 0xb8018770 (LWP 3136)): [KCrash Handler] #6 0x0372c12b in QObject::~QObject () from /usr/lib/libQtCore.so.4 #7 0x0373045e in QTimer::~QTimer () from /usr/lib/libQtCore.so.4 #8 0x048c8faa in ~KMenuPrivate (this=0x8998930) at /usr/src/debug/kdelibs-4.1.85/kdeui/widgets/kmenu.cpp:130 #9 0x048c900c in ~KMenu (this=0x8949888) at /usr/src/debug/kdelibs-4.1.85/kdeui/widgets/kmenu.cpp:172 #10 0x047104aa in ~KActionMenu (this=0x8ced6c0) at /usr/src/debug/kdelibs-4.1.85/kdeui/actions/kactionmenu.cpp:77 #11 0x03bd661e in ~KBookmarkActionMenu (this=0x8ced6c0) at /usr/src/debug/kdelibs-4.1.85/kio/bookmarks/kbookmarkmenu.cc:758 #12 0x03363d06 in KConfigGroup::writeEntry () at /usr/src/debug/kdelibs-4.1.85/kdecore/config/kconfiggroup.cpp:953 #13 0x0333efde in KConfigGroup::writeEntry () at /usr/src/debug/kdelibs-4.1.85/kdecore/config/kconfiggroup.cpp:953 #14 0x0491a6b1 in KXMLGUI::ContainerNode::destruct (this=0x8b17788, element={<QDomNode> = {impl = 0x8d5d100}, <No data fields>}, state=@0x8823a88) at /usr/src/debug/kdelibs-4.1.85/kdeui/xmlgui/kxmlguifactory_p.cpp:347 #15 0x0491a85f in KXMLGUI::ContainerNode::destructChildren (this=0x8822328, element=@0xbfb3ca30, state=@0x8823a88) at /usr/src/debug/kdelibs-4.1.85/kdeui/xmlgui/kxmlguifactory_p.cpp:371 #16 0x0491a29d in KXMLGUI::ContainerNode::destruct (this=0x8822328, element={<QDomNode> = {impl = 0x8d36d18}, <No data fields>}, state=@0x8823a88) at /usr/src/debug/kdelibs-4.1.85/kdeui/xmlgui/kxmlguifactory_p.cpp:326 #17 0x0491560f in KXMLGUIFactory::removeClient (this=0x8823990, client=0x8627b68) at /usr/src/debug/kdelibs-4.1.85/kdeui/xmlgui/kxmlguifactory.cpp:429 #18 0x04761eaf in KDEPrivate::KEditToolBarWidget::rebuildKXMLGUIClients (this=0x8d52da0) at /usr/src/debug/kdelibs-4.1.85/kdeui/dialogs/kedittoolbar.cpp:789 #19 0x04762461 in KDEPrivate::KEditToolBarWidget::save (this=0x8d52da0) at /usr/src/debug/kdelibs-4.1.85/kdeui/dialogs/kedittoolbar.cpp:767 #20 0x04762545 in KEditToolBarPrivate::_k_slotApply (this=0x8d57af8) at /usr/src/debug/kdelibs-4.1.85/kdeui/dialogs/kedittoolbar.cpp:611 #21 0x0476542b in KEditToolBar::qt_metacall (this=0xbfb3ddd0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb3cc28) at /usr/src/debug/kdelibs-4.1.85/i386-redhat-linux-gnu/kdeui/kedittoolbar.moc:78 #22 0x03729df0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #23 0x0372ab72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #24 0x04757867 in KDialog::applyClicked (this=0xbfb3ddd0) at /usr/src/debug/kdelibs-4.1.85/i386-redhat-linux-gnu/kdeui/kdialog.moc:235 #25 0x0475a175 in KDialog::slotButtonClicked (this=0xbfb3ddd0, button=8) at /usr/src/debug/kdelibs-4.1.85/kdeui/dialogs/kdialog.cpp:854 #26 0x0475b604 in KDialog::qt_metacall (this=0xbfb3ddd0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfb3cdec) at /usr/src/debug/kdelibs-4.1.85/i386-redhat-linux-gnu/kdeui/kdialog.moc:181 #27 0x047653ba in KEditToolBar::qt_metacall (this=0xbfb3ddd0, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfb3cdec) at /usr/src/debug/kdelibs-4.1.85/i386-redhat-linux-gnu/kdeui/kedittoolbar.moc:70 #28 0x03729df0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #29 0x0372ab72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #30 0x0372dc03 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4 #31 0x0372e48d in QSignalMapper::map () from /usr/lib/libQtCore.so.4 #32 0x0372e67e in QSignalMapper::map () from /usr/lib/libQtCore.so.4 #33 0x0372ef4b in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4 #34 0x03729df0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #35 0x0372a1f0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #36 0x04446441 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4 #37 0x04199799 in ?? () from /usr/lib/libQtGui.so.4 #38 0x0419b374 in ?? () from /usr/lib/libQtGui.so.4 #39 0x0419b606 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #40 0x03eb1692 in QWidget::event () from /usr/lib/libQtGui.so.4 #41 0x0419963e in QAbstractButton::event () from /usr/lib/libQtGui.so.4 #42 0x0423fef0 in QPushButton::event () from /usr/lib/libQtGui.so.4 #43 0x03e5962c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #44 0x03e61e21 in QApplication::notify () from /usr/lib/libQtGui.so.4 #45 0x047ea4cd in KApplication::notify (this=0xbfb3f790, receiver=0x88ef720, event=0xbfb3d548) at /usr/src/debug/kdelibs-4.1.85/kdeui/kernel/kapplication.cpp:307 #46 0x037151c1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #47 0x03e610ae in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #48 0x03ecb3f6 in ?? () from /usr/lib/libQtGui.so.4 #49 0x03eca785 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #50 0x03ef2dba in ?? () from /usr/lib/libQtGui.so.4 #51 0x0352b238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #52 0x0352e8e3 in ?? () from /lib/libglib-2.0.so.0 #53 0x0352eaa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #54 0x0373f7f8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #55 0x03ef24b5 in ?? () from /usr/lib/libQtGui.so.4 #56 0x0371388a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #57 0x03713a4a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #58 0x042c4f77 in QDialog::exec () from /usr/lib/libQtGui.so.4 #59 0x0333c410 in KConfigGroup::writeEntry () at /usr/src/debug/kdelibs-4.1.85/kdecore/config/kconfiggroup.cpp:953 #60 0x0335ccb0 in KConfigGroup::writeEntry () at /usr/src/debug/kdelibs-4.1.85/kdecore/config/kconfiggroup.cpp:953 #61 0x03729df0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #62 0x0372a1f0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #63 0x03e53331 in QAction::triggered () from /usr/lib/libQtGui.so.4 #64 0x03e53c9f in QAction::activate () from /usr/lib/libQtGui.so.4 #65 0x0422fb44 in ?? () from /usr/lib/libQtGui.so.4 #66 0x042305d2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #67 0x048c8b45 in KMenu::mouseReleaseEvent (this=0x8d1b978, e=0xbfb3e648) at /usr/src/debug/kdelibs-4.1.85/kdeui/widgets/kmenu.cpp:454 #68 0x03eb1692 in QWidget::event () from /usr/lib/libQtGui.so.4 #69 0x042328c9 in QMenu::event () from /usr/lib/libQtGui.so.4 #70 0x03e5962c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #71 0x03e61e21 in QApplication::notify () from /usr/lib/libQtGui.so.4 #72 0x047ea4cd in KApplication::notify (this=0xbfb3f790, receiver=0x8d1b978, event=0xbfb3e648) at /usr/src/debug/kdelibs-4.1.85/kdeui/kernel/kapplication.cpp:307 #73 0x037151c1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #74 0x03e610ae in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #75 0x03ecb67e in ?? () from /usr/lib/libQtGui.so.4 #76 0x03eca785 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #77 0x03ef2dba in ?? () from /usr/lib/libQtGui.so.4 #78 0x0352b238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #79 0x0352e8e3 in ?? () from /lib/libglib-2.0.so.0 #80 0x0352eaa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #81 0x0373f7f8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #82 0x03ef24b5 in ?? () from /usr/lib/libQtGui.so.4 #83 0x0371388a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #84 0x03713a4a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #85 0x04232691 in QMenu::exec () from /usr/lib/libQtGui.so.4 #86 0x048fe225 in KToolBar::contextMenuEvent (this=0x8a71be0, event=0x89a1020) at /usr/src/debug/kdelibs-4.1.85/kdeui/widgets/ktoolbar.cpp:722 #87 0x03eb199d in QWidget::event () from /usr/lib/libQtGui.so.4 #88 0x0426fe6f in QToolBar::event () from /usr/lib/libQtGui.so.4 #89 0x03e5962c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #90 0x03e61995 in QApplication::notify () from /usr/lib/libQtGui.so.4 #91 0x047ea4cd in KApplication::notify (this=0xbfb3f790, receiver=0x8a71be0, event=0x89a1020) at /usr/src/debug/kdelibs-4.1.85/kdeui/kernel/kapplication.cpp:307 #92 0x037151c1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #93 0x03715e45 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4 #94 0x0371603d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4 #95 0x0373fbaf in ?? () from /usr/lib/libQtCore.so.4 #96 0x0352b238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #97 0x0352e8e3 in ?? () from /lib/libglib-2.0.so.0 #98 0x0352eaa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #99 0x0373f7f8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #100 0x03ef24b5 in ?? () from /usr/lib/libQtGui.so.4 #101 0x0371388a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #102 0x03713a4a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #103 0x03716105 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #104 0x03e594a7 in QApplication::exec () from /usr/lib/libQtGui.so.4 #105 0x03383f9f in kdemain () from /usr/lib/libkdeinit4_konqueror.so #106 0x080486e2 in _start () *** Bug 194822 has been marked as a duplicate of this bug. *** *** Bug 181307 has been marked as a duplicate of this bug. *** *** Bug 203521 has been marked as a duplicate of this bug. *** *** Bug 204803 has been marked as a duplicate of this bug. *** *** Bug 205029 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 205625 *** |