https://bugs.kde.org/show_bug.cgi?id=194636 Summary: kdevelop crashes when closing a backup file in document view Product: kdevelop Version: unspecified Platform: unspecified OS/Version: Linux Status: NEW Severity: crash Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: Regnaron@web.de Version: 3.9.91 (using 4.2.3 (KDE 4.2.3), Gentoo) Compiler: x86_64-pc-linux-gnu-gcc OS: Linux (x86_64) release 2.6.28-gentoo-r6 Steps to reproduce: 1) Open some project 2) Open a *.h~ or *.cpp~ file in kdevelop 3) Go to Documents view (tab on left side) 4) See the backup files section under which the *.h~ document is shown 5) Right click on the file in that view and choose "Close" 6) See kdevelop 3.9.91 crash with the following backtrace: (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0x7f4566f43750 (LWP 23655)] [New Thread 0x43fd3950 (LWP 23696)] [New Thread 0x409e1950 (LWP 23695)] [New Thread 0x437d2950 (LWP 23663)] [New Thread 0x42fd1950 (LWP 23658)] [New Thread 0x427d0950 (LWP 23657)] [New Thread 0x4180f950 (LWP 23656)] [KCrash handler] #5 QWidget::setParent (this=0x0, parent=0x0) at kernel/qwidget.cpp:8700 #6 0x00007f45610e93f1 in Sublime::MainWindowPrivate::aboutToRemoveView ( this=0xe0c460, index=0xe2e110, view=0x429a2a0) at /var/tmp/portage/dev-util/kdevplatform-0.9.91/work/kdevplatform-0.9.91/sublime/mainwindow_p.cpp:328 #7 0x00007f45610e81ac in Sublime::MainWindow::qt_metacall (this=0xd7d890, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fff6ef87840) at /var/tmp/portage/dev-util/kdevplatform-0.9.91/work/kdevplatform-0.9.91_build/sublime/mainwindow.moc:98 #8 0x00007f4566528254 in KDevelop::MainWindow::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x46) at /var/tmp/portage/dev-util/kdevplatform-0.9.91/work/kdevplatform-0.9.91_build/shell/mainwindow.moc:77 #9 0x00007f4564188900 in QMetaObject::activate (sender=0xe2e0d0, from_signal_index=, to_signal_index=5, argv=0x46) at kernel/qobject.cpp:3025 #10 0x00007f45610e0e71 in Sublime::Area::aboutToRemoveView (this=0x0, _t1=0xe2e110, _t2=0x429a2a0) at /var/tmp/portage/dev-util/kdevplatform-0.9.91/work/kdevplatform-0.9.91_build/sublime/area.moc:99 #11 0x00007f45610e1f9d in Sublime::Area::removeView (this=0xe2e0d0, view=0x429a2a0) at /var/tmp/portage/dev-util/kdevplatform-0.9.91/work/kdevplatform-0.9.91/sublime/area.cpp:177 #12 0x00007f456653c526 in KDevelop::PartDocument::close (this=0xe87650, mode=) at /var/tmp/portage/dev-util/kdevplatform-0.9.91/work/kdevplatform-0.9.91/shell/partdocument.cpp:131 #13 0x00007f45571c5c00 in KDevDocumentView::closeSelected (this=0x3275110) at /var/tmp/portage/dev-util/kdevelop-3.9.91/work/kdevelop-3.9.91/plugins/documentview/kdevdocumentview.cpp:127 #14 0x00007f45571c5d9f in KDevDocumentView::qt_metacall (this=0x3275110, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fff6ef87b90) at /var/tmp/portage/dev-util/kdevelop-3.9.91/work/kdevelop-3.9.91_build/plugins/documentview/kdevdocumentview.moc:90 #15 0x00007f4564188900 in QMetaObject::activate (sender=0x2996f20, from_signal_index=, to_signal_index=6, argv=0x46) at kernel/qobject.cpp:3025 #16 0x00007f45632e13c7 in QAction::triggered (this=0x0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:216 #17 0x00007f45632e1b74 in QAction::activate (this=0x2996f20, event=) at kernel/qaction.cpp:1131 #18 0x00007f456365d253 in QMenuPrivate::activateAction (this=0x3285b80, action=0x2996f20, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1008 #19 0x00007f45648fb38b in KMenu::mouseReleaseEvent (this=0x3285b40, e=0x7fff6ef88760) at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/widgets/kmenu.cpp:454 #20 0x00007f4563339674 in QWidget::event (this=0x3285b40, event=0x7fff6ef88760) at kernel/qwidget.cpp:7169 #21 0x00007f456365e77b in QMenu::event (this=0x3285b40, e=0x7fff6ef88760) at widgets/qmenu.cpp:2271 #22 0x00007f45632e6a2d in QApplicationPrivate::notify_helper (this=0xcb6630, receiver=0x3285b40, e=0x7fff6ef88760) at kernel/qapplication.cpp:3809 #23 0x00007f45632ee5e5 in QApplication::notify (this=, receiver=0x3285b40, e=0x7fff6ef88760) at kernel/qapplication.cpp:3534 #24 0x00007f456486ef84 in KApplication::notify (this=0x7fff6ef8ae00, receiver=0x3285b40, event=0x7fff6ef88760) at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:307 #25 0x00007f4564173be0 in QCoreApplication::notifyInternal ( this=0x7fff6ef8ae00, receiver=0x3285b40, event=0x7fff6ef88760) at kernel/qcoreapplication.cpp:589 #26 0x00007f45632ed962 in QApplicationPrivate::sendMouseEvent ( receiver=0x3285b40, event=0x7fff6ef88760, alienWidget=0x0, nativeWidget=0x3285b40, buttonDown=, lastMouseReceiver=@0x7f4563bd0730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #27 0x00007f456334ab8b in QETWidget::translateMouseEvent (this=0x3285b40, event=) at kernel/qapplication_x11.cpp:3984 #28 0x00007f456334960b in QApplication::x11ProcessEvent (this=0x8b, event=0x7fff6ef89030) at kernel/qapplication_x11.cpp:3168 #29 0x00007f456336d5c4 in x11EventSourceDispatch (s=0xcb9f10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #30 0x00007f455da59614 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #31 0x00007f455da5b4d7 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #32 0x00007f455da5b5bd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #33 0x00007f456419ab1f in QEventDispatcherGlib::processEvents (this=0xcb6860, flags=) at kernel/qeventdispatcher_glib.cpp:325 #34 0x00007f456336ce1f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=) at kernel/qguieventdispatcher_glib.cpp:204 #35 0x00007f4564172812 in QEventLoop::processEvents ( this=, flags={i = 1861784304}) at kernel/qeventloop.cpp:149 #36 0x00007f45641729a5 in QEventLoop::exec (this=0x7fff6ef89330, flags= {i = 1861784400}) at kernel/qeventloop.cpp:196 #37 0x00007f456365e5f7 in QMenu::exec (this=, p=@0x7fff6ef8a120, action=0x0) at widgets/qmenu.cpp:1944 #38 0x00007f45571c6037 in KDevDocumentView::contextMenuEvent (this=0x3275110, event=0x7fff6ef8a100) at /var/tmp/portage/dev-util/kdevelop-3.9.91/work/kdevelop-3.9.91/plugins/documentview/kdevdocumentview.cpp:157 #39 0x00007f456333976d in QWidget::event (this=0x3275110, event=0x7fff6ef8a100) at kernel/qwidget.cpp:7326 #40 0x00007f456372fead in QAbstractItemView::viewportEvent (this=0x3275110, event=0x7fff6ef8a100) at itemviews/qabstractitemview.cpp:1435 #41 0x00007f456375e403 in QTreeView::viewportEvent (this=0x3275110, event=0x7fff6ef8a100) at itemviews/qtreeview.cpp:1271 #42 0x00007f4564173647 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=, receiver=0x3274790, event=0x7fff6ef8a100) at kernel/qcoreapplication.cpp:700 #43 0x00007f45632e69fc in QApplicationPrivate::notify_helper (this=0xcb6630, receiver=0x3274790, e=0x7fff6ef8a100) at kernel/qapplication.cpp:3805 #44 0x00007f45632eeaee in QApplication::notify (this=, receiver=0x3274790, e=0x7fff6ef8a100) at kernel/qapplication.cpp:3620 #45 0x00007f456486ef84 in KApplication::notify (this=0x7fff6ef8ae00, receiver=0x3274790, event=0x7fff6ef8a100) at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:307 #46 0x00007f4564173be0 in QCoreApplication::notifyInternal ( this=0x7fff6ef8ae00, receiver=0x3274790, event=0x7fff6ef8a100) at kernel/qcoreapplication.cpp:589 #47 0x00007f456334b02d in QETWidget::translateMouseEvent (this=0xd7d890, event=) at kernel/qapplication_x11.cpp:4056 #48 0x00007f456334960b in QApplication::x11ProcessEvent (this=0x8b, event=0x7fff6ef8aa00) at kernel/qapplication_x11.cpp:3168 #49 0x00007f456336d5c4 in x11EventSourceDispatch (s=0xcb9f10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #50 0x00007f455da59614 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #51 0x00007f455da5b4d7 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #52 0x00007f455da5b5bd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #53 0x00007f456419ab1f in QEventDispatcherGlib::processEvents (this=0xcb6860, flags=) at kernel/qeventdispatcher_glib.cpp:325 #54 0x00007f456336ce1f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=) at kernel/qguieventdispatcher_glib.cpp:204 #55 0x00007f4564172812 in QEventLoop::processEvents ( this=, flags={i = 1861790912}) at kernel/qeventloop.cpp:149 #56 0x00007f45641729a5 in QEventLoop::exec (this=0x7fff6ef8ad00, flags= {i = 1861790992}) at kernel/qeventloop.cpp:196 #57 0x00007f4564177747 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851 #58 0x0000000000407321 in _start () -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs