Bug 490314

Summary: Plasma crashes when display config switches
Product: [Plasma] plasmashell Reporter: Kristen McWilliam <kmcwilliampublic>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cwo.kde
Priority: NOR Keywords: drkonqi
Version: 6.1.1   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Kristen McWilliam 2024-07-15 16:09:18 UTC
Application: plasmashell (6.1.1)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.7-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.1.1 [CoredumpBackend]

-- Information about the crash:
The crash seems to happen in 2 scenarios:

- One of the attached displays is turned off, and goes in to a sleep mode where it is momentarily seen as disconnected
- I press a hotkey that runs a script, which changes the enabled displays using kscreen-doctor

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QtWaylandClient::QWaylandWindow::waylandScreen (this=this@entry=0x565051f99590) at /usr/src/debug/qt6-qtwayland-6.7.2-1.fc40.x86_64/src/client/qwaylandwindow.cpp:956
#6  0x00007f7bc54dedab in QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x565051f99590) at /usr/src/debug/qt6-qtwayland-6.7.2-1.fc40.x86_64/src/client/qwaylandwindow.cpp:1517
#7  QtWaylandClient::QWaylandWindow::scale (this=this@entry=0x565051f99590) at /usr/src/debug/qt6-qtwayland-6.7.2-1.fc40.x86_64/src/client/qwaylandwindow.cpp:1514
#8  0x00007f7bafa71fdb in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x565051f99590, create=true) at /usr/src/debug/qt6-qtwayland-6.7.2-1.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#9  0x00007f7bafa72973 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x7f7abc593c20, surface=<optimized out>) at /usr/src/debug/qt6-qtwayland-6.7.2-1.fc40.x86_64/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318


Reported using DrKonqi
Comment 1 Kristen McWilliam 2024-07-15 16:09:20 UTC
Created attachment 171682 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2024-07-15 21:38:21 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 ***