Bug 512851

Summary: plasmashell sometimes crashes when adding application launcher to panel
Product: [Plasma] plasmashell Reporter: Joaquim Monteiro <joaquim.monteiro>
Component: Edit ModeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.5.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/1719/events/5a4081377bcf4af483caf698e3287e07/
Attachments: New crash information added by DrKonqi

Description Joaquim Monteiro 2025-12-02 00:00:51 UTC
Application: plasmashell (6.5.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.1
Frameworks Version: 6.20.0
Operating System: Linux 6.17.9-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.5.3 [CoredumpBackend]

-- Information about the crash:
Steps to reproduce:

1. Enter Edit mode
2. Pick "Add or manage widgets..."
3. Find the Application Launcher widget
4. Drag it to a panel

Expected result:

The launcher gets added to the panel.

Observed result:

plasmashell freezes, then restarts.

It doesn't happen every time, but I managed to do it twice after a few minutes.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#7  0x00007f7a17c74c03 in QQmlPrivate::loadFallbackAsVariant (lookup=0x558ba2e90e70, object=0x558ba42e6310, target=0x7fff0aa53c98, aotContext=0x7fff0aa53da0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:1458
#8  QQmlPrivate::AOTCompiledContext::getObjectLookup (this=this@entry=0x7fff0aa53da0, index=index@entry=200, object=0x558ba42e6310, target=target@entry=0x7fff0aa53c98) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:2808
#9  0x00007f79ef729eff in QmlCacheGeneratedCode::_qt_qml_plasma_applet_org_kde_plasma_kickoff_main_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext const*, void**)#29}::operator()(QQmlPrivate::AOTCompiledContext const*, void**) const (__closure=0x0, aotContext=0x7fff0aa53da0, argv=0x7fff0aa54110) at /usr/src/debug/plasma-desktop/build/applets/kickoff/.rcc/qmlcache/org.kde.plasma.kickoff_main_qml.cpp:7599
#10 QmlCacheGeneratedCode::_qt_qml_plasma_applet_org_kde_plasma_kickoff_main_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext const*, void**)#29}::_FUN(QQmlPrivate::AOTCompiledContext const*, void**) () at /usr/src/debug/plasma-desktop/build/applets/kickoff/.rcc/qmlcache/org.kde.plasma.kickoff_main_qml.cpp:7623
#11 0x00007f7a17c47791 in operator() (argc=<optimized out>, __closure=0x7fff0aa53e30, argv=0x7fff0aa54110) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:452
#12 QV4::coerceAndCall<(anonymous namespace)::AOTCompiledMetaMethod, QV4::Moth::VME::exec(QV4::MetaTypesStackFrame*, QV4::ExecutionEngine*)::<lambda(void**, int)> >(QV4::ExecutionEngine *, const (anonymous namespace)::AOTCompiledMetaMethod *, void **, const QMetaType *, int, struct {...}) (engine=engine@entry=0x558ba1c433a0, typedFunction=typedFunction@entry=0x7fff0aa53e68, argv=<optimized out>, types=<optimized out>, argc=<optimized out>, call=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:560
#13 0x00007f7a17c4f0e6 in QV4::Moth::VME::exec (frame=<optimized out>, engine=0x558ba1c433a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:437
#14 0x00007f7a17b9c72b in QV4::Moth::VME::exec (frame=0x7fff0aa53f00, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:419
#15 QV4::Function::call (this=0x558ba2b0a410, thisObject=0x558ba948c770, a=0x7fff0aa54110, types=0x7fff0aa54108, argc=0, context=0x7f7993c0e2a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:37
#16 0x00007f7a17cf3230 in QQmlJavaScriptExpression::evaluate (this=<optimized out>, a=<optimized out>, types=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:270
#17 0x00007f7a17c84e56 in QQmlBinding::evaluate (this=0x558ba46d3d60, result=0x7fff0aa540c0, type=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding_p.h:86
#18 QQmlBinding::doUpdate (this=0x558ba46d3d60, watcher=..., flags=..., scope=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:702
#19 0x00007f7a17c83a6d in QQmlBinding::update (this=0x558ba46d3d60, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:165
#20 0x00007f7a17d2b718 in QQmlObjectCreator::finalize (this=0x558ba8aa1f70, interrupt=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1552
#21 0x00007f7a17c9cd85 in QQmlComponentPrivate::complete (enginePriv=0x558ba1abb9a0, state=state@entry=0x7f7a04027e90) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/ftw/qbipointer_p.h:133
#22 0x00007f7a17c9fbcc in QQmlComponentPrivate::completeCreate (this=0x7f7a04027e10) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1344


Reported using DrKonqi
Comment 1 Joaquim Monteiro 2025-12-02 00:00:52 UTC
Created attachment 187299 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-12-02 21:49:42 UTC
Searchable backtrace

Thread 1 (Thread 0x7f7a0fbf9080 (LWP 1641)):
[KCrash Handler]
#5  0x00007f7a1677c2b7 in QMetaObject::propertyOffset (this=0x558ba497db28) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qmetaobject.cpp:529
#6  QMetaObject::property (this=0x558ba497db28, index=2) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qmetaobject.cpp:1288
#7  0x00007f7a17c74c03 in QQmlPrivate::loadFallbackAsVariant (lookup=0x558ba2e90e70, object=0x558ba42e6310, target=0x7fff0aa53c98, aotContext=0x7fff0aa53da0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:1458
#8  QQmlPrivate::AOTCompiledContext::getObjectLookup (this=this@entry=0x7fff0aa53da0, index=index@entry=200, object=0x558ba42e6310, target=target@entry=0x7fff0aa53c98) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:2808
#9  0x00007f79ef729eff in QmlCacheGeneratedCode::_qt_qml_plasma_applet_org_kde_plasma_kickoff_main_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext const*, void**)#29}::operator()(QQmlPrivate::AOTCompiledContext const*, void**) const (__closure=0x0, aotContext=0x7fff0aa53da0, argv=0x7fff0aa54110) at /usr/src/debug/plasma-desktop/build/applets/kickoff/.rcc/qmlcache/org.kde.plasma.kickoff_main_qml.cpp:7599
#10 QmlCacheGeneratedCode::_qt_qml_plasma_applet_org_kde_plasma_kickoff_main_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext const*, void**)#29}::_FUN(QQmlPrivate::AOTCompiledContext const*, void**) () at /usr/src/debug/plasma-desktop/build/applets/kickoff/.rcc/qmlcache/org.kde.plasma.kickoff_main_qml.cpp:7623
#11 0x00007f7a17c47791 in operator() (argc=<optimized out>, __closure=0x7fff0aa53e30, argv=0x7fff0aa54110) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:452
#12 QV4::coerceAndCall<(anonymous namespace)::AOTCompiledMetaMethod, QV4::Moth::VME::exec(QV4::MetaTypesStackFrame*, QV4::ExecutionEngine*)::<lambda(void**, int)> >(QV4::ExecutionEngine *, const (anonymous namespace)::AOTCompiledMetaMethod *, void **, const QMetaType *, int, struct {...}) (engine=engine@entry=0x558ba1c433a0, typedFunction=typedFunction@entry=0x7fff0aa53e68, argv=<optimized out>, types=<optimized out>, argc=<optimized out>, call=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:560
#13 0x00007f7a17c4f0e6 in QV4::Moth::VME::exec (frame=<optimized out>, engine=0x558ba1c433a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:437
#14 0x00007f7a17b9c72b in QV4::Moth::VME::exec (frame=0x7fff0aa53f00, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:419
#15 QV4::Function::call (this=0x558ba2b0a410, thisObject=0x558ba948c770, a=0x7fff0aa54110, types=0x7fff0aa54108, argc=0, context=0x7f7993c0e2a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:37
#16 0x00007f7a17cf3230 in QQmlJavaScriptExpression::evaluate (this=<optimized out>, a=<optimized out>, types=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:270
#17 0x00007f7a17c84e56 in QQmlBinding::evaluate (this=0x558ba46d3d60, result=0x7fff0aa540c0, type=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding_p.h:86
#18 QQmlBinding::doUpdate (this=0x558ba46d3d60, watcher=..., flags=..., scope=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:702
#19 0x00007f7a17c83a6d in QQmlBinding::update (this=0x558ba46d3d60, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:165
#20 0x00007f7a17d2b718 in QQmlObjectCreator::finalize (this=0x558ba8aa1f70, interrupt=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp:1552
#21 0x00007f7a17c9cd85 in QQmlComponentPrivate::complete (enginePriv=0x558ba1abb9a0, state=state@entry=0x7f7a04027e90) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/ftw/qbipointer_p.h:133
#22 0x00007f7a17c9fbcc in QQmlComponentPrivate::completeCreate (this=0x7f7a04027e10) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1344
#23 0x00007f7a19558bbb in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x558ba9057bd0, initialProperties=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasmaquick/sharedqmlengine.cpp:270
#24 0x00007f7a195392d4 in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasmaquick/appletquickitem.cpp:630
#25 0x00007f7a1956bddc in ContainmentItem::appletAddedForward (this=0x558ba26d08b0, applet=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasmaquick/plasmoid/containmentitem.cpp:689
#26 ContainmentItem::appletAddedForward (this=0x558ba26d08b0, applet=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasmaquick/plasmoid/containmentitem.cpp:684
#27 0x00007f7a167d734f in QtPrivate::QSlotObjectBase::call (this=0x558ba24c8170, r=0x558ba26d08b0, a=0x7fff0aa54930, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#28 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4257
#29 0x00007f7a192bdd7f in QMetaObject::activate<void, Plasma::Applet*, QRectF> (sender=<optimized out>, mo=<optimized out>, local_signal_index=1, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#30 Plasma::Containment::appletAboutToBeAdded (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/debug/libplasma/build/src/plasma/Plasma_autogen/include/moc_containment.cpp:526
#31 0x00007f7a192bad11 in Plasma::Containment::addApplet (this=<optimized out>, applet=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasma/containment.cpp:416
#32 0x00007f7a192db1dc in Plasma::ContainmentPrivate::createApplet (this=0x558ba1eedb20, name=..., args=<optimized out>, id=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasma/private/containment_p.cpp:191
#33 0x00007f7a192b4b33 in Plasma::Containment::createApplet (this=0x558ba1e32ed0, name=<optimized out>, args=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.5.3/src/plasma/containment.cpp:346
#34 0x00007f7a1957ba96 in ContainmentItem::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x558ba7618420) at /usr/src/debug/libplasma/build/src/plasmaquick/PlasmaQuick_autogen/include/moc_containmentitem.cpp:170
#35 0x00007f7a167c4994 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1413
#36 0x00007f7a18b021c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x558ba26d08b0, e=0x7f7a0000dcd0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#37 0x00007f7a1676a958 in QCoreApplication::notifyInternal2 (receiver=0x558ba26d08b0, event=event@entry=0x7f7a0000dcd0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#38 0x00007f7a1676ad30 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7f7a0000dcd0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x558ba15e4ec0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#40 0x00007f7a16a4ae18 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#41 postEventSourceDispatch (s=0x558ba15edb10) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#42 0x00007f7a152e6f8d in g_main_dispatch (context=0x7f7a08000f60) at ../glib/glib/gmain.c:3565
#43 0x00007f7a152e8657 in g_main_context_dispatch_unlocked (context=0x7f7a08000f60) at ../glib/glib/gmain.c:4425
#44 g_main_context_iterate_unlocked (context=context@entry=0x7f7a08000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#45 0x00007f7a152e8865 in g_main_context_iteration (context=0x7f7a08000f60, may_block=1) at ../glib/glib/gmain.c:4556
#46 0x00007f7a16a48152 in QEventDispatcherGlib::processEvents (this=0x558ba15ece40, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#47 0x00007f7a16775786 in QEventLoop::processEvents (this=0x7fff0aa551d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#48 QEventLoop::exec (this=0x7fff0aa551d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#49 0x00007f7a1676f3f1 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#50 0x00007f7a18afd32a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2575
#51 0x0000558b869262d9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.5.3/shell/main.cpp:188
Comment 3 TraceyC 2025-12-02 21:49:52 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 512754. 

This will be addressed by the Qt folks. See [https://qt-project.atlassian.net/browse/QTBUG-142331](https://qt-project.atlassian.net/browse/QTBUG-142331).

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