Bug 490753 - KWin crashes on external monitor unplug
Summary: KWin crashes on external monitor unplug
Status: RESOLVED DUPLICATE of bug 489180
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-07-24 12:05 UTC by Intergalactic Narwhal
Modified: 2024-07-24 16:55 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (133.58 KB, text/plain)
2024-07-24 12:05 UTC, Intergalactic Narwhal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Intergalactic Narwhal 2024-07-24 12:05:33 UTC
Application: plasmashell (6.1.3)

Qt Version: 6.7.2
Frameworks Version: 6.4.0
Operating System: Linux 6.9.9-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (Forty)"
DrKonqi: 6.1.3 [CoredumpBackend]

-- Information about the crash:
KDE is constantly crashing when unplugging an external HDMI display over USB-C. I'm using Fedora 40 with Wayland, this started when I updated to Plasma 6.1.3.
Another symptom of this is that when the display is turned off due to inactivity, after turning it on (moving the mouse etc.), the external monitor locks to a 640x480 resolution and can only be fixed by unplugging and replugging it.
It doesn't matter if it's turned off or not, it still crashes KDE.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QtWaylandClient::QWaylandWindow::waylandScreen (this=this@entry=0x561c62ccc100) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:956
#6  0x00007fbe5c6deb9b in QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x561c62ccc100) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:1519
#7  QtWaylandClient::QWaylandWindow::scale (this=this@entry=0x561c62ccc100) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/client/qwaylandwindow.cpp:1516
#8  0x00007fbe46cddfdb in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x561c62ccc100, create=true) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#9  0x00007fbe46cde973 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x7fbd9c0022e0, surface=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.7.2-2.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318


Reported using DrKonqi
Comment 1 Intergalactic Narwhal 2024-07-24 12:05:34 UTC
Created attachment 171954 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2024-07-24 16:55:28 UTC
Thank you for the bug report! This issue has already been filed and was determined to be an upstream bug in Qt; please see that bug report for updates on a fix.

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