Bug 501074

Summary: Segfault at second display plug-in
Product: [Plasma] plasmashell Reporter: bugs-kde
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace

Description bugs-kde 2025-03-04 21:37:13 UTC
Created attachment 179124 [details]
Backtrace

Application: plasmashell (6.3.2)

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

-- Information about the crash:
Hi folk,
I have opened my laptop (it was in sleep), and pluged my USB-C docking station with a second monitor. And then, plasma as crashed.
To do so, I use EVDI 1.14.8.r1 and DisplayLink driver 6.1-1.

The crash can be reproduced sometimes.

-- Backtrace: In attachment
Comment 1 Nate Graham 2025-03-05 17:40:44 UTC
Thread 1 (Thread 0x73ed3f5a5a40 (LWP 1968)):
[KCrash Handler]
#5  QWindow::screen (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2200
#6  0x000073ed463cf1ac in QPlatformWindow::screen (this=this@entry=0x65275febb6a0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qplatformwindow.cpp:70
#7  0x000073ed46ba086a in QtWaylandClient::QWaylandWindow::calculateScreenFromSurfaceEvents (this=0x65275febb690) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:554
#8  0x000073ed46bad49a in QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x65275febb690) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:1446
#9  0x000073ed45bb1a49 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 0x000073ed45bb1a49 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 0x000073ed463f9f19 in QGuiApplication::screenAdded (this=<optimized out>, _t1=0x65275fd7b320) at /usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qguiapplication.cpp:420
#14 QWindowSystemInterface::handleScreenAdded (platformScreen=platformScreen@entry=0x73ed30005370, isPrimary=isPrimary@entry=false) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:726
#15 0x000073ed46b78f87 in QtWaylandClient::QWaylandDisplay::handleScreenInitialized (this=0x65275a985560, screen=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:603
#16 0x000073ed46b9b596 in QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x73ed30005370) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandscreen.cpp:81
#17 QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x73ed30005370) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandscreen.cpp:72
#18 0x000073ed4719d976 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#19 0x000073ed4719a12c in ffi_call_int (cif=cif@entry=0x7ffccbda2290, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676
#20 0x000073ed4719cf0e in ffi_call (cif=cif@entry=0x7ffccbda2290, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffccbda2360) at ../src/x86/ffi64.c:713
#21 0x000073ed4866f8b0 in wl_closure_invoke (closure=closure@entry=0x73ed3001eaf0, target=<optimized out>, target@entry=0x73ed3807ae70, opcode=opcode@entry=2, data=<optimized out>, flags=1) at ../wayland-1.23.1/src/connection.c:1228
#22 0x000073ed48670139 in dispatch_event (display=display@entry=0x65275a985780, queue=queue@entry=0x65275a985878) at ../wayland-1.23.1/src/wayland-client.c:1674
#23 0x000073ed48670553 in dispatch_queue (display=0x65275a985780, queue=0x65275a985878) at ../wayland-1.23.1/src/wayland-client.c:1820
#24 wl_display_dispatch_queue_pending (display=0x65275a985780, queue=0x65275a985878) at ../wayland-1.23.1/src/wayland-client.c:2062
#25 0x000073ed46b6d426 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:227
#26 0x000073ed45ba2f4a in QObject::event (this=0x65275a985560, e=0x73ed30010910) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1418
#27 0x000073ed47cff0ca in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x65275a985560, e=0x73ed30010910) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296
#28 0x000073ed45b55b00 in QCoreApplication::notifyInternal2 (receiver=0x65275a985560, event=event@entry=0x73ed30010910) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172
#29 0x000073ed45b55edc in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x73ed30010910) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1612
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x65275a97a790) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1946
#31 0x000073ed45dc859c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1800
#32 postEventSourceDispatch (s=0x65275a982f90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#33 0x000073ed446f5919 in g_main_dispatch (context=0x73ed38000f00) at ../glib/glib/gmain.c:3357
#34 0x000073ed447585d7 in g_main_context_dispatch_unlocked (context=0x73ed38000f00) at ../glib/glib/gmain.c:4208
#35 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x73ed38000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#36 0x000073ed446f4e15 in g_main_context_iteration (context=0x73ed38000f00, may_block=1) at ../glib/glib/gmain.c:4338
#37 0x000073ed45dc5782 in QEventDispatcherGlib::processEvents (this=0x65275a983710, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:401
#38 0x000073ed45b606a6 in QEventLoop::processEvents (this=0x7ffccbda29a0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:103
#39 QEventLoop::exec (this=0x7ffccbda29a0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:185
#40 0x000073ed45b591d6 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#41 0x000073ed47cfaf9a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2564
#42 0x0000652729c8a1cb in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.2/shell/main.cpp:191
Comment 2 Nate Graham 2025-03-05 17:42:11 UTC

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