Bug 426926

Summary: Plasma crashesh when I try to delete an activity
Product: [Plasma] plasmashell Reporter: Plamen <plamen>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: crash CC: nfsnfs, p.r.worrall, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.19.5   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
Backtrace

Description Plamen 2020-09-24 13:23:24 UTC
Application: plasmashell (5.19.5)

Qt Version: 5.15.1
Frameworks Version: 5.74.0
Operating System: Linux 5.8.9-gentoo-x86_64 x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
- Unusual behavior I noticed:

Most icons were missing in plasma and all kde application. 
Including: 
menus 
toolbars
context menus
trees
application launcher
application menu
application dashboard

After the crash all icons were show again.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: (null)
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#7  0x00007f259995b536 in __GI_abort () at abort.c:79
#8  0x00007f2599df9dcb in qt_message_fatal (context=..., message=<synthetic pointer>...) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/global/qlogging.cpp:1914
#9  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd044965c0, msg=msg@entry=0x7f259b850ec8 "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 /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/global/qlogging.cpp:893
#10 0x00007f259b70249a in QQmlData::destroyed(QObject*) (this=<optimized out>, object=0x560dcd692b40) at /usr/include/qt5/QtCore/qarraydata.h:208
#11 0x00007f259a017db3 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1001
#12 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcd692b40, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#13 0x00007f259bceecc5 in QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x560dcd692b40, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#14 QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x560dcd692b40, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#15 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dcd5b76b0) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#16 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#17 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcd25f050, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#18 0x00007f259bcec6d5 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dcd25f050, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#19 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dcd25f050, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#20 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dc9314310) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#21 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#22 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcd2dfe40, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#23 0x00007f259bcec6d5 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dcd2dfe40, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#24 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dcd2dfe40, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#25 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dcccbb8e0) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#26 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#27 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dc9311290, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#28 0x00007f259bcec6d5 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dc9311290, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#29 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dc9311290, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#30 0x00007f2599518e87 in QQmlDelegateModel::~QQmlDelegateModel() (this=0x560dcd583110, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/atomic_base.h:413
#31 0x00007f2599519019 in QQmlDelegateModel::~QQmlDelegateModel() (this=0x560dcd583110, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qmlmodels/qqmldelegatemodel.cpp:257
#32 0x00007f259bc74b8c in QQuickRepeaterPrivate::~QQuickRepeaterPrivate() (this=0x560dccd34cf0, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/atomic_base.h:413
#33 0x00007f259bc74c29 in QQuickRepeaterPrivate::~QQuickRepeaterPrivate() (this=0x560dccd34cf0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickrepeater.cpp:61
#34 0x00007f259a01807a in QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (pointer=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
#35 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (this=0x560dcb0db3b8, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#36 QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:972
#37 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcb0db3b0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#38 0x00007f259bcf0d85 in QQmlPrivate::QQmlElement<QQuickRepeater>::~QQmlElement() (this=0x560dcb0db3b0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#39 QQmlPrivate::QQmlElement<QQuickRepeater>::~QQmlElement() (this=0x560dcb0db3b0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#40 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dc8ea3510) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#41 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#42 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcca18040, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#43 0x00007f259bcee38e in QQuickColumn::~QQuickColumn() (this=0x560dcca18040, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQuick/5.15.1/QtQuick/private/../../../../../src/quick/items/qquickpositioners_p.h:235
#44 QQmlPrivate::QQmlElement<QQuickColumn>::~QQmlElement() (this=0x560dcca18040, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#45 QQmlPrivate::QQmlElement<QQuickColumn>::~QQmlElement() (this=0x560dcca18040, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#46 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dcd6bcfd0) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#47 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#48 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcccc8910, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#49 0x00007f259bceea75 in QQmlPrivate::QQmlElement<QQuickFlickable>::~QQmlElement() (this=0x560dcccc8910, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#50 QQmlPrivate::QQmlElement<QQuickFlickable>::~QQmlElement() (this=0x560dcccc8910, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#51 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dccd5d840) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#52 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#53 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcad30320, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#54 0x00007f259bceecc5 in QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x560dcad30320, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#55 QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x560dcad30320, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#56 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dcd6a72a0) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#57 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#58 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcacfdd80, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#59 0x00007f259bcec6d5 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dcacfdd80, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#60 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement() (this=0x560dcacfdd80, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#61 0x00007f259a01740c in QObjectPrivate::deleteChildren() (this=0x560dccce7200) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:2104
#62 0x00007f259a018032 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1082
#63 0x00007f259bb79969 in QQuickItem::~QQuickItem() (this=0x560dcaf0dc10, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:2364
#64 0x00007f259bceecc5 in QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x560dcaf0dc10, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#65 QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement() (this=0x560dcaf0dc10, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#66 0x00007f259a011b0f in QObject::event(QEvent*) (this=this@entry=0x560dcaf0dc10, e=e@entry=0x560dc8efb1d0) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:1301
#67 0x00007f259bb7b519 in QQuickItem::event(QEvent*) (this=0x560dcaf0dc10, ev=0x560dc8efb1d0) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/quick/items/qquickitem.cpp:8199
#68 0x00007f259aa94d7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x560dc89d82c0, receiver=receiver@entry=0x560dcaf0dc10, e=e@entry=0x560dc8efb1d0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.1/work/qtbase-everywhere-src-5.15.1/src/widgets/kernel/qapplication.cpp:3630
#69 0x00007f259aa9da30 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd0449f980, receiver=0x560dcaf0dc10, e=0x560dc8efb1d0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.1/work/qtbase-everywhere-src-5.15.1/src/widgets/kernel/qapplication.cpp:3154
#70 0x00007f2599fe6327 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x560dcaf0dc10, event=0x560dc8efb1d0) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qcoreapplication.cpp:1063
#71 0x00007f2599fe8e50 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x560dc89cd330) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qcoreapplication.cpp:1817
#72 0x00007f259a03bc83 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x560dc89dbe70) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#73 0x00007f2598426887 in g_main_dispatch (context=0x7f2590005000) at ../glib-2.64.5/glib/gmain.c:3309
#74 g_main_context_dispatch (context=context@entry=0x7f2590005000) at ../glib-2.64.5/glib/gmain.c:3974
#75 0x00007f2598426b10 in g_main_context_iterate (context=context@entry=0x7f2590005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.64.5/glib/gmain.c:4047
#76 0x00007f2598426b9f in g_main_context_iteration (context=0x7f2590005000, may_block=may_block@entry=1) at ../glib-2.64.5/glib/gmain.c:4108
#77 0x00007f259a03ba2d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x560dc89dc300, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#78 0x00007f2599fe5153 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd04497840, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/include/QtCore/../../src/corelib/global/qflags.h:141
#79 0x00007f259ac974b5 in QDialog::exec() (this=this@entry=0x7ffd044978d0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.1/work/qtbase-everywhere-src-5.15.1/include/QtCore/../../src/corelib/global/qflags.h:121
#80 0x00007f259acd0588 in showNewMessageBox(QWidget*, QMessageBox::Icon, QString const&, QString const&, QMessageBox::StandardButtons, QMessageBox::StandardButton) (parent=parent@entry=0x0, icon=icon@entry=QMessageBox::Question, title=..., text=..., buttons=..., defaultButton=defaultButton@entry=QMessageBox::NoButton) at /var/tmp/portage/dev-qt/qtwidgets-5.15.1/work/qtbase-everywhere-src-5.15.1/src/widgets/dialogs/qmessagebox.cpp:1647
#81 0x00007f259acd0666 in QMessageBox::question(QWidget*, QString const&, QString const&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton) (parent=parent@entry=0x0, title=..., text=..., buttons=..., buttons@entry=..., defaultButton=defaultButton@entry=QMessageBox::NoButton) at /var/tmp/portage/dev-qt/qtwidgets-5.15.1/work/qtbase-everywhere-src-5.15.1/src/widgets/dialogs/qmessagebox.cpp:1715
#82 0x00007f25680af669 in ActivitySettings::deleteActivity(QString const&) (this=<optimized out>, id=...) at /usr/include/KF5/KI18n/klocalizedstring.h:1415
#83 0x00007f25680aee23 in ActivitySettings::qt_metacall(QMetaObject::Call, int, void**) (this=0x560dcae80fd0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffd04497b30) at kcms/activities/imports/kactivitiessettingsplugin_autogen/EWIEGA46WW/moc_activitysettings.cpp:140
#84 0x00007f259b75d07d in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7ffd04497e70, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=8, argv=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#85 0x00007f259b629bad in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=<optimized out>, returnType=returnType@entry=43, argCount=<optimized out>, argTypes=<optimized out>, engine=engine@entry=0x560dc8cccff0, callArgs=<optimized out>, callType=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:1301
#86 0x00007f259b62bca7 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x560dc8cccff0, callArgs=callArgs@entry=0x7f258dd7d790, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:285
#87 0x00007f259b62cb7a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=1) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:2131
#88 0x00007f259b64b502 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 /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#89 QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffd04498160, engine=0x560dc8cccff0, code=0x7f258dd7d740 "") at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4vme_moth.cpp:754
#90 0x00007f259b64d4c7 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffd04498160, engine=engine@entry=0x560dc8cccff0) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4vme_moth.cpp:463
#91 0x00007f259b5dcf2d in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x560dcb875360, thisObject=<optimized out>, argv=argv@entry=0x7f258dd7d708, argc=<optimized out>, context=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4function.cpp:69
#92 0x00007f259b77e167 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x560dcd708670, callData=callData@entry=0x7f258dd7d6d8, isUndefined=isUndefined@entry=0x0) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#93 0x00007f259b72144e in QQmlBoundSignalExpression::evaluate(void**) (this=<optimized out>, a=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#94 0x00007f259b7224b8 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x560dcd6c0410, a=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#95 0x00007f259b75cafc in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/qml/qqmlnotifier.cpp:104
#96 0x00007f259b700457 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x560dcd692b40, index=52, a=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/qml/qqmlengine.cpp:834
#97 0x00007f259a019995 in doActivate<false>(QObject*, int, void**) (sender=0x560dcd692b40, signal_index=52, argv=argv@entry=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject_p.h:110
#98 0x00007f259a0141ad in QMetaObject::activate(QObject*, int, int, void**) (sender=<optimized out>, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtcore-5.15.1/work/qtbase-everywhere-src-5.15.1/src/corelib/kernel/qobject.cpp:3959
#99 0x00007f259b6f8355 in QQmlVMEMetaObject::activate(QObject*, int, void**) (this=this@entry=0x560dcc1d92a0, object=<optimized out>, index=index@entry=69, args=args@entry=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:386
#100 0x00007f259b6fb45e in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x560dcc1d92a0, o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=69, a=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/qml/qqmlvmemetaobject.cpp:969
#101 0x00007f259b6fa2a6 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x560dcd72a700, o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=69, a=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#102 0x00007f259b6fa2a6 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x560dcad45750, o=<optimized out>, c=QMetaObject::InvokeMetaMethod, _id=69, a=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#103 0x00007f259b75d07d in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7ffd0449a600, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=69, argv=argv@entry=0x7ffd0449a310) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:351
#104 0x00007f259b629f5c in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=69, returnType=returnType@entry=43, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x560dc8cccff0, callArgs=0x7f258dd7d6a0, callType=QMetaObject::InvokeMetaMethod) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:1319
#105 0x00007f259b62bbe3 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x560dc8cccff0, callArgs=callArgs@entry=0x7f258dd7d6a0, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:285
#106 0x00007f259b62cb7a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=0) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4qobjectwrapper.cpp:2131
#107 0x00007f259b65bb4b in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=0, argv=0x7f258dd7d620, thisObject=0x7f258dd7d658, this=0x7ffd0449a768) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4functionobject_p.h:172
#108 QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) (engine=0x560dc8cccff0, base=..., index=<optimized out>, argv=0x7f258dd7d620, argc=0) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.1/work/qtdeclarative-everywhere-src-5.15.1/src/qml/jsruntime/qv4runtime.cpp:1460
#109 0x00007f2559654692 in  ()
#110 0x0000000000000000 in  ()
[Inferior 1 (process 382643) detached]

