Created attachment 172610 [details] kcrash info Every now and then, with no obvious cause, clicking on an icon in the Icons-Only Task Manager will crash plasmashell. When this happens it instantly restarts (my Plasma session is systemd), and if I click on an icon again I will immediately get another crash. I can easily crash plasmashell over and over many times this way. Eventually (after a minute or two?) the problem goes away, and the reason this happens is equally unclear. Switching windows via any other method does not cause a crash - *including* hovering over the task manager so that the preview widget appears and clicking one of the previews. I do have a multi-monitor setup, though that isn't related in any obvious way - it doesn't happen consistently when I switch monitors, and there's no visual glitch or any other indication this is related. I mention it only because it is unfortunately related to the Plasma crashes I see more often than not. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.10.3-arch1-2 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION Backtrace for crashing thread: Thread 1 (Thread 0x729c38a4f2c0 (LWP 126387)): [KCrash Handler] #5 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=0x8, this=<optimized out>) at /usr/include/qt6/QtCore/qscopedpointer.h:110 #6 qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const> (ptr=..., ptr=<optimized out>) at /usr/include/qt6/QtCore/qtclasshelpermacros.h:79 #7 QObject::d_func (this=0x0, this=<optimized out>) at /usr/include/qt6/QtCore/qobject.h:107 #8 QObjectPrivate::get (o=0x0, o=<optimized out>) at /usr/include/qt6/QtCore/6.7.2/QtCore/private/qobject_p.h:153 #9 QQmlData::get (object=0x0, object=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:229 #10 QQmlDelegateModelItem::destroyObject (this=0x55a93353bab0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:2480 #11 0x0000729c3dbd8461 in QQmlDelegateModelPrivate::destroyCacheItem (this=0x55a932dad6e0, cacheItem=0x55a93353bab0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:611 #12 0x0000729c3dbebb9b in std::function<void(QQmlDelegateModelItem*)>::operator() (this=0x7ffe711aa510, __args#0=0x55a93353bab0) at /usr/include/c++/14.1.1/bits/std_function.h:591 #13 QQmlReusableDelegateModelItemsPool::drain (this=0x55a932dad930, maxPoolTime=0, releaseItem=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:3961 #14 0x0000729c3dbd51fb in QQmlDelegateModelPrivate::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1066 #15 QQmlDelegateModel::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1071 #16 0x0000729c4066224a in QQuickListView::geometryChange (this=0x55a931df7b50, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:3558 #17 0x0000729c4039b2bd in QQuickItem::setSize (this=this@entry=0x55a931df7b50, size=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7684 #18 0x0000729c378c5636 in QQuickControlPrivate::resizeContent (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:374 #19 0x0000729c378c95fa in QQuickControl::geometryChange (this=0x729c2800be20, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:2094 #20 0x0000729c4039a544 in QQuickItem::setImplicitHeight (this=0x729c2800be20, h=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7569 #21 0x0000729c3fe4a8f3 in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:336 #22 0x0000729c3fe63872 in GenericBinding<6>::doStore<double> (this=0x55a93366b750, value=<optimized out>, pd=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:275 #23 GenericBinding<6>::write (this=0x55a93366b750, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:248 #24 0x0000729c3fe5f8ed in QQmlBinding::doUpdate (this=0x55a93366b750, watcher=..., flags=..., scope=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:701 #25 0x0000729c3fe5ec9e in QQmlBinding::update (this=0x55a93366b750, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:164 #26 0x0000729c3fedba4c in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x7ffe711ac380) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:70 #27 0x0000729c3eda144a in doActivate<false> (sender=0x55a93365ab20, signal_index=3, argv=0x7ffe711ac380) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:3976 #28 0x0000729c4037ec0f in QQuickItem::childrenRectChanged (this=<optimized out>, _t1=...) at /usr/src/debug/qt6-declarative/build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:1323 #29 QQuickItemPrivate::emitChildrenRectChanged (this=<optimized out>, rect=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem_p.h:634 #30 QQuickContents::updateRect (this=0x55a931d23610) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:254 #31 QQuickContents::itemGeometryChanged (this=0x55a931d23610, changed=<optimized out>, change=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:268 #32 0x0000729c40388616 in operator() (listener=..., __closure=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3881 #33 QQuickItemPrivate::notifyChangeListeners<QQuickItem::geometryChange(const QRectF&, const QRectF&)::<lambda(const QQuickItemPrivate::ChangeListener&)> > (this=0x55a931e3bdb0, changeTypes=..., function=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem_p.h:359 #34 QQuickItem::geometryChange (this=0x55a933261a80, newGeometry=<optimized out>, oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3879 #35 0x0000729c4039a320 in QQuickItem::setHeight (this=0x55a933261a80, h=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7508 #36 0x0000729c403a9fe8 in QQuickItem::qt_metacall (this=0x55a933261a80, _c=QMetaObject::WriteProperty, _id=8, _a=0x7ffe711ac540) at /usr/src/debug/qt6-declarative/build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:1313 #37 0x0000729c3fe4a94f in QQmlPropertyData::doMetacall<(QMetaObject::Call)2> (this=<optimized out>, object=<optimized out>, idx=<optimized out>, argv=0x7ffe711ac540) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:360 #38 QQmlPropertyData::doMetacall<(QMetaObject::Call)2> (this=<optimized out>, object=<optimized out>, idx=<optimized out>, argv=0x7ffe711ac540) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:355 #39 QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:378 #40 0x0000729c3fefcc1a in tryConvertAndAssign (object=<optimized out>, property=<optimized out>, value=<optimized out>, flags=..., propertyMetaType=..., variantMetaType=..., isUrl=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1414 #41 QQmlPropertyPrivate::write (object=0x55a933261a80, property=..., value=..., context=..., flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1532 #42 0x0000729c3fefe6a8 in QQmlPropertyPrivate::writeValueProperty (object=<optimized out>, core=<optimized out>, valueTypeData=<optimized out>, value=..., context=<optimized out>, flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1301 #43 0x0000729c3fefe712 in QQmlPropertyPrivate::writeValueProperty (this=0x55a9336f99e0, value=..., flags=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1246 #44 0x0000729c3fefe7d4 in QQmlPropertyPrivate::write (that=..., value=..., flags=..., flags@entry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlproperty.cpp:1837 #45 0x0000729c40571af4 in QSmoothedAnimation::updateCurrentTime (this=0x55a931d15f10, t=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquicksmoothedanimation.cpp:220 #46 QSmoothedAnimation::updateCurrentTime (this=0x55a931d15f10, t=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquicksmoothedanimation.cpp:206 #47 0x0000729c3ffc897d in QAbstractAnimationJob::setCurrentTime (this=0x55a931d15f10, msecs=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp:481 #48 0x0000729c3ffc8cb8 in QQmlAnimationTimer::updateAnimationsTime (this=0x55a930c1ab80, delta=13) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp:103 #49 QQmlAnimationTimer::updateAnimationsTime (this=0x55a930c1ab80, delta=13) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp:86 #50 0x0000729c3ee9b779 in QUnifiedTimer::updateAnimationTimers (this=this@entry=0x55a930aa3680) at /usr/src/debug/qt6-base/qtbase/src/corelib/animation/qabstractanimation.cpp:288 #51 0x0000729c3eea4712 in QAnimationDriver::advanceAnimation (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/animation/qabstractanimation.cpp:755 #52 0x0000729c40612937 in QSGThreadedRenderLoop::event (e=<optimized out>, this=0x55a930a817f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1713 #53 QSGThreadedRenderLoop::event (this=0x55a930a817f0, e=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1704 #54 0x0000729c40cfc51c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a930a817f0, e=0x7ffe711aca40) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287 #55 0x0000729c3ed44d28 in QCoreApplication::notifyInternal2 (receiver=0x55a930a817f0, event=0x7ffe711aca40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142 #56 0x0000729c3eec3c98 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7ffe711aca40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583 #57 QTimerInfoList::activateTimers (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:434 #58 0x0000729c3efa4979 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:150 #59 0x0000729c3d8d5ab9 in g_main_dispatch (context=0x729c30000f00) at ../glib/glib/gmain.c:3344 #60 0x0000729c3d9379e7 in g_main_context_dispatch_unlocked (context=0x729c30000f00) at ../glib/glib/gmain.c:4152 #61 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x729c30000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217 #62 0x0000729c3d8d4fc5 in g_main_context_iteration (context=0x729c30000f00, may_block=1) at ../glib/glib/gmain.c:4282 #63 0x0000729c3efa2cbd in QEventDispatcherGlib::processEvents (this=0x55a93027cdb0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #64 0x0000729c3ed4f01e in QEventLoop::processEvents (this=0x7ffe711acd20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100 #65 QEventLoop::exec (this=0x7ffe711acd20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182 #66 0x0000729c3ed4934d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74 #67 0x000055a90ae01d86 in ??? () #68 0x0000729c3e634e08 in __libc_start_call_main (main=main@entry=0x55a90adfee10, argc=argc@entry=2, argv=argv@entry=0x7ffe711ad118) at ../sysdeps/nptl/libc_start_call_main.h:58 #69 0x0000729c3e634ecc in __libc_start_main_impl (main=0x55a90adfee10, argc=2, argv=0x7ffe711ad118, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe711ad108) at ../csu/libc-start.c:360 #70 0x000055a90ae02275 in ??? ()
Hmm, I don't see any KDE code in the backtrace. Looks like it's very deep in the guts of the QML runtime.
*** Bug 500444 has been marked as a duplicate of this bug. ***
*** Bug 501027 has been marked as a duplicate of this bug. ***
Bug 498246 has a similar trace, and seems to be triggered frequently by the cat walk widget. Removing that widget seemed to remove the issue at first, but it still happens at a much lower frequency, see bug 501027.