Bug 500963

Summary: plasmashell crashes if second screen turns on while it's rearranging windows
Product: [Plasma] plasmashell Reporter: Magne Djupvik <magnedj>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cwo.kde
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/140765/events/e5676e7c386e4f5ca2c7ab1515335bbd/
Attachments: New crash information added by DrKonqi

Description Magne Djupvik 2025-03-02 16:02:31 UTC
Application: plasmashell (6.3.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.13.4-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.3.2 [CoredumpBackend]

-- Information about the crash:
I have two screens, and if I turn one of them or both off and I turn them on again, often plasmashell crashes, but not every time. I believe it's a timing issue, where it won't crash if I wait until it has moved all windows to one screen, but if I turn it on while it's moving windows to the single screen it crashes.

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  0x00007ff6f0c538b5 in QPlatformWindow::screen (this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/gui/kernel/qplatformwindow.cpp:70
#7  0x00007ff6f15207f9 in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=this@entry=0x55b64bae3730) at /usr/src/debug/qtwayland-everywhere-src-6.8.2/src/client/qwaylandwindow.cpp:554
#8  0x00007ff6f1525366 in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x55b64bae3730) at /usr/src/debug/qtwayland-everywhere-src-6.8.2/src/client/qwaylandwindow.cpp:1446
#9  0x00007ff6f040ebe1 in QtPrivate::QSlotObjectBase::call (this=0x55b649ae23c0, r=<optimized out>, a=0x7ffd23b49178, 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-03-02 16:02:32 UTC
Created attachment 179043 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2025-03-02 20:35:07 UTC
Thank you for the bug report! This issue is already being tracked; marking as a duplicate.

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