Bug 501678

Summary: plasmashell crashes when replugging external screen
Product: [Plasma] plasmashell Reporter: Lê Hoàng Phương <lehoangphuongbg>
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: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Lê Hoàng Phương 2025-03-18 07:27:47 UTC
Application: plasmashell (6.3.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.13.6-200.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41.20250313.0 (Kinoite)"
DrKonqi: 6.3.2 [CoredumpBackend]

-- Information about the crash:
Reproduction steps:

Step 1: Connect external monitor. External monitor is set as primary screen. (may or may not cause the crash)
Step 2: Have some windows on external monitor
Step 3: Disconnect the monitor
Step 4: Reconnect the monitor

Expected:
plasmashell does not crashes

Actual:
plasmashell crashes

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qwindow.cpp:2200
#6  0x00007fb72652e7b5 in QPlatformWindow::screen (this=this@entry=0x55b189ff67e0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qplatformwindow.cpp:70
#7  0x00007fb726f3c259 in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=this@entry=0x55b189ff67d0) at /usr/src/debug/qt6-qtwayland-6.8.2-1.fc41.x86_64/src/client/qwaylandwindow.cpp:554
#8  0x00007fb726f40f8a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x55b189ff67d0) at /usr/src/debug/qt6-qtwayland-6.8.2-1.fc41.x86_64/src/client/qwaylandwindow.cpp:1446
#9  0x00007fb725d5a26e in QtPrivate::QSlotObjectBase::call (this=0x55b18ac16d90, r=<optimized out>, a=0x7ffca9525188) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486


Reported using DrKonqi
Comment 1 Lê Hoàng Phương 2025-03-18 07:28:04 UTC
Created attachment 179528 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2025-03-18 09:41: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 ***