Bug 518757 - Crashed in Plasma::Applet::appletDeleted after plasmashell --replace
Summary: Crashed in Plasma::Applet::appletDeleted after plasmashell --replace
Status: RESOLVED DUPLICATE of bug 515234
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.6.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2026-04-10 02:33 UTC by Angel Parra
Modified: 2026-04-23 18:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/353103/events/3f8c736788ff40e19a501fc87a8b08d5/


Attachments
New crash information added by DrKonqi (120.77 KB, text/plain)
2026-04-10 02:34 UTC, Angel Parra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Parra 2026-04-10 02:33:59 UTC
Application: plasmashell (6.6.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.0
Frameworks Version: 6.24.0
Operating System: Linux 6.19.11-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.6.4 [CoredumpBackend]

-- Information about the crash:
While working on a simple Hello World effect, though may not be actually related given I can't find the simbols say nothing about it, and issuing plasmashell --replace, this backtrace happened.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=<optimized out>) at pthread_kill.c:44
#5  0x00007f6a26a4d1a0 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#6  0x00007f6a26a345fe in __GI_abort () at abort.c:77
#7  0x00007f6a26a35697 in __libc_message_impl (vma_name=<optimized out>, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:138
#8  0x00007f6a26ab1cbc in __libc_message_wrapper (vmaname=0x7f6a26bbef89 "glibc: fatal", fmt=0x7f6a26bc25b8 "%s\n") at ../include/stdio.h:203
#9  malloc_printerr (str=str@entry=0x7f6a26bc0363 "corrupted double-linked list") at malloc.c:5359
#10 0x00007f6a26ab2434 in unlink_chunk (p=<optimized out>, av=0x7f6a26bf6ac0 <main_arena>) at malloc.c:1601
#11 0x00007f6a26ab24e8 in _int_free_create_chunk (av=av@entry=0x7f6a26bf6ac0 <main_arena>, p=p@entry=0x561b1e331ce0, size=size@entry=576, nextchunk=<optimized out>, nextsize=160) at malloc.c:4483
#12 0x00007f6a26ab36b6 in _int_free_merge_chunk (av=0x7f6a26bf6ac0 <main_arena>, p=0x561b1e331ce0, size=576) at malloc.c:4462
#13 0x00007f6a26ab3814 in _int_free_chunk (av=0x7f6a26bf6ac0 <main_arena>, p=<optimized out>, size=<optimized out>, have_lock=<optimized out>) at malloc.c:4386
[...]
#15 0x00007f6a27364a5c in QObjectPrivate::ConnectionData::cleanOrphanedConnectionsImpl(QObject*, QObjectPrivate::ConnectionData::LockPolicy) () from /usr/lib/libQt6Core.so.6
#16 0x00007f6a2736af1c in QObject::~QObject() () from /usr/lib/libQt6Core.so.6
#17 0x00007f6a1f166516 in QQuickButton::~QQuickButton (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickbutton_p.h:25
#18 QQuickToolButton::~QQuickToolButton (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquicktoolbutton_p.h:25
#19 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:109
#20 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:109


Reported using DrKonqi
Comment 1 Angel Parra 2026-04-10 02:34:01 UTC
Created attachment 191413 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2026-04-10 13:09:21 UTC
Searchable backtrace


Thread 1 (Thread 0x7f6a20352c80 (LWP 41621)):
[KCrash Handler]
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=<optimized out>) at pthread_kill.c:44
#5  0x00007f6a26a4d1a0 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#6  0x00007f6a26a345fe in __GI_abort () at abort.c:77
#7  0x00007f6a26a35697 in __libc_message_impl (vma_name=<optimized out>, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:138
#8  0x00007f6a26ab1cbc in __libc_message_wrapper (vmaname=0x7f6a26bbef89 "glibc: fatal", fmt=0x7f6a26bc25b8 "%s\n") at ../include/stdio.h:203
#9  malloc_printerr (str=str@entry=0x7f6a26bc0363 "corrupted double-linked list") at malloc.c:5359
#10 0x00007f6a26ab2434 in unlink_chunk (p=<optimized out>, av=0x7f6a26bf6ac0 <main_arena>) at malloc.c:1601
#11 0x00007f6a26ab24e8 in _int_free_create_chunk (av=av@entry=0x7f6a26bf6ac0 <main_arena>, p=p@entry=0x561b1e331ce0, size=size@entry=576, nextchunk=<optimized out>, nextsize=160) at malloc.c:4483
#12 0x00007f6a26ab36b6 in _int_free_merge_chunk (av=0x7f6a26bf6ac0 <main_arena>, p=0x561b1e331ce0, size=576) at malloc.c:4462
#13 0x00007f6a26ab3814 in _int_free_chunk (av=0x7f6a26bf6ac0 <main_arena>, p=<optimized out>, size=<optimized out>, have_lock=<optimized out>) at malloc.c:4386
#14 0x00007f6a2736492c in ?? () from /usr/lib/libQt6Core.so.6
#15 0x00007f6a27364a5c in QObjectPrivate::ConnectionData::cleanOrphanedConnectionsImpl(QObject*, QObjectPrivate::ConnectionData::LockPolicy) () from /usr/lib/libQt6Core.so.6
#16 0x00007f6a2736af1c in QObject::~QObject() () from /usr/lib/libQt6Core.so.6
#17 0x00007f6a1f166516 in QQuickButton::~QQuickButton (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickbutton_p.h:25
#18 QQuickToolButton::~QQuickToolButton (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquicktoolbutton_p.h:25
#19 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:109
#20 QQmlPrivate::QQmlElement<QQuickToolButton>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:109
#21 0x00007f6a27365269 in QObjectPrivate::deleteChildren() () from /usr/lib/libQt6Core.so.6
#22 0x00007f6a2736af81 in QObject::~QObject() () from /usr/lib/libQt6Core.so.6
#23 0x00007f69c36b6d37 in ContainmentItem::~ContainmentItem (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.6.4/src/plasmaquick/plasmoid/containmentitem.h:35
#24 QQmlPrivate::QQmlElement<ContainmentItem>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtQml/qqmlprivate.h:109
#25 QQmlPrivate::QQmlElement<ContainmentItem>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtQml/qqmlprivate.h:109
#26 0x00007f6a29e0a029 in PlasmaQuick::SharedQmlEngine::~SharedQmlEngine (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.6.4/src/plasmaquick/sharedqmlengine.cpp:179
#27 0x00007f6a29de1605 in PlasmaQuick::SharedQmlEngine::~SharedQmlEngine (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.6.4/src/plasmaquick/sharedqmlengine.cpp:176
#28 operator() (__closure=<optimized out>, applet=0x561b1d7c2350) at /usr/src/debug/libplasma/libplasma-6.6.4/src/plasmaquick/appletquickitem.cpp:671
#29 operator() (__closure=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:116
#30 QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>, QtPrivate::List<Plasma::Applet*>, void, PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda(Plasma::Applet*)> >::call(PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda(Plasma::Applet*)>&, void**)::<lambda()> > (args=<optimized out>, fn=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#31 QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>, QtPrivate::List<Plasma::Applet*>, void, PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda(Plasma::Applet*)> >::call (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:115
#32 QtPrivate::FunctorCallable<PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda(Plasma::Applet*)>, Plasma::Applet*>::call<QtPrivate::List<Plasma::Applet*>, void> (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:337
#33 QtPrivate::QCallableObject<PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*)::<lambda(Plasma::Applet*)>, QtPrivate::List<Plasma::Applet*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:547
#34 0x00007f6a27377abf in ?? () from /usr/lib/libQt6Core.so.6
#35 0x00007f6a29b5de6b in QMetaObject::activate<void, Plasma::Applet*> (sender=<optimized out>, mo=<optimized out>, local_signal_index=15, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#36 Plasma::Applet::appletDeleted (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/libplasma/build/src/plasma/Plasma_autogen/include/moc_applet.cpp:697
#37 0x00007f6a29b55afd in Plasma::Applet::~Applet (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.6.4/src/plasma/applet.cpp:72
#38 0x00007f6a0d9d08c0 in org_kde_panel_Plugin::~org_kde_panel_Plugin (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-desktop/build/containments/panel/org.kde.panel.cpp:5
#39 org_kde_panel_Plugin::~org_kde_panel_Plugin (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-desktop/build/containments/panel/org.kde.panel.cpp:5
#40 0x0000561afc5aa386 in ShellCorona::~ShellCorona (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.6.4/shell/shellcorona.cpp:325
#41 0x0000561afc57b1df in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.6.4/shell/main.cpp:205
Comment 3 TraceyC 2026-04-10 13:09:39 UTC
Thank you for the bug report. Based on the backtrace this looks like the same crash as in bug 517610 so I'll merge this report in with the other one. Please follow that report if you would like updates on the progress of this issue.

*** This bug has been marked as a duplicate of bug 517610 ***
Comment 4 TraceyC 2026-04-23 18:24:54 UTC
This is actually bug 515234 - crash in ShellCorona::~ShellCorona

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