Bug 476968 - plasmashell crashes when clicking configure button in System Tray settings window for applets without an overridden configure action
Summary: plasmashell crashes when clicking configure button in System Tray settings wi...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-11-14 00:36 UTC by Nicolas Fella
Modified: 2024-08-19 10:51 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2023-11-14 00:36:21 UTC
Application: plasmashell (5.81.0)
 (Compiled from sources)
Qt Version: 6.6.1
Frameworks Version: 5.245.0
Operating System: Linux 6.5.11-300.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (KDE Plasma)
DrKonqi: 5.81.0 [KCrashBackend]

-- Information about the crash:
- Open System Tray settings
- Go to "Entries"
- take e.g. "Camera indicator" or "Keyboard Layout"
- Click the configure button for it

The crash can be reproduced every time.

-- Backtrace:
Application: plasmashell (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f4b240ae834 in __pthread_kill_implementation () at /lib64/libc.so.6
#6  0x00007f4b2405c8ee in raise () at /lib64/libc.so.6
#7  0x00007f4b240448ff in abort () at /lib64/libc.so.6
#8  0x00007f4b246b6a64 in qAbort() () at /home/nico/workspace/qt6/qtbase/src/corelib/global/qglobal.cpp:161
#9  0x00007f4b246eb6f5 in qt_message_fatal<QString&> (message=..., context=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/global/qlogging.cpp:2003
#10 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7f4b26acbff8 "Object %p destroyed while one of its QML signal handlers is in progress.\nMost likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested e"..., ap=ap@entry=0x7ffc8a3a6d38) at /home/nico/workspace/qt6/qtbase/src/corelib/global/qlogging.cpp:378
#11 0x00007f4b246b76fa in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffc8a3a6e90, msg=msg@entry=0x7f4b26acbff8 "Object %p destroyed while one of its QML signal handlers is in progress.\nMost likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested e"...) at /home/nico/workspace/qt6/qtbase/src/corelib/global/qlogging.cpp:901
#12 0x00007f4b266da6eb in QQmlData::destroyed(QObject*) (this=<optimized out>, object=0x7197fc0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlengine.cpp:1472
#13 0x00007f4b247b2a81 in QObject::~QObject() (this=this@entry=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1065
#14 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#15 0x00007f4b11cee159 in QQuickControl::~QQuickControl() (this=this@entry=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:948
#16 0x00007f4b11cce3a2 in QQuickAbstractButton::~QQuickAbstractButton() (this=this@entry=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickabstractbutton.cpp:514
#17 0x00007f4b11d8649d in QQuickButton::~QQuickButton() (this=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuickTemplates2/6.6.1/QtQuickTemplates2/private/../../../../../../qtdeclarative/src/quicktemplates/qquickbutton_p.h:24
#18 QQmlPrivate::QQmlElement<QQuickButton>::~QQmlElement() (this=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#19 QQmlPrivate::QQmlElement<QQuickButton>::~QQmlElement() (this=0x7197fc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#20 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x7141e60) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#21 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#22 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#23 0x00007f4ae85ca4b2 in QQuickLayout::~QQuickLayout() (this=this@entry=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicklayouts/qquicklayout.cpp:780
#24 0x00007f4ae85cf0e5 in QQuickGridLayoutBase::~QQuickGridLayoutBase() (this=this@entry=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicklayouts/qquicklinearlayout.cpp:299
#25 0x00007f4ae85dd760 in QQuickLinearLayout::~QQuickLinearLayout() (this=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuickLayouts/6.6.1/QtQuickLayouts/private/../../../../../../qtdeclarative/src/quicklayouts/qquicklinearlayout_p.h:185
#26 QQuickRowLayout::~QQuickRowLayout() (this=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuickLayouts/6.6.1/QtQuickLayouts/private/../../../../../../qtdeclarative/src/quicklayouts/qquicklinearlayout_p.h:222
#27 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement() (this=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#28 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement() (this=0x7141d70, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#29 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x7141ae0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#30 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x7141a00, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#31 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x7141a00, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#32 0x00007f4b271c86dd in QQuickFocusScope::~QQuickFocusScope() (this=0x7141a00, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuick/6.6.1/QtQuick/private/../../../../../../qtdeclarative/src/quick/items/qquickfocusscope_p.h:24
#33 QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x7141a00, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#34 QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x7141a00, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#35 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x708dea0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#36 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#37 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#38 0x00007f4b11cee159 in QQuickControl::~QQuickControl() (this=this@entry=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:948
#39 0x00007f4b11cce3a2 in QQuickAbstractButton::~QQuickAbstractButton() (this=this@entry=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickabstractbutton.cpp:514
#40 0x00007f4b11d871ad in QQuickItemDelegate::~QQuickItemDelegate() (this=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuickTemplates2/6.6.1/QtQuickTemplates2/private/../../../../../../qtdeclarative/src/quicktemplates/qquickitemdelegate_p.h:24
#41 QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlElement() (this=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#42 QQmlPrivate::QQmlElement<QQuickItemDelegate>::~QQmlElement() (this=0x708ddc0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#43 0x00007f4b27523194 in QQmlDelegateModel::~QQmlDelegateModel() (this=0x64d0c50, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:235
#44 0x00007f4b27523319 in QQmlDelegateModel::~QQmlDelegateModel() (this=0x64d0c50, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:258
#45 0x00007f4b2726063d in QQuickItemView::~QQuickItemView() (this=this@entry=0x64ce360, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitemview.cpp:129
#46 0x00007f4b2727661d in QQuickListView::~QQuickListView() (this=this@entry=0x64ce360, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquicklistview.cpp:2251
#47 0x00007f4b271c7f25 in QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement() (this=0x64ce360, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#48 QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement() (this=0x64ce360, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#49 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x5fad410) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#50 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#51 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#52 0x00007f4b11cee159 in QQuickControl::~QQuickControl() (this=this@entry=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:948
#53 0x00007f4b11d2237b in QQuickPane::~QQuickPane() (this=this@entry=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickpane.cpp:258
#54 0x00007f4b11d3fe0a in QQuickScrollView::~QQuickScrollView() (this=this@entry=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickscrollview.cpp:501
#55 0x00007f4b11d86285 in QQmlPrivate::QQmlElement<QQuickScrollView>::~QQmlElement() (this=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#56 QQmlPrivate::QQmlElement<QQuickScrollView>::~QQmlElement() (this=0x5fa9760, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#57 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x61b2b00) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#58 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#59 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#60 0x00007f4ae85ca4b2 in QQuickLayout::~QQuickLayout() (this=this@entry=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicklayouts/qquicklayout.cpp:780
#61 0x00007f4ae85cf0e5 in QQuickGridLayoutBase::~QQuickGridLayoutBase() (this=this@entry=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicklayouts/qquicklinearlayout.cpp:299
#62 0x00007f4ae85dd620 in QQuickLinearLayout::~QQuickLinearLayout() (this=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuickLayouts/6.6.1/QtQuickLayouts/private/../../../../../../qtdeclarative/src/quicklayouts/qquicklinearlayout_p.h:185
#63 QQuickColumnLayout::~QQuickColumnLayout() (this=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQuickLayouts/6.6.1/QtQuickLayouts/private/../../../../../../qtdeclarative/src/quicklayouts/qquicklinearlayout_p.h:239
#64 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement() (this=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#65 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement() (this=0x61b2a10, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#66 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x60f5920) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#67 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x619fa30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#68 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x619fa30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#69 0x00007f4b27001b46 in QQuickImplicitSizeItem::~QQuickImplicitSizeItem() (this=0x619fa30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickimplicitsizeitem_p.h:24
#70 0x00007f4b271c7e45 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() (this=0x619fa30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#71 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement() (this=0x619fa30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#72 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x5f0ae60) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#73 0x00007f4b247b30e8 in QObject::~QObject() (this=this@entry=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#74 0x00007f4b26fe9eda in QQuickItem::~QQuickItem() (this=this@entry=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:2364
#75 0x00007f4b11cee159 in QQuickControl::~QQuickControl() (this=this@entry=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:948
#76 0x00007f4b11d2237b in QQuickPane::~QQuickPane() (this=this@entry=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickpane.cpp:258
#77 0x00007f4b11d1f8b5 in QQuickPage::~QQuickPage() (this=this@entry=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickpage.cpp:217
#78 0x00007f4b11d86215 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() (this=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#79 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement() (this=0x7f4b0801dd30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:99
#80 0x00007f4b26822bab in QV4::QObjectWrapper::destroyObject(bool) (this=<optimized out>, lastCall=lastCall@entry=true) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1395
#81 0x00007f4b2689c70a in QV4::MemoryManager::sweep(bool, void (*)(char const*)) (this=this@entry=0x4d5c060, lastSweep=lastSweep@entry=true, classCountPtr=classCountPtr@entry=0x0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/memory/qv4mm.cpp:860
#82 0x00007f4b2689ebe5 in QV4::MemoryManager::~MemoryManager() (this=0x4d5c060, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/memory/qv4mm.cpp:1112
#83 0x00007f4b267bf7dc in QV4::ExecutionEngine::~ExecutionEngine() (this=this@entry=0x42cad30, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:860
#84 0x00007f4b267747bd in QJSEngine::~QJSEngine() (this=0x7f4a286200d0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsapi/qjsengine.cpp:376
#85 0x00007f4b268fd3a9 in QQmlEngine::~QQmlEngine() (this=0x7f4a286200d0, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlengine.cpp:648
#86 0x00007f4b247ae925 in QObjectPrivate::deleteChildren() (this=this@entry=0x7f4b0c042c40) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2206
#87 0x00007f4b247b30e8 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1159
#88 0x00007f4b27d47c89 in PlasmaQuick::ConfigView::~ConfigView() (this=0x545e9e0, __in_chrg=<optimized out>) at /home/nico/kde/src/plasma-framework/src/plasmaquick/configview.cpp:287
#89 0x00000000004454d0 in PanelView::showConfigurationInterface(Plasma::Applet*) (this=0x2e6efb0, applet=0x2b992d0) at /home/nico/kde/src/plasma-workspace/shell/panelview.cpp:827
#90 0x00007f4b247b60b3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc8a3a7a00, r=0x2e6efb0, this=0x346b140) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:433
#91 doActivate<false>(QObject*, int, void**) (sender=0x2829910, signal_index=36, argv=0x7ffc8a3a7a00) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4021
#92 0x00007f4b247addef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f4b27984b20 <Plasma::Containment::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc8a3a7a00) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4081
#93 0x00007f4b27943612 in Plasma::Containment::configureRequested(Plasma::Applet*) (this=<optimized out>, _t1=<optimized out>) at /home/nico/kde/build/plasma-framework/src/plasma/KF6Plasma_autogen/include/moc_containment.cpp:1029
#94 0x00007f4b247b60b3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc8a3a7af0, r=0x2b327a0, this=0x2b3e420) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:433
#95 doActivate<false>(QObject*, int, void**) (sender=0x2b327a0, signal_index=36, argv=0x7ffc8a3a7af0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4021
#96 0x00007f4b247addef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f4b27984b20 <Plasma::Containment::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc8a3a7af0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4081
#97 0x00007f4b27943612 in Plasma::Containment::configureRequested(Plasma::Applet*) (this=<optimized out>, _t1=<optimized out>) at /home/nico/kde/build/plasma-framework/src/plasma/KF6Plasma_autogen/include/moc_containment.cpp:1029
#98 0x00007f4b247b6326 in doActivate<false>(QObject*, int, void**) (sender=0x2ba4180, signal_index=7, argv=0x7ffc8a3a7be0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4033
#99 0x00007f4b247addef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2ba4180, m=m@entry=0x7f4b25696f40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc8a3a7be0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4081
#100 0x00007f4b25398572 in QAction::triggered(bool) (this=this@entry=0x2ba4180, _t1=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/gui/Gui_autogen/include/moc_qaction.cpp:642
#101 0x00007f4b2539b0fd in QAction::activate(QAction::ActionEvent) (this=0x2ba4180, event=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/gui/kernel/qaction.cpp:1102
#102 0x00007f4b2539bdb0 in QAction::qt_metacall(QMetaObject::Call, int, void**) (this=0x2ba4180, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7ffc8a3a7ef0) at /home/nico/workspace/qt6/qtbase/src/gui/Gui_autogen/include/moc_qaction.cpp:597
#103 0x00007f4b26987133 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7ffc8a3a8160, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=13, argv=argv@entry=0x7ffc8a3a7ef0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:14
#104 0x00007f4b2682e183 in QV4::CallMethod (callType=QMetaObject::InvokeMetaMethod, callArgs=<optimized out>, engine=0x42cad30, argTypes=0x0, argCount=0, returnType=..., index=13, object=...) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1543
#105 QV4::CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=<optimized out>, engine=<optimized out>, engine@entry=0x42cad30, callArgs=<optimized out>, callArgs@entry=0x7f4a085bc578, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1836
#106 0x00007f4b26830941 in operator() (__closure=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2733
#107 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (call=<optimized out>, __closure=<synthetic pointer>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2710
#108 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=<optimized out>, argv=0x7f4a085bc4f8, argc=0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2733
#109 0x00007f4b26881e7a in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQml/6.6.1/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:171
#110 QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0xb8b7, frame@entry=0x7ffc8a3a8460, engine=0x42cad30, code=0x61b0980 "P\247\177&K\177") at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:902
#111 0x00007f4b26887897 in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffc8a3a8460, engine=engine@entry=0x42cad30) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:584
#112 0x00007f4b267df09e in QV4::doCall(QV4::Function*, QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (self=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:54
#113 0x00007f4b267df409 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) (this=this@entry=0x61b2010, thisObject=<optimized out>, argv=argv@entry=0x7f4a085bc4f0, argc=argc@entry=0, context=context@entry=0x7f4a6060ab68) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:79
#114 0x00007f4b267df5ab in operator() (argc=0, argv=0x7f4a085bc4f0, thisObject=<optimized out>, __closure=<synthetic pointer>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:30
#115 QV4::convertAndCall<QV4::Function::call(QObject*, void**, const QMetaType*, int, QV4::ExecutionContext*)::<lambda(const QV4::Value*, const QV4::Value*, int)> > (call=..., argc=0, types=0x7ffc8a3a86b0, a=0x7ffc8a3a86a0, thisObject=0x7197fc0, engine=<optimized out>) at /home/nico/workspace/qt6/qtbase/include/QtQml/6.6.1/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:170
#116 QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) (this=0x61b2010, thisObject=0x7197fc0, a=a@entry=0x7ffc8a3a86a0, types=types@entry=0x7ffc8a3a86b0, argc=0, context=0x7f4a6060ab68) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4function.cpp:27
#117 0x00007f4b2694cbe7 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) (this=<optimized out>, a=a@entry=0x7ffc8a3a86a0, types=types@entry=0x7ffc8a3a86b0, argc=argc@entry=0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmljavascriptexpression_p.h:248
#118 0x00007f4b268d4863 in QQmlBoundSignalExpression::evaluate(void**) (this=0x71a2430, a=a@entry=0x0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:199
#119 0x00007f4b268d50f8 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x71a24b0, a=0x0) at /home/nico/workspace/qt6/qtbase/include/QtQml/6.6.1/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/ftw/qqmlrefcount_p.h:72
#120 0x00007f4b26976517 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:70
#121 0x00007f4b247b5b30 in doActivate<false>(QObject*, int, void**) (sender=0x7197fc0, signal_index=65, argv=0x0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:3913
#122 0x00007f4b11cd0c7a in QQuickAbstractButtonPrivate::handleRelease(QPointF const&, unsigned long) (this=0x71980a0, point=..., timestamp=6963820) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickabstractbutton.cpp:167
#123 0x00007f4b11ce950c in QQuickControl::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, event=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:2049
#124 0x00007f4b26fe5af8 in QQuickItem::event(QEvent*) (this=0x7197fc0, ev=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickitem.cpp:8916
#125 0x00007f4b25d7f9d1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7197fc0, e=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3296
#126 0x00007f4b24759c48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7197fc0, event=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1121
#127 0x00007f4b24759dc9 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1539
#128 0x00007f4b2715304a in QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool, QPointerEvent*, bool) (this=this@entry=0x4f086b0, item=item@entry=0x7197fc0, isGrabber=isGrabber@entry=true, pointerEvent=pointerEvent@entry=0x7ffc8a3aabe0, handlersOnly=handlersOnly@entry=false) at /home/nico/workspace/qt6/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:2163
#129 0x00007f4b2715375e in QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) (this=this@entry=0x4f086b0, event=event@entry=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:2009
#130 0x00007f4b27154a8b in QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) (this=this@entry=0x4f086b0, event=event@entry=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1851
#131 0x00007f4b27155897 in QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) (this=this@entry=0x4f086b0, event=event@entry=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1648
#132 0x00007f4b27157720 in QQuickDeliveryAgent::event(QEvent*) (this=<optimized out>, ev=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:705
#133 0x00007f4b2707ec94 in QQuickWindow::event(QEvent*) (this=<optimized out>, event=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/quick/items/qquickwindow.cpp:1507
#134 0x00007f4b25d7f9d1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x545e9e0, e=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3296
#135 0x00007f4b24759c48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x545e9e0, event=0x7ffc8a3aabe0) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1121
#136 0x00007f4b24759dd9 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1553
#137 0x00007f4b24fbfb43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f4b04001740) at /home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:2319
#138 0x00007f4b2501689c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at /home/nico/workspace/qt6/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1109
#139 0x00007f4b254ab1a0 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /home/nico/workspace/qt6/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#140 0x00007f4b239bfe5c in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#141 0x00007f4b23a1add8 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#142 0x00007f4b239bdad3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#143 0x00007f4b249f7f2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2401910, flags=...) at /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#144 0x00007f4b247657cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc8a3aafd0, flags=..., flags@entry=...) at /home/nico/workspace/qt6/qtbase/src/corelib/global/qflags.h:34
#145 0x00007f4b247621d2 in QCoreApplication::exec() () at /home/nico/workspace/qt6/qtbase/src/corelib/global/qflags.h:74
#146 0x00007f4b24fb05cc in QGuiApplication::exec() () at /home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:1925
#147 0x00007f4b25d7f945 in QApplication::exec() () at /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2574
#148 0x000000000042a3c9 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde/src/plasma-workspace/shell/main.cpp:230
[Inferior 1 (process 47287) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-11-14 22:47:17 UTC
Can reproduce for every applet _without_ an overridden configure handler, such that the button should open the applet's own settings. It works fine for applets where this button opens a KCM in System Settings.
Comment 2 Marco Martin 2023-11-23 15:42:19 UTC
canàt seem to reproduce
Comment 3 Nate Graham 2023-11-29 19:44:10 UTC
It's 100% reproducible for me:

1. Right-click on System Tray expander arrow button > Configure System Tray…
2. Click "Sntries" item in the sidebar
3. Click on configure button for "Camera Indicator"

Boom, crash.
Comment 4 Kai Uwe Broulik 2023-12-20 16:49:36 UTC
Can confirm with the camera indicator. Qt complains that:

Object 0x55555a2e7fc0 destroyed while one of its QML signal handlers is in progress.
Most likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested event loop.
This behavior is NOT supported!
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml:290: function() { [native code] }

Seems the switch of config dialogs makes it unhappy, since you can see in the backtrace that the current module gets destroyed. In doubt can use Qt.callLater? :D (ConfigEntries 290 is the call to configureAction.trigger)
Comment 5 Bug Janitor Service 2024-01-04 14:19:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1956
Comment 6 Bug Janitor Service 2024-01-04 14:24:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3745
Comment 7 Fushan Wen 2024-01-05 00:06:22 UTC
Git commit 201436dda62f46d70df120cd113bf3eaefff1116 by Fushan Wen.
Committed on 05/01/2024 at 00:53.
Pushed by fusionfuture into branch 'master'.

PanelView: defer deleting config view

This fixes a crash when the action is invoked from QML.

```
Object 0x55555a2e7fc0 destroyed while one of its QML signal handlers is in progress.
Most likely the object was deleted synchronously (use QObject::deleteLater() instead), or the application is running a nested event loop.
This behavior is NOT supported!
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml:290: function() { [native code] }
```
FIXED-IN: 6.0

M  +1    -1    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/201436dda62f46d70df120cd113bf3eaefff1116
Comment 8 Fushan Wen 2024-01-05 00:49:13 UTC
Git commit 3195f5562b11da1b29a9d744fc1e4bba66c3b568 by Fushan Wen.
Committed on 05/01/2024 at 01:24.
Pushed by fusionfuture into branch 'master'.

appiumtests: add test for bug 476968

M  +6    -0    appiumtests/CMakeLists.txt
A  +71   -0    appiumtests/bug476968.py

https://invent.kde.org/plasma/plasma-desktop/-/commit/3195f5562b11da1b29a9d744fc1e4bba66c3b568
Comment 9 Fushan Wen 2024-08-19 10:51:37 UTC
Git commit 46762548c24e3a1c33ebab2ba7d18cbce4b8cacc by Fushan Wen.
Committed on 19/08/2024 at 10:50.
Pushed by fusionfuture into branch 'master'.

PanelView: check if containment is null before setting edit mode
FIXED-IN: 6.2

M  +3    -1    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/46762548c24e3a1c33ebab2ba7d18cbce4b8cacc