https://bugs.kde.org/show_bug.cgi?id=434602
Bug ID: 434602 Summary: KDevelop crash opening duplicate project on wayland Product: kdevelop Version: 5.6.2 Platform: openSUSE RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kdevelop-bugs-n...@kde.org Reporter: kstei...@iu.edu Target Milestone: --- Application: kdevelop (5.6.2) Qt Version: 5.15.2 Frameworks Version: 5.80.0 Operating System: Linux 5.11.6-1-default x86_64 Windowing System: X11 Drkonqi Version: 5.21.2 Distribution: "openSUSE Tumbleweed" -- Information about the crash: - What I was doing when the application crashed: I had a python project open in kdevelop on opensuse tumbleweed running wayland. I wanted to open a new project but I misclicked and opened the same folder as the project I currently had opened, I absentmindedly clicked through the dialogue and then Kdevelop crashed with a segmentation fault. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [KCrash Handler] #4 0x00007fd9d47750ee in qobject_cast<KDevelop::IBuildSystemManager*> (object=0x559d6619b1b0) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/project/interfaces/ibuildsystemmanager.h:150 #5 KDevelop::IPlugin::extension<KDevelop::IBuildSystemManager> (this=0x559d6619b1b0) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/interfaces/iplugin.h:163 #6 KDevelop::Project::buildSystemManager (this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/shell/project.cpp:633 #7 0x00007fd9749d3572 in KDevelop::CompileAnalyzer::updateActions (this=0x559d64a62d60) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/plugins/compileanalyzercommon/compileanalyzer.cpp:151 #8 KDevelop::CompileAnalyzer::updateActions (this=0x559d64a62d60) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/plugins/compileanalyzercommon/compileanalyzer.cpp:132 #9 0x00007fd9d2e39946 in QtPrivate::QSlotObjectBase::call (a=0x7ffe9f2f21a0, r=0x559d64a62d60, this=0x559d649ecb80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #10 doActivate<false> (sender=0x559d64c6ea80, signal_index=3, argv=argv@entry=0x7ffe9f2f21a0) at kernel/qobject.cpp:3886 #11 0x00007fd9d2e32c60 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd9d4661260 <KDevelop::IDocumentController::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe9f2f21a0) at kernel/qobject.cpp:3946 #12 0x00007fd9d464760f in KDevelop::IDocumentController::documentActivated (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/build/kdevplatform/interfaces/KDevPlatformInterfaces_autogen/EWIEGA46WW/moc_idocumentcontroller.cpp:416 #13 0x00007fd9d4742f4b in KDevelop::MainWindowPrivate::changeActiveView (this=0x559d648752c0, view=0x559d65a292c0) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/shell/mainwindow_p.cpp:158 #14 0x00007fd9d2e39946 in QtPrivate::QSlotObjectBase::call (a=0x7ffe9f2f2300, r=0x559d648752c0, this=0x559d64cd34a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #15 doActivate<false> (sender=0x559d647b68c0, signal_index=12, argv=argv@entry=0x7ffe9f2f2300) at kernel/qobject.cpp:3886 #16 0x00007fd9d2e32c60 in QMetaObject::activate (sender=sender@entry=0x559d647b68c0, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe9f2f2300) at kernel/qobject.cpp:3946 #17 0x00007fd9d13fa902 in Sublime::MainWindow::activeViewChanged (this=this@entry=0x559d647b68c0, _t1=<optimized out>, _t1@entry=0x559d65a292c0) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/build/kdevplatform/sublime/KDevPlatformSublime_autogen/include/moc_mainwindow.cpp:282 #18 0x00007fd9d13fcde2 in Sublime::MainWindow::setActiveView (this=this@entry=0x559d647b68c0, view=view@entry=0x559d65a292c0, focus=focus@entry=true) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/sublime/mainwindow.cpp:239 #19 0x00007fd9d13fde53 in Sublime::MainWindow::activateView (this=0x559d647b68c0, view=0x559d65a292c0, focus=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/sublime/mainwindow.cpp:223 #20 0x00007fd9d477ea62 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=<optimized out>, doc=<optimized out>, range=..., activationParams=..., buddy=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/shell/documentcontroller.cpp:505 #21 0x00007fd9d477fa36 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x559d64ce1020, inputUrl=..., prefName=..., range=..., encoding=..., activationParams=..., buddy=0x0) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/shell/documentcontroller.cpp:340 #22 0x00007fd9d4780413 in KDevelop::DocumentController::openDocument (this=<optimized out>, inputUrl=..., range=..., activationParams=..., encoding=..., buddy=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/shell/documentcontroller.cpp:722 #23 0x00007fd9d464c1ea in KDevelop::IDocumentController::openDocument (this=<optimized out>, url=..., cursor=..., activationParams=..., activationParams@entry=..., encoding=...) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/kdevplatform/interfaces/idocumentcontroller.cpp:33 #24 0x00007fd974ac216a in ClassBrowserPlugin::showDefinition (this=<optimized out>, declaration=<error reading variable: access outside bounds of object referenced via synthetic pointer>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/plugins/classbrowser/classbrowserplugin.cpp:177 #25 ClassTree::itemActivated (this=0x559d652fcaa0, index=...) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/plugins/classbrowser/classtree.cpp:140 #26 0x00007fd9d2e39946 in QtPrivate::QSlotObjectBase::call (a=0x7ffe9f2f27f0, r=0x559d652fcaa0, this=0x559d65306440) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #27 doActivate<false> (sender=0x559d652fcaa0, signal_index=10, argv=argv@entry=0x7ffe9f2f27f0) at kernel/qobject.cpp:3886 #28 0x00007fd9d2e32c60 in QMetaObject::activate (sender=sender@entry=0x559d652fcaa0, m=m@entry=0x7fd9d4096b00 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe9f2f27f0) at kernel/qobject.cpp:3946 #29 0x00007fd9d3dd5025 in QAbstractItemView::activated (this=this@entry=0x559d652fcaa0, _t1=...) at .moc/moc_qabstractitemview.cpp:668 #30 0x00007fd9d3dd889d in QAbstractItemView::mouseReleaseEvent (this=0x559d652fcaa0, event=0x7ffe9f2f2ec0) at itemviews/qabstractitemview.cpp:1938 #31 0x00007fd9d3bc134e in QWidget::event (this=this@entry=0x559d652fcaa0, event=event@entry=0x7ffe9f2f2ec0) at kernel/qwidget.cpp:9019 #32 0x00007fd9d3c699be in QFrame::event (this=0x559d652fcaa0, e=0x7ffe9f2f2ec0) at widgets/qframe.cpp:550 #33 0x00007fd9d2e03093 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1189 #34 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x559d652f6ca0, event=event@entry=0x7ffe9f2f2ec0) at kernel/qcoreapplication.cpp:1178 #35 0x00007fd9d3b814ee in QApplicationPrivate::notify_helper (this=this@entry=0x559d644a18c0, receiver=receiver@entry=0x559d652f6ca0, e=e@entry=0x7ffe9f2f2ec0) at kernel/qapplication.cpp:3626 #36 0x00007fd9d3b883eb in QApplication::notify (this=0x7ffe9f2f2bc0, receiver=0x559d652f6ca0, e=0x7ffe9f2f2ec0) at kernel/qapplication.cpp:3076 #37 0x00007fd9d2e0332a in QCoreApplication::notifyInternal2 (receiver=0x559d652f6ca0, event=0x7ffe9f2f2ec0) at kernel/qcoreapplication.cpp:1063 #38 0x00007fd9d3b87416 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x559d652f6ca0, event=event@entry=0x7ffe9f2f2ec0, alienWidget=alienWidget@entry=0x559d652f6ca0, nativeWidget=0x559d647b68c0, buttonDown=buttonDown@entry=0x7fd9d40af670 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #39 0x00007fd9d3bd93b1 in QWidgetWindow::handleMouseEvent (this=0x559d64b2a930, event=0x7ffe9f2f3180) at kernel/qwidgetwindow.cpp:683 #40 0x00007fd9d3bdc8be in QWidgetWindow::event (this=0x559d64b2a930, event=0x7ffe9f2f3180) at kernel/qwidgetwindow.cpp:300 #41 0x00007fd9d3b814ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559d64b2a930, e=0x7ffe9f2f3180) at kernel/qapplication.cpp:3632 #42 0x00007fd9d2e0332a in QCoreApplication::notifyInternal2 (receiver=0x559d64b2a930, event=0x7ffe9f2f3180) at kernel/qcoreapplication.cpp:1063 #43 0x00007fd9d3353d03 in QGuiApplicationPrivate::processMouseEvent (e=0x7fd8ccbe0880) at kernel/qguiapplication.cpp:2282 #44 0x00007fd9d3329c5c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #45 0x00007fd9bea64faa in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #46 0x00007fd9cf47ef57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #47 0x00007fd9cf47f2d8 in ?? () from /usr/lib64/libglib-2.0.so.0 #48 0x00007fd9cf47f38f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #49 0x00007fd9d2e5a8bf in QEventDispatcherGlib::processEvents (this=0x559d64584790, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #50 0x00007fd9d2e01ceb in QEventLoop::exec (this=this@entry=0x7ffe9f2f34b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #51 0x00007fd9d2e09f60 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #52 0x00007fd9d334735c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #53 0x00007fd9d3b81475 in QApplication::exec () at kernel/qapplication.cpp:2824 #54 0x0000559d626e36e6 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.2.x86_64/app/main.cpp:850 [Inferior 1 (process 16458) detached] The reporter indicates this bug may be a duplicate of or related to bug 335412. Possible duplicates by query: bug 414551, bug 389564, bug 386313, bug 380313, bug 362984. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.