Bug 502513

Summary: plasmashell crash when powering screens
Product: [Plasma] plasmashell Reporter: Magne Djupvik <magnedj>
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.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/158830/events/91666f14a1664278be53bafc63e8c292/
Attachments: New crash information added by DrKonqi

Description Magne Djupvik 2025-04-07 08:37:43 UTC
Application: plasmashell (6.3.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.12.0
Operating System: Linux 6.12.21-1-longterm x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
So after #499383 got fixed, (thank you very much for that by the way), I still have plasmashell crashing when I power my two monitors. One is a TV screen and one is a regular PC screen, and I suspect there may still be some timing issue where plasmashell will crash when I turn the slower starting TV on first and then the other screen in rapid succession. Hopefully this backtrace will be useful, and if not, please tell me what additional information you need or want to figure the problem out.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/gui/kernel/qwindow.cpp:2200
#6  0x00007f9716053a55 in QPlatformWindow::screen (this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/gui/kernel/qplatformwindow.cpp:70
#7  0x00007f9716920859 in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=this@entry=0x5591f451dd20) at /usr/src/debug/qtwayland-everywhere-src-6.8.2/src/client/qwaylandwindow.cpp:554
#8  0x00007f97169253c6 in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x5591f451dd20) at /usr/src/debug/qtwayland-everywhere-src-6.8.2/src/client/qwaylandwindow.cpp:1446
#9  0x00007f971580ed61 in QtPrivate::QSlotObjectBase::call (this=0x5591f3d97b60, r=<optimized out>, a=0x7fffa8a0c068, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobjectdefs_impl.h:486


Reported using DrKonqi
Comment 1 Magne Djupvik 2025-04-07 08:37:44 UTC
Created attachment 180056 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-04-07 19:47:32 UTC

*** This bug has been marked as a duplicate of bug 499383 ***
Comment 3 Magne Djupvik 2025-04-07 20:24:56 UTC
I'm very sorry for the additional duplicate. I managed to confuse myself and thought the crash was fixed in 6.3.4, but your blog clearly states it's fixed in 6.3.5. My mistake. 
Thanks again for all your hard work.