Bug 510653 - Plasma crashed in PlasmaQuick::AppletQuickItem::itemForApplet() after ContainmentItem::appletAddedForward when switching to Kickoff from Dashboard and then trying to open Kickoff
Summary: Plasma crashed in PlasmaQuick::AppletQuickItem::itemForApplet() after Contain...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.4.91
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 511436 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-10-15 20:11 UTC by Patrick Silva
Modified: 2025-11-03 23:44 UTC (History)
5 users (show)

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


Attachments
long backtrace (94.15 KB, text/plain)
2025-10-15 20:11 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2025-10-15 20:11:49 UTC
Created attachment 185817 [details]
long backtrace

STEPS TO REPRODUCE
1. add a second panel (on top)
2. switch apps menu to Dashboard from kickoff
3. open and then close the Dashboard
4. switch the apps menu to kickoff from Dashboard
5. try to open kickoff

OBSERVED RESULT
Plasma crash

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.91
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Graphics Platform: Wayland
Comment 1 Akseli Lahtinen 2025-10-16 08:40:50 UTC
I'm unable to repro this

Operating System: Fedora Linux 42
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 TraceyC 2025-10-16 18:42:15 UTC
Relevant part of the backtrace


#21 0x00007f861b0a138c in QQmlComponentPrivate::completeCreate (this=0x7f8608014250) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1344
#22 0x00007f861cd8ebfb in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x562535fe2bb0, initialProperties=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasmaquick/sharedqmlengine.cpp:270
#23 0x00007f861cd6f2d4 in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasmaquick/appletquickitem.cpp:630
#24 0x00007f861cda1ddc in ContainmentItem::appletAddedForward (this=0x56252cd8c6c0, applet=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasmaquick/plasmoid/containmentitem.cpp:689
#25 ContainmentItem::appletAddedForward (this=0x56252cd8c6c0, applet=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasmaquick/plasmoid/containmentitem.cpp:684
#26 0x00007f8619bd716f in QtPrivate::QSlotObjectBase::call (this=0x5625333b4cc0, r=0x56252cd8c6c0, a=0x7ffebc775c70, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#27 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#28 0x00007f861c8fbdbf 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
#29 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
#30 0x00007f861c8f8d31 in Plasma::Containment::addApplet (this=<optimized out>, applet=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasma/containment.cpp:416
#31 0x00007f861c9190fc in Plasma::ContainmentPrivate::createApplet (this=0x562530c3b0f0, name=..., args=<optimized out>, id=<optimized out>, geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasma/private/containment_p.cpp:191
#32 0x00007f861c8f2b33 in Plasma::Containment::createApplet (this=this@entry=0x56252cdfa2a0, name=..., args=..., geometryHint=...) at /usr/src/debug/libplasma/libplasma-6.4.91/src/plasma/containment.cpp:346
#33 0x000056252b51ad04 in AlternativesHelper::loadAlternative (this=this@entry=0x56253600f1a0, plugin=...) at /usr/src/debug/plasma-workspace/plasma-workspace-6.4.91/shell/alternativeshelper.cpp:66
#34 0x000056252b51b34d in AlternativesHelper::qt_static_metacall (_o=0x56253600f1a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffebc776458) at /usr/src/debug/plasma-workspace/build/shell/plasmashell_autogen/include/moc_alternativeshelper.cpp:91
#35 AlternativesHelper::qt_metacall (this=0x56253600f1a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffebc776458) at /usr/src/debug/plasma-workspace/build/shell/plasmashell_autogen/include/moc_alternativeshelper.cpp:138
#36 0x00007f861b137a03 in QQmlObjectOrGadget::metacall (this=<optimized out>, type=<optimized out>, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:14
#37 0x00007f861afe8311 in QV4::CallMethod (object=<optimized out>, index=<optimized out>, returnType=..., argCount=<optimized out>, argTypes=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:90
Comment 3 TraceyC 2025-10-16 18:50:12 UTC
I also can't reproduce this on Plasma built from git-master, but I'm on Qt 6.9.3

Operating System: Solus 4.7
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3
Kernel Version: 6.16.12-323.current (64-bit)
Graphics Platform: Wayland
Comment 4 duha.bugs 2025-10-16 18:59:35 UTC
Confirming, can reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 5 TraceyC 2025-11-03 23:44:56 UTC
*** Bug 511436 has been marked as a duplicate of this bug. ***