Bug 472651 - Konsole crashes when external monotor is unplugged
Summary: Konsole crashes when external monotor is unplugged
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-26 08:23 UTC by Yurii
Modified: 2024-07-06 03:47 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (3.04 KB, text/plain)
2023-09-29 06:07 UTC, Yurii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yurii 2023-07-26 08:23:46 UTC
Application: konsole (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.2.0-10018-tuxedo x86_64
Windowing System: X11
Distribution: TUXEDO OS 2
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
When i unplug my external monitor from the laptop Konsole crashes immediately. The monitor is connected directly to the laptop via HDMI cable. It doesn't happen exactly every time but often enough.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:317
#5  0x00007f0b118e92c2 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#6  0x00007f0b118e9905 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007f0b118ea237 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f0b18713314 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f0b18d79e52 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f0b18d7bac3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f0b18d7da30 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f0b18dc89d1 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f0b18dcc879 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f0b18d6c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f0b180bcdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f0b1853fb70 in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f0b18516dbc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f0b118f4f3e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007f0b1624cd3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f0b162a2258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f0b1624a3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f0b18116258 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f0b180bb6fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f0b180c3c94 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x000056510b94f7ed in ?? ()
#26 0x00007f0b17629d90 in __libc_start_call_main (main=main@entry=0x56510b94dce0, argc=argc@entry=1, argv=argv@entry=0x7fff88285938) at ../sysdeps/nptl/libc_start_call_main.h:58
#27 0x00007f0b17629e40 in __libc_start_main_impl (main=0x56510b94dce0, argc=1, argv=0x7fff88285938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff88285928) at ../csu/libc-start.c:392
#28 0x000056510b950055 in ?? ()
[Inferior 1 (process 7236) detached]

Reported using DrKonqi
Comment 1 Yurii 2023-09-29 06:07:18 UTC
Created attachment 161945 [details]
New crash information added by DrKonqi

konsole (23.08.1) using Qt 5.15.10

Plasma version 5.27.8, the bug still persists

-- Backtrace (Reduced):
#4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:317
[...]
#8  0x00007fcb7bf13144 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
[...]
#14 0x00007fcb7c56c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fcb7b8bce7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fcb7bd3fa60 in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
Comment 2 Christoph Cullmann 2024-06-06 22:12:21 UTC
Can not reproduce that with a more recent version, please try 24.02 or higher, thanks.

Qt 5.x had some bugs related to this, the Qt 6 version should be more robust.
Comment 3 Bug Janitor Service 2024-06-21 03:47:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-07-06 03:47:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!