Bug 500389

Summary: plasmashell crash when reconnecting the laptop to an external screen
Product: [Plasma] plasmashell Reporter: Reza Jahanbakhshi <reza.jahanbakhshi>
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.1   
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 Reza Jahanbakhshi 2025-02-19 10:28:35 UTC
Application: plasmashell (6.3.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.13.2-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.3.1 [CoredumpBackend]

-- Information about the crash:
The crash happened multiple times.
1. Connect the external screen.
2. Have some applications open on the external screen.
3. Disconnect the external screen.
4. Leave the laptop to go to the lock screen.
5. Connect the external screen.
6. Unlock the computer.
7. Crash report dialog appears.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qscopedpointer.h:110
[...]
#8  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2199
#9  0x00007df7025cf1ac in QPlatformWindow::screen (this=this@entry=0x5f91eef4b610) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qplatformwindow.cpp:70
#10 0x00007df702da086a in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=0x5f91eef4b600) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:554
#11 0x00007df702dad49a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x5f91eef4b600) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1446


Reported using DrKonqi
Comment 1 Reza Jahanbakhshi 2025-02-19 10:28:36 UTC
Created attachment 178575 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2025-02-19 13:34:21 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 ***