Bug 501277 - Plasmashell segmentation fault when connecting an external monitor
Summary: Plasmashell segmentation fault when connecting an external monitor
Status: RESOLVED DUPLICATE of bug 499383
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.3.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-03-09 22:18 UTC by cherine.kamel
Modified: 2025-03-10 15:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (193.07 KB, text/plain)
2025-03-09 22:18 UTC, cherine.kamel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cherine.kamel 2025-03-09 22:18:42 UTC
Application: plasmashell (6.3.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.12.18-1-lts x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.3.2 [CoredumpBackend]

-- Information about the crash:
When connecting an external monitor to my laptop, plasmashell crashes with a segmentation fault.

The monitor is connected via DisplayPort on a Thunderbolt 3 Dock connected to the laptop.

Other than the crash, there is no side effect. Plasmashell restarts instantly and everything (including the external monitor) works as expected.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2200
#6  0x00007c45e67cf1ac in QPlatformWindow::screen (this=this@entry=0x5e2d2a8f6490) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qplatformwindow.cpp:70
#7  0x00007c45e70ab86a in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=0x5e2d2a8f6480) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:554
#8  0x00007c45e70b849a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x5e2d2a8f6480) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1446
#9  0x00007c45e5fb1a49 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 cherine.kamel 2025-03-09 22:18:44 UTC
Created attachment 179254 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-03-10 15:06:00 UTC
Searchable backtrace

Thread 1 (Thread 0x7c45df9f5a40 (LWP 52525)):
[KCrash Handler]
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2200
#6  0x00007c45e67cf1ac in QPlatformWindow::screen (this=this@entry=0x5e2d2a8f6490) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qplatformwindow.cpp:70
#7  0x00007c45e70ab86a in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=0x5e2d2a8f6480) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:554
#8  0x00007c45e70b849a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x5e2d2a8f6480) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1446
#9  0x00007c45e5fb1a49 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
#10 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4115
#11 0x00007c45e5fb1a49 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
#12 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4115
#13 0x00007c45e67f9f19 in QGuiApplication::screenAdded (this=<optimized out>, _t1=0x7c45009415f0) at /usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qguiapplication.cpp:420
#14 QWindowSystemInterface::handleScreenAdded (platformScreen=platformScreen@entry=0x7c45c8035a80, isPrimary=isPrimary@entry=false) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:726
#15 0x00007c45e7083f87 in QtWaylandClient::QWaylandDisplay::handleScreenInitialized (this=0x5e2d27884200, screen=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:603
#16 0x00007c45e70a6596 in QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x7c45c8035a80) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandscreen.cpp:81
#17 QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x7c45c8035a80) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandscreen.cpp:72
#18 0x00007c45e640e976 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#19 0x00007c45e640b12c in ffi_call_int (cif=cif@entry=0x7fff79f17f80, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676
#20 0x00007c45e640df0e in ffi_call (cif=cif@entry=0x7fff79f17f80, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fff79f18050) at ../src/x86/ffi64.c:713
#21 0x00007c45e8ac48b0 in wl_closure_invoke (closure=closure@entry=0x7c45c802d770, target=<optimized out>, target@entry=0x5e2d2ae3a090, opcode=opcode@entry=2, data=<optimized out>, flags=1) at ../wayland-1.23.1/src/connection.c:1228
#22 0x00007c45e8ac5139 in dispatch_event (display=display@entry=0x5e2d27884420, queue=queue@entry=0x5e2d27884518) at ../wayland-1.23.1/src/wayland-client.c:1674
#23 0x00007c45e8ac5553 in dispatch_queue (display=0x5e2d27884420, queue=0x5e2d27884518) at ../wayland-1.23.1/src/wayland-client.c:1820
#24 wl_display_dispatch_queue_pending (display=0x5e2d27884420, queue=0x5e2d27884518) at ../wayland-1.23.1/src/wayland-client.c:2062
#25 0x00007c45e708174e in QtWaylandClient::QWaylandDisplay::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:227
#26 0x00007c45e5fb1c9a in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4127
#27 0x00007c45e61c57a5 in QAbstractEventDispatcher::awake (this=0x5e2d278823b0) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstracteventdispatcher.cpp:159
#28 QEventDispatcherGlib::processEvents (this=0x5e2d278823b0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:406
#29 0x00007c45e5f606a6 in QEventLoop::processEvents (this=0x7fff79f18420, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103
#30 QEventLoop::exec (this=0x7fff79f18420, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185
#31 0x00007c45e5f591d6 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#32 0x00007c45e80faf9a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2564
#33 0x00005e2d1fa111cb in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.2/shell/main.cpp:191
Comment 3 TraceyC 2025-03-10 15:13:24 UTC
Backtrace indicates this is a duplicate of 499383. Please follow that report for updates. Thanks!

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