Bug 431439 - KDevelop crashed when launching a debug session
Summary: KDevelop crashed when launching a debug session
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.5.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-01-11 14:11 UTC by Christian Gruber
Modified: 2022-09-13 10:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.72 KB, text/plain)
2022-09-13 10:46 UTC, vladmir_ovchinnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Gruber 2021-01-11 14:11:59 UTC
Application: kdevelop (5.5.2)

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.57-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

-- Information about the crash:
I tried to launch a debug session on a prebuilt binary of the Octave application (octave.org), i.e. the binary was not built using KDevelop. As soon as I pressed the "Ok" button, KDevelop crashed.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fdd5785e2a0 in ?? ()
#5  0x00007fdd674d2c37 in std::default_delete<KDevMI::STTY>::operator() (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:78
#6  std::unique_ptr<KDevMI::STTY, std::default_delete<KDevMI::STTY> >::reset (__p=<optimized out>, this=0x564f51d7df80) at /usr/include/c++/7/bits/unique_ptr.h:371
#7  KDevMI::MIDebugSession::startDebugging (this=0x564f51d7df40, cfg=<optimized out>, iexec=0x564f51e16c98) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/plugins/debuggercommon/midebugsession.cpp:245
#8  0x00007fdd674da09c in KDevMI::MIDebugJob::start (this=0x564f530d5270) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/plugins/debuggercommon/midebugjobs.cpp:119
#9  0x00007fddbc454997 in KDevelop::ExecuteCompositeJobPrivate::startNextJob (this=<optimized out>, job=0x564f530d5270) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/kdevplatform/util/executecompositejob.cpp:61
#10 0x00007fddbc76794f in KDevelop::RunController::registerJob (this=0x564f51b4afe0, job=<optimized out>) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/kdevplatform/shell/runcontroller.cpp:633
#11 0x00007fddbc7662a0 in KDevelop::RunController::execute (this=0x564f51b4afe0, runMode=..., launch=0x564f52e50c10) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/kdevplatform/shell/runcontroller.cpp:427
#12 0x00007fddbc767399 in KDevelop::RunController::executeDefaultLaunch (this=0x564f51b4afe0, runMode=...) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/kdevplatform/shell/runcontroller.cpp:923
#13 0x00007fddbc7656f9 in KDevelop::RunController::slotDebug (this=0x564f51b4afe0) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/kdevplatform/shell/runcontroller.cpp:551
#14 0x00007fddb99d7f4f in QtPrivate::QSlotObjectBase::call (a=0x7fff94144290, r=0x564f51b4afe0, this=0x564f51b6f260) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#15 QMetaObject::activate (sender=sender@entry=0x564f51b6f2c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff94144290) at kernel/qobject.cpp:3784
#16 0x00007fddb99d8547 in QMetaObject::activate (sender=sender@entry=0x564f51b6f2c0, m=m@entry=0x7fddbb8ed2a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff94144290) at kernel/qobject.cpp:3657
#17 0x00007fddbb212822 in QAction::triggered (this=this@entry=0x564f51b6f2c0, _t1=<optimized out>) at .moc/moc_qaction.cpp:380
#18 0x00007fddbb214e3c in QAction::activate (this=0x564f51b6f2c0, event=<optimized out>) at kernel/qaction.cpp:1166
#19 0x00007fddbb38b03c in QMenuPrivate::activateCausedStack (this=this@entry=0x564f51e514b0, causedStack=..., action=action@entry=0x564f51b6f2c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1355
#20 0x00007fddbb39263b in QMenuPrivate::activateAction (this=this@entry=0x564f51e514b0, action=action@entry=0x564f51b6f2c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1432
#21 0x00007fddbb3934b3 in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7fff94144970) at widgets/qmenu.cpp:2940
#22 0x00007fddbb259238 in QWidget::event (this=this@entry=0x564f51b9eaf0, event=event@entry=0x7fff94144970) at kernel/qwidget.cpp:9343
#23 0x00007fddbb39577b in QMenu::event (this=0x564f51b9eaf0, e=0x7fff94144970) at widgets/qmenu.cpp:3062
#24 0x00007fddbb218f2c in QApplicationPrivate::notify_helper (this=this@entry=0x564f51387b70, receiver=receiver@entry=0x564f51b9eaf0, e=e@entry=0x7fff94144970) at kernel/qapplication.cpp:3701
#25 0x00007fddbb221418 in QApplication::notify (this=<optimized out>, receiver=0x564f51b9eaf0, e=0x7fff94144970) at kernel/qapplication.cpp:3161
#26 0x00007fddb99a8328 in QCoreApplication::notifyInternal2 (receiver=0x564f51b9eaf0, event=0x7fff94144970) at kernel/qcoreapplication.cpp:1088
#27 0x00007fddb99a850e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x564f51b9eaf0, event=event@entry=0x7fff94144970) at kernel/qcoreapplication.cpp:1488
#28 0x00007fddbb21fa0f in QApplicationPrivate::sendMouseEvent (receiver=0x564f51b9eaf0, event=event@entry=0x7fff94144970, alienWidget=0x0, nativeWidget=0x564f51b9eaf0, buttonDown=buttonDown@entry=0x7fddbb9243f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2647
#29 0x00007fddbb2745f4 in QWidgetWindow::handleMouseEvent (this=this@entry=0x564f52a4dd30, event=event@entry=0x7fff94144e00) at kernel/qwidgetwindow.cpp:566
#30 0x00007fddbb276d6a in QWidgetWindow::event (this=0x564f52a4dd30, event=0x7fff94144e00) at kernel/qwidgetwindow.cpp:289
#31 0x00007fddbb218f2c in QApplicationPrivate::notify_helper (this=this@entry=0x564f51387b70, receiver=receiver@entry=0x564f52a4dd30, e=e@entry=0x7fff94144e00) at kernel/qapplication.cpp:3701
#32 0x00007fddbb220540 in QApplication::notify (this=0x7fff94145360, receiver=0x564f52a4dd30, e=0x7fff94144e00) at kernel/qapplication.cpp:3447
#33 0x00007fddb99a8328 in QCoreApplication::notifyInternal2 (receiver=0x564f52a4dd30, event=0x7fff94144e00) at kernel/qcoreapplication.cpp:1088
#34 0x00007fddb99a850e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x564f52a4dd30, event=event@entry=0x7fff94144e00) at kernel/qcoreapplication.cpp:1488
#35 0x00007fddba4a1465 in QGuiApplicationPrivate::processMouseEvent (e=0x564f5302c290) at kernel/qguiapplication.cpp:2107
#36 0x00007fddba4a27b5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x564f5302c290) at kernel/qguiapplication.cpp:1842
#37 0x00007fddba47c23b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#38 0x00007fdd927621da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#39 0x00007fddafcbb4a4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fddafcbb840 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x00007fddafcbb8cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x00007fddb9a053af in QEventDispatcherGlib::processEvents (this=0x564f514a28b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007fddb99a657a in QEventLoop::exec (this=this@entry=0x7fff941451a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#44 0x00007fddb99af780 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#45 0x00007fddba496f3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1784
#46 0x00007fddbb218e85 in QApplication::exec () at kernel/qapplication.cpp:2857
#47 0x0000564f51082653 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop5-5.5.2-lp152.1.1.x86_64/app/main.cpp:852
[Inferior 1 (process 25067) detached]

Possible duplicates by query: bug 430698, bug 429420, bug 410860, bug 384852, bug 228631.

Reported using DrKonqi
Comment 1 vladmir_ovchinnikov 2022-09-13 10:46:12 UTC
Created attachment 152020 [details]
New crash information added by DrKonqi

kdevelop (5.9.220801 (22.08.1)) using Qt 5.15.6

When launching debug session KDevelop crashes, (Bug report shows segmentation fault error).
though external terminal emulator launches but does not launch the compiled program

-- Backtrace (Reduced):
#4  0x00007fc3800a37e0 in KDevMI::MIDebugSession::startDebugging(KDevelop::ILaunchConfiguration*, IExecutePlugin*) () at /usr/lib/qt/plugins/kdevplatform/37/kdevlldb.so
#5  0x00007fc3800aa58b in KDevMI::MIDebugJob::start() () at /usr/lib/qt/plugins/kdevplatform/37/kdevlldb.so
#6  0x00007fc3ca30738c in KDevelop::RunController::registerJob(KJob*) () at /usr/lib/libKDevPlatformShell.so.59
#7  0x00007fc3ca300970 in KDevelop::RunController::execute(QString const&, KDevelop::ILaunchConfiguration*) () at /usr/lib/libKDevPlatformShell.so.59
#8  0x00007fc3ca2fc427 in KDevelop::RunController::slotDebug() () at /usr/lib/libKDevPlatformShell.so.59