Possible duplicates by query: bug 426449, bug 426368, bug 425987, bug 425361, bug 424923.

Reported using DrKonqi
Comment 1 nfsnfs 2020-09-29 03:23:51 UTC
Created attachment 131999 [details]
New crash information added by DrKonqi

plasmashell (5.19.5) using Qt 5.15.1

- Unusual behavior I noticed:

Crash when I tried to delete an actvitiy

- Custom settings of the application:

Create a test activity and delete it;

-- Backtrace (Reduced):
#6  0x00007fb174b5ec37 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffd4b21ec30, msg=msg@entry=0x7fb1765b9e68 "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 global/qlogging.cpp:893
#8  0x00007fb176496148 in QQmlData::destroyed (this=0x7ffd4b21ec30, object=0x558caac04380) at /usr/include/qt5/QtCore/qarraydata.h:208
#9  0x00007fb174dad531 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1001
#10 0x00007fb176a5b7d5 in QQmlPrivate::QQmlElement<QQuickFocusScope>::~QQmlElement (this=0x558caac04380, __in_chrg=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-2.1.x86_64/include/QtQml/../../src/qml/qml/qqmlprivate.h:142
Comment 2 Paul Worrall 2020-11-13 17:43:05 UTC
Fully Repeatable on Neon User Edition:

Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.4.0-53-generic
OS Type: 64-bit
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR

Create a test activity
Try to delete it
Plasma crashes
Test Activity not deleted
Comment 3 Paul Worrall 2020-11-13 17:49:17 UTC
Created attachment 133309 [details]
Backtrace
Comment 4 Paul Worrall 2020-11-14 07:43:36 UTC
This crash occurs when trying to delete an activity using the trash-can button on the activity switcher.  

Using System Settings=>Workspace Behaviour=>Activities I can delete activities OK
Comment 5 Bug Janitor Service 2021-02-08 13:22:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/341
Comment 6 Nicolas Fella 2021-02-08 16:05:55 UTC
Git commit 1be25decb52d5502ff8d922c02a3205ceee1143a by Nicolas Fella, on behalf of Willyanto Willyanto.
Committed on 08/02/2021 at 16:05.
Pushed by nicolasfella into branch 'master'.

Fix crash when deleting activity from activity manager

When deleting activity from activity manager, the delete button is destroyed
while handling onClicked signal. This happens because
ActivitySettings.deleteActivity() is calling QMessageBox::question() that
waits for user confirmation.

Change deleteActivity call to use QMetaObject with QueuedConnection as the
connectivity type. This allows the delete button to be destroyed without
having to wait for user confirmation.
Related: bug 427593

M  +7    -5    kcms/activities/imports/activitysettings.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/1be25decb52d5502ff8d922c02a3205ceee1143a
Comment 7 Nicolas Fella 2021-02-08 16:08:28 UTC
Git commit 41de7160674b3c76293209cf34acedd0af8d8dec by Nicolas Fella, on behalf of Willyanto Willyanto.
Committed on 08/02/2021 at 16:08.
Pushed by nicolasfella into branch 'Plasma/5.21'.

Fix crash when deleting activity from activity manager

When deleting activity from activity manager, the delete button is destroyed
while handling onClicked signal. This happens because
ActivitySettings.deleteActivity() is calling QMessageBox::question() that
waits for user confirmation.

Change deleteActivity call to use QMetaObject with QueuedConnection as the
connectivity type. This allows the delete button to be destroyed without
having to wait for user confirmation.
Related: bug 427593
(cherry picked from commit 1be25decb52d5502ff8d922c02a3205ceee1143a)

M  +7    -5    kcms/activities/imports/activitysettings.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/41de7160674b3c76293209cf34acedd0af8d8dec