Bug 494512 - plasmashell crash when turning off connected displays and then powering them back up
Summary: plasmashell crash when turning off connected displays and then powering them ...
Status: RESOLVED DUPLICATE of bug 477941
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-10-11 08:19 UTC by robin
Modified: 2024-10-11 18:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/73439/events/26db59f1e6b443d6b4fe78df71a448fa/


Attachments
New crash information added by DrKonqi (73.43 KB, text/plain)
2024-10-11 08:19 UTC, robin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robin 2024-10-11 08:19:35 UTC
Application: plasmashell (6.2.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.2
Frameworks Version: 6.6.0
Operating System: Linux 6.10.12-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.2.0 [CoredumpBackend]

-- Information about the crash:
I leave my computer on, but when I stop using it I turn off power to my two displays (HDMI and DP) and USB devices. The next time I use my computer, I see a message that plasmashell has crashed. I do not know if this happens when powering off, powering on, or at some point in between. Hopefully the attached crash report is useful.

It is not a regression in plasma 6.2, I already experienced this since 6.1 or maybe 6.0. Not in plasma 5.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007f3503bd1db2 in QQmlData::wasDeleted (priv=0x69007200630073) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmldata_p.h:305
#6  QQmlData::wasDeleted (object=0x561e617f1b50) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmldata_p.h:318
#7  QV4::QObjectWrapper::wrap (engine=0x561e616837e0, object=0x561e617f1b50) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper_p.h:233
#8  0x00007f3503c49cc8 in QV4::loadProperty (v4=0x561e616837e0, wrapper=<optimized out>, object=0x561e617e0570, property=...) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:134
#9  0x00007f3503c4b88f in QV4::QObjectWrapper::getQmlProperty (engine=engine@entry=0x561e616837e0, qmlContext=..., wrapper=0x7f34d41a5fa0, object=0x561e617e0570, name=0x7f34b71bf5a8, flags=flags@entry=..., hasProperty=0x0, property=0x0) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:519


Reported using DrKonqi
Comment 1 robin 2024-10-11 08:19:36 UTC
Created attachment 174673 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-10-11 18:04:20 UTC
Thread 1 (Thread 0x7f34fc49c680 (LWP 6388)):
[KCrash Handler]
#5  0x00007f3503bd1db2 in QQmlData::wasDeleted (priv=0x69007200630073) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmldata_p.h:305
#6  QQmlData::wasDeleted (object=0x561e617f1b50) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmldata_p.h:318
#7  QV4::QObjectWrapper::wrap (engine=0x561e616837e0, object=0x561e617f1b50) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper_p.h:233
#8  0x00007f3503c49cc8 in QV4::loadProperty (v4=0x561e616837e0, wrapper=<optimized out>, object=0x561e617e0570, property=...) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:134
#9  0x00007f3503c4b88f in QV4::QObjectWrapper::getQmlProperty (engine=engine@entry=0x561e616837e0, qmlContext=..., wrapper=0x7f34d41a5fa0, object=0x561e617e0570, name=0x7f34b71bf5a8, flags=flags@entry=..., hasProperty=0x0, property=0x0) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:519
#10 0x00007f3503e56e00 in QV4::QQmlTypeWrapper::virtualGet (m=0x7f34b71bf598, id=..., receiver=0x7f34b71bf598, hasProperty=0x0) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmltypewrapper_p.h:65
#11 0x00007f3503c11400 in QV4::Object::get (this=0x7f34b71bf598, name=<optimized out>, hasProperty=0x0, receiver=0x7f34b71bf598) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4string_p.h:140
#12 QV4::Lookup::getterFallback (l=<optimized out>, engine=0x561e616837e0, object=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4lookup.cpp:203
#13 0x00007f3503cae7f1 in QV4::Moth::VME::interpret (frame=0x561e616837e0, frame@entry=0x7ffee3c8a670, engine=0x561e616837e0, code=0x7f34935cd67e "<;<<N\b\022X\030\t\264=\001\t\030\006\002") at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:674
#14 0x00007f3503cb2edf in QV4::Moth::VME::exec (frame=frame@entry=0x7ffee3c8a670, engine=engine@entry=0x561e616837e0) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:487
#15 0x00007f3503bf2646 in QV4::doCall (self=<optimized out>, thisObject=thisObject@entry=0x7f34b71bf518, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4function.cpp:54
#16 0x00007f3503bf2b4d in QV4::Function::call (this=<optimized out>, thisObject=0x7f34b71bf518, thisObject@entry=0x7f34b71bf500, argv=argv@entry=0x7f34b71bf518, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/jsruntime/qv4function.cpp:79
#17 0x00007f3503d6decc in QQmlJavaScriptExpression::evaluate (this=this@entry=0x561e63530040, callData=callData@entry=0x7f34b71bf4e8, isUndefined=isUndefined@entry=0x7ffee3c8a830) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmljavascriptexpression.cpp:238
#18 0x00007f3503cfddb3 in QQmlBinding::evaluate (this=this@entry=0x561e63530040, isUndefined=isUndefined@entry=0x7ffee3c8a830) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:188
#19 0x00007f3503cfdeba in QQmlBinding::doUpdate (this=0x561e63530040, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:699
#20 0x00007f3503d01d18 in QQmlBinding::update (this=0x561e63530040, flags=...) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlbinding.cpp:164
#21 0x00007f3503d9f486 in QQmlObjectCreator::finalize (this=0x561e6352dbb0, interrupt=...) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlobjectcreator.cpp:1508
#22 0x00007f3503d1c949 in QQmlComponentPrivate::complete (enginePriv=0x561e6169a880, state=state@entry=0x561e634aa848) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/ftw/qbipointer_p.h:133
#23 0x00007f3503d22c5b in QQmlComponentPrivate::completeCreate (this=0x561e634aa790) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlcomponent.cpp:1277
#24 0x00007f350581d97b in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x561e6352d250, initialProperties=<optimized out>) at /usr/src/debug/libplasma-6.2.0-1.fc40.x86_64/src/plasmaquick/sharedqmlengine.cpp:269
#25 0x00007f3505800cac in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:836
#26 0x00007f35058309d9 in ContainmentItem::init (this=0x561e62212b70) at /usr/src/debug/libplasma-6.2.0-1.fc40.x86_64/src/plasmaquick/plasmoid/containmentitem.cpp:78
#27 0x00007f3503d9f96e in QQmlObjectCreator::finalize (this=0x561e62052c10, interrupt=...) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlobjectcreator.cpp:1567
#28 0x00007f3503d1c949 in QQmlComponentPrivate::complete (enginePriv=0x561e6169a880, state=state@entry=0x561e621ab308) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/ftw/qbipointer_p.h:133
#29 0x00007f3503d22c5b in QQmlComponentPrivate::completeCreate (this=0x561e621ab250) at /usr/src/debug/qt6-qtdeclarative-6.7.2-2.fc40.x86_64/src/qml/qml/qqmlcomponent.cpp:1277
#30 0x00007f350581d97b in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x561e621a9830, initialProperties=<optimized out>) at /usr/src/debug/libplasma-6.2.0-1.fc40.x86_64/src/plasmaquick/sharedqmlengine.cpp:269
#31 0x00007f3505800cac in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:836
#32 0x00007f3505815fef in PlasmaQuick::ContainmentViewPrivate::setContainment (this=0x561e620239a0, cont=0x561e61636940) at /usr/src/debug/libplasma-6.2.0-1.fc40.x86_64/src/plasmaquick/containmentview.cpp:113
#33 0x00007f350581627d in PlasmaQuick::ContainmentView::setContainment (this=<optimized out>, cont=<optimized out>) at /usr/src/debug/libplasma-6.2.0-1.fc40.x86_64/src/plasmaquick/containmentview.cpp:260
#34 0x0000561e5031748d in ShellCorona::createWaitingPanels (this=0x561e61241ef0) at /usr/src/debug/plasma-workspace-6.2.0-2.fc40.x86_64/shell/shellcorona.cpp:1565
#35 0x00007f35029fc8f2 in QtPrivate::QSlotObjectBase::call (this=0x561e614d5420, r=<optimized out>, a=0x7ffee3c8b990) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#36 doActivate<false> (sender=0x561e61242000, signal_index=3, argv=0x7ffee3c8b990) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#37 0x00007f35029f2bc7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3502e8b100, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffee3c8b990) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#38 0x00007f3502a0bcbd in QTimer::timeout (this=<optimized out>, _t1=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qtimer.cpp:224
#39 0x00007f35029edd5f in QObject::event (this=0x561e61242000, e=0x7ffee3c8bb40) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:1482
#40 0x00007f3504d8b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561e61242000, e=0x7ffee3c8bb40) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#41 0x00007f3502996e88 in QCoreApplication::notifyInternal2 (receiver=0x561e61242000, event=0x7ffee3c8bb40) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#42 0x00007f35029970ed in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583
#43 0x00007f3502b52b47 in QTimerInfoList::activateTimers (this=0x561e60fec410) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qtimerinfo_unix.cpp:434
#44 0x00007f3502c85011 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#45 idleTimerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:197
#46 0x00007f350156fe8c in g_main_dispatch (context=0x7f34e8000f00) at ../glib/gmain.c:3344
#47 g_main_context_dispatch_unlocked (context=0x7f34e8000f00) at ../glib/gmain.c:4152
#48 0x00007f35015d1c98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f34e8000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#49 0x00007f3501571383 in g_main_context_iteration (context=0x7f34e8000f00, may_block=1) at ../glib/gmain.c:4282
#50 0x00007f3502c851a3 in QEventDispatcherGlib::processEvents (this=0x561e60ef1030, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#51 0x00007f35029a3bc3 in QEventLoop::exec (this=this@entry=0x7ffee3c8be10, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#52 0x00007f350299fa7c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#53 0x00007f35031d66ed in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#54 0x00007f3504d8b189 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#55 0x0000561e502d3153 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.2.0-2.fc40.x86_64/shell/main.cpp:188
Comment 3 Nate Graham 2024-10-11 18:05:54 UTC

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