Bug 445497

Summary: All Konsole windows crashed when a session which had launched a background application was closed
Product: [Applications] konsole Reporter: Rick Sanchez <karl.solomon20>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ninjalj, oded
Priority: NOR Keywords: drkonqi
Version: 21.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rick Sanchez 2021-11-14 18:39:32 UTC
Application: konsole (21.08.3)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.16-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- Multiple Konsole sessions opened, some in split view, some SSH'd into VPN
- I had opened a text editor (Sublime) with 'nohup subl &'
- When I closed the session which had spawned sublime all konsole windows crashed



Sublime Text Build 4121
OpenConnect version v8.10 (for VPN)

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f15f159bb24 in QProcess::processId() const () at /usr/lib/libQt5Core.so.5
#5  0x00007f15f296c82e in Konsole::Session::processId() const () at /usr/lib/libkonsoleprivate.so.21
#6  0x00007f15f296dbef in Konsole::Session::isForegroundProcessActive() () at /usr/lib/libkonsoleprivate.so.21
#7  0x00007f15f2a3aa87 in Konsole::MainWindow::queryClose() () at /usr/lib/libkonsoleapp.so.21
#8  0x00007f15f27fdc55 in KMainWindow::closeEvent(QCloseEvent*) () at /usr/lib/libKF5XmlGui.so.5
#9  0x00007f15f21fc0be in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f15f283f668 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#11 0x00007f15f21b8d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f15f16313fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f15f21f6f7e in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f15f16687ab in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f15f16687ab in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f15f29729bc in Konsole::Session::done(int, QProcess::ExitStatus) () at /usr/lib/libkonsoleprivate.so.21
#17 0x00007f15f16687ab in  () at /usr/lib/libQt5Core.so.5
#18 0x00007f15f159a6f9 in QProcess::finished(int, QProcess::ExitStatus) () at /usr/lib/libQt5Core.so.5
#19 0x00007f15f15a0206 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007f15f15a033e in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f15f16687e0 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f15f166bc70 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#23 0x00007f15f166c47d in QSocketNotifier::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f15f21b8d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f15f16313fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007f15f168ac3e in  () at /usr/lib/libQt5Core.so.5
#27 0x00007f15ef6bb4dc in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#28 0x00007f15ef70f799 in  () at /usr/lib/libglib-2.0.so.0
#29 0x00007f15ef6b8bc1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#30 0x00007f15f168a09f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007f15f162fd6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f15f16382d4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#33 0x00005565c24cd63f in  ()
#34 0x00007f15f0fbdb25 in __libc_start_main () at /usr/lib/libc.so.6
#35 0x00005565c24cd9de in  ()
[Inferior 1 (process 166224) detached]

Possible duplicates by query: bug 374174, bug 342216, bug 306503, bug 298337, bug 236867.

Reported using DrKonqi
Comment 1 Oded Arbel 2022-06-28 12:45:41 UTC
This issue may be related to bug #454964
Comment 2 ninjalj 2024-02-26 01:27:42 UTC

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