[konsole] [Bug 510772] New: Konsole crashes when shutting down qemu VM

"Daniel Santos" <[email protected]> Sun, 19 Oct 2025 02:53:25 +0000
Newsgroups gmane.comp.kde.devel.konsole
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=3D510772

            Bug ID: 510772
           Summary: Konsole crashes when shutting down qemu VM
    Classification: Applications
           Product: konsole
      Version First 22.12.3
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: konsole (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.12.30+bpo-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Note I've selected "Debian stable", but I"m behind now and still on Bookwor=
m.

Each time, I was running a VM in qemu. I logged on to the VM using the qemu
console (not the monitor), did a few thing and ran `sudo shutdown now & exi=
t 0`
to start the VM shutting down and exit the shell. So I see a login prompt
again, I see the shutdown messages, and then instead of qemu exiting and
returning me to my command prompt, Konsole crashes. I've done this twice no=
w.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f1e6c115f8e in
Konsole::Vt102Emulation::processSessionAttributeRequest(int, unsigned int) =
()
from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#5  0x00007f1e6c119567 in
Konsole::Vt102Emulation::switchState(Konsole::Vt102Emulation::ParserStates,
unsigned int) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#6  0x00007f1e6c119940 in
Konsole::Vt102Emulation::receiveChars(QVector<unsigned int> const&) () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7  0x00007f1e6c0e3233 in Konsole::Emulation::receiveData(char const*, int)=
 ()
from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8  0x00007f1e6aae8f8f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f1e6c0d42d6 in Konsole::Pty::receivedData(char const*, int) () f=
rom
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#10 0x00007f1e6c0ed3d2 in Konsole::Pty::dataReceived() () from
/lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#11 0x00007f1e6aae8f8f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f1e6bcbbfd6 in ?? () from /lib/x86_64-linux-gnu/libKF5Pty.so.5
#13 0x00007f1e6bcbc369 in ?? () from /lib/x86_64-linux-gnu/libKF5Pty.so.5
#14 0x00007f1e6aae8fbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f1e6aaec344 in QSocketNotifier::activated(int,
QSocketNotifier::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.s=
o.5
#16 0x00007f1e6aaecaee in QSocketNotifier::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f1e6b762fae in QApplicationPrivate::notify_helper(QObject*, QEve=
nt*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f1e6aab1738 in QCoreApplication::notifyInternal2(QObject*, QEven=
t*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f1e6ab0a3cd in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f1e68e60709 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f1e68e60998 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f1e68e60a2c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f1e6ab09876 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) =
()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f1e6aab01bb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f1e6aab8316 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x0000560039a72e4c in ?? ()
#27 0x00007f1e6a64524a in __libc_start_call_main
(main=3Dmain@entry=3D0x560039a72690, argc=3Dargc@entry=3D3,
argv=3Dargv@entry=3D0x7ffda123d8d8) at ../sysdeps/nptl/libc_start_call_main=
.h:58
#28 0x00007f1e6a645305 in __libc_start_main_impl (main=3D0x560039a72690, ar=
gc=3D3,
argv=3D0x7ffda123d8d8, init=3D<optimized out>, fini=3D<optimized out>,
rtld_fini=3D<optimized out>, stack_end=3D0x7ffda123d8c8) at ../csu/libc-sta=
rt.c:360
#29 0x0000560039a73301 in ?? ()
[Inferior 1 (process 3584) detached]

Reported using DrKonqi

--=20
You are receiving this mail because:
You are the assignee for the bug.=