Bug 509175

Summary: USB-C connection during wake from sleep events makes plasma crash
Product: [Plasma] plasmashell Reporter: mateMat <mathieu>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mds_foss
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description mateMat 2025-09-05 18:43:08 UTC
Application: plasmashell (6.4.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.2
Frameworks Version: 6.17.0
Operating System: Linux 6.14.0-29-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
Wake from sleep while connected to a LG usb-c screen. Have to use :~$ kquitapp5 plasmashell || killall plasmashell && kstart plasmashell 
to relaunch.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#6  0x0000787cc97e10da in QJSEngine::handle (this=0x0) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsapi/qjsengine.h:320
#7  QQmlEnginePrivate::getV4Engine (e=0x0) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/qml/qqmlengine_p.h:334
#8  QQuickStackElement::initialize (this=this@entry=0x60707f275970, requiredProperties=requiredProperties@entry=0x0) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/quicktemplates/qquickstackelement.cpp:210
#9  0x0000787cc97e1c2e in QQuickStackElement::load (this=0x60707f275970, parent=0x60707f095930) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/quicktemplates/qquickstackelement.cpp:180
#10 0x0000787cc97e07f7 in QQuickStackView::replace (this=0x60707f095930, args=0x7fff61b413c0) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/quicktemplates/qquickstackview.cpp:910
#11 0x0000787cc97e3017 in QQuickStackView::qt_metacall (this=0x60707f095930, _c=<optimized out>, _id=18, _a=0x7fff61b413e0) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/obj-x86_64-linux-gnu/src/quicktemplates/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:725
#12 0x0000787cd20b02da in QQmlObjectOrGadget::metacall (this=0x7fff61b413a0, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/qml/qqmlobjectorgadget.cpp:14
#13 0x0000787cd21a5b8a in operator() (__closure=<optimized out>) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4qobjectwrapper.cpp:3070
#15 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=0x787ca891b560, argc=3) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4qobjectwrapper.cpp:3064
#16 0x0000787cd22e1225 in QV4::Moth::VME::interpret (frame=0x60707f095930, frame@entry=0x7fff61b41820, engine=0x60707d991520, code=0x787ca891b548 "@\331p\250|x") at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4vme_moth.cpp:798
#17 0x0000787cd22e4601 in QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4vme_moth.cpp:487
#18 0x0000787cd2210697 in QV4::Moth::VME::exec (engine=0x60707d991520, frame=0x7fff61b41820) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4engine_p.h:830
#19 qfoDoCall (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4functionobject.cpp:527
#20 0x0000787cd219d657 in QV4::QObjectSlotDispatcher::impl (which=<optimized out>, this_=<optimized out>, receiver=<optimized out>, metaArgs=<optimized out>, ret=<optimized out>) at /usr/src/qt6-declarative-6.9.2-0zneon+24.04+noble+release+build61/src/qml/jsruntime/qv4jscall_p.h:81
#21 0x0000787cd0f46e39 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x60707f26cdf0, signal_index=35, argv=0x7fff61b41b70) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:4157


Reported using DrKonqi
Comment 1 mateMat 2025-09-05 18:43:10 UTC
Created attachment 184757 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 mydarkstar 2025-09-08 15:54:44 UTC
Thank you for reporting! I did some research on this issue in bug 509192.

*** This bug has been marked as a duplicate of bug 509192 ***
Comment 3 mateMat 2025-10-07 08:07:15 UTC
Problem was resolved by resetting the session.
Reproduce by closing all the apps, open application launcher, save session, reboot, reopen your everyday apps, reopen application laucher, save the session. Reproduced 2 times successfully.
Comment 4 Roke Julian Lockhart Beedell 2025-10-07 10:39:20 UTC
(In reply to mateMat from comment #3)

If you're saying this because you don't think it's a duplicate, a screen recording *might* help.