Bug 502167

Summary: plasmashell crashes when Wayland changes screen configuration during wakeup
Product: [Plasma] plasmashell Reporter: kleines
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description kleines 2025-03-29 18:33:05 UTC
Application: plasmashell (6.3.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.12.0
Operating System: Linux 6.13.8-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.3.3 [CoredumpBackend]

-- Information about the crash:
When the system wakes up from sleep, or when it turns on the screen again, plasmashell *consistently always* crashes. This is most likely due to my screen configuration changing during the wakeup / screen-enable sequence and may be related to how the NVidia proprietary driver detects screens during that process. It has also been observed only on Wayland.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2200
#6  0x000074a8d47cf1ac in QPlatformWindow::screen (this=this@entry=0x64538358cac0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qplatformwindow.cpp:70
#7  0x000074a8d50ab86a in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=0x64538358cab0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:554
#8  0x000074a8d50b849a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x64538358cab0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1446
#9  0x000074a8d3fb1a49 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486


Reported using DrKonqi
Comment 1 kleines 2025-03-29 18:33:06 UTC
Created attachment 179845 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-03-31 19:25:20 UTC

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