Bug 501438

Summary: Plasma crashes when reconnecting dock connecting external monitors
Product: [Plasma] plasmashell Reporter: Alfred Ilberg Ulvmose <alfred>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sitter
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: https://crash-reports.kde.org/organizations/kde/issues/145905/events/fcad55d4f9f540a29a762da243e31546/
Attachments: New crash information added by DrKonqi

Description Alfred Ilberg Ulvmose 2025-03-13 08:27:36 UTC
Application: plasmashell (6.3.3)

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

-- Information about the crash:
So occasionally my external monitors do not show up, and I have to reconnect the dock for them to appear (or sometimes just a monitor from the dock), and this occasionally causes Plasma to crash. The monitor not appearing issue seems to be unrelated because the monitors also don't work before Plasma even starts when the issue happens.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2200
#6  0x000073d805fcf1ac in QPlatformWindow::screen (this=this@entry=0x5b53974f17d0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qplatformwindow.cpp:70
#7  0x000073d8068ab86a in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=0x5b53974f17c0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:554
#8  0x000073d8068b849a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x5b53974f17c0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1446
#9  0x000073d8057b1a49 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 Alfred Ilberg Ulvmose 2025-03-13 08:27:38 UTC
Created attachment 179364 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Harald Sitter 2025-03-13 09:47:39 UTC

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