Bug 491699

Summary: Occasional crash in QQmlDelegateModelItem::destroyObject() when clicking on task manager icons
Product: [Plasma] plasmashell Reporter: Adam Fontenot <adam.m.fontenot+kde>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: VERIFIED UPSTREAM    
Severity: crash CC: akselmo, cwo.kde, kde, kde, kde, kde, kdedev, kubry, m.wege, martin+kde, mds_foss, nate, pollux66, postix, qydwhotmail, rocketraman, sw4, syntaxaire, tony.advantaged, UshinawaTamashi, victor_sueca, vkrevs, wwestrop, xCnhmibqNPeMnsK, yeetm3162, yule2000
Priority: HI Keywords: qt-crash
Version First Reported In: 6.1.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-141105
See Also: https://bugs.kde.org/show_bug.cgi?id=498246
https://bugs.kde.org/show_bug.cgi?id=502814
Latest Commit: Version Fixed/Implemented In: Qt 6.10.1
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/171930
Attachments: kcrash info
plasmashell crash screencast
Backtrace with Plasma 6.3.5 with Qt 6.9.0
Similar crash report for this issue
Backtrace with Plasma 6.4.4 and Qt 6.9.1
Backtrace with Plasma 6.4.5 and Qt 6.9.2
Backtrace with Plasma 6.4.5 with Qt 6.10.0 (also in QTBUG-141105)
backtrace post qt fix

Description Adam Fontenot 2024-08-14 04:10:12 UTC
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 ??? ()
Comment 1 Nate Graham 2024-08-14 21:44:13 UTC
Hmm, I don't see any KDE code in the backtrace. Looks like it's very deep in the guts of the QML runtime.
Comment 2 cwo 2025-02-20 08:27:17 UTC
*** Bug 500444 has been marked as a duplicate of this bug. ***
Comment 3 cwo 2025-03-04 06:57:08 UTC
*** Bug 501027 has been marked as a duplicate of this bug. ***
Comment 4 cwo 2025-03-04 07:49:00 UTC
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.
Comment 5 Nate Graham 2025-04-16 16:37:51 UTC
*** Bug 502853 has been marked as a duplicate of this bug. ***
Comment 6 Adam Fontenot 2025-04-16 17:03:33 UTC
Created attachment 180318 [details]
plasmashell crash screencast

On my dupe issue, I briefly managed to get this to happen in a reproducible way:

1. Make the preview modal really big for one grouped task icon by opening a lot of windows.
2. Tricking the preview modal for an adjacent task icon to be too big by hovering over the first icon and quickly moving to an adjacent one. (I can reproduce this reliably).
3. Sometimes (?) this will make hovering over the second icon (the one with the tricked preview size) crash plasmashell 3-4 seconds after you hover it. When this starts happening you can reliably crash plasmashell indefinitely by repeating this. Eventually, perhaps after opening and closing some windows, this stops happening again. I suppose I can't prove that (2) is definitely related but it does seem very suspicious in this context. In the original report, activating *any* icon causes the crash. In this followup, it's specifically the icon with the wrong preview modal size.

I've attached a screencast of this happening.

My dupe issue has an interesting traceback that actually touches a Plasma lib in one place, and that might help someone track this down:

Thread 1 (Thread 0x7e2f5a721a40 (LWP 43803)):
[KCrash Handler]
#4  0x00007e2f5fb7d04e in ??? () at /usr/lib/libQt6QmlModels.so.6
#5  0x00007e2f5fbcf1a1 in ??? () at /usr/lib/libQt6QmlModels.so.6
#6  0x00007e2f5fbe55db in ??? () at /usr/lib/libQt6QmlModels.so.6
#7  0x00007e2f5fbcadbb in QQmlDelegateModel::drainReusableItemsPool(int) () at /usr/lib/libQt6QmlModels.so.6
#8  0x00007e2f62aa44ea in QQuickListView::geometryChange(QRectF const&, QRectF const&) () at /usr/lib/libQt6Quick.so.6
#9  0x00007e2f627aabfd in QQuickItem::setSize(QSizeF const&) () at /usr/lib/libQt6Quick.so.6
#10 0x00007e2f596d21e6 in QQuickControlPrivate::resizeContent() () at /usr/lib/libQt6QuickTemplates2.so.6
#11 0x00007e2f596d761a in QQuickControl::geometryChange(QRectF const&, QRectF const&) () at /usr/lib/libQt6QuickTemplates2.so.6
#12 0x00007e2f627aabfd in QQuickItem::setSize(QSizeF const&) () at /usr/lib/libQt6Quick.so.6
#13 0x00007e2f627ce909 in ??? () at /usr/lib/libQt6Quick.so.6
#14 0x00007e2f627ced58 in QQuickLoader::geometryChange(QRectF const&, QRectF const&) () at /usr/lib/libQt6Quick.so.6
#15 0x00007e2f627aabfd in QQuickItem::setSize(QSizeF const&) () at /usr/lib/libQt6Quick.so.6
#16 0x00007e2f63999c95 in PlasmaQuick::PlasmaWindow::resizeEvent(QResizeEvent*) () at /usr/lib/libPlasmaQuick.so.6
#17 0x00007e2f615f5530 in QWindow::event(QEvent*) () at /usr/lib/libQt6Gui.so.6
#18 0x00007e2f62efed9e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#19 0x00007e2f60d5a018 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#20 0x00007e2f6158997d in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) () at /usr/lib/libQt6Gui.so.6
#21 0x00007e2f615fb23a in void QWindowSystemInterface::handleGeometryChange<QWindowSystemInterface::SynchronousDelivery>(QWindow*, QRect const&) () at /usr/lib/libQt6Gui.so.6
#22 0x00007e2f61eab67b in QtWaylandClient::QWaylandWindow::setGeometry(QRect const&) () at /usr/lib/libQt6WaylandClient.so.6
#23 0x00007e2f615f0aea in QWindow::resize(QSize const&) () at /usr/lib/libQt6Gui.so.6
#24 0x00007e2f4018e97d in ??? () at /usr/lib/qt6/qml/org/kde/plasma/core/libcorebindingsplugin.so
#25 0x00007e2f60db6cc9 in ??? () at /usr/lib/libQt6Core.so.6
#26 0x00007e2f627a9da1 in QQuickItem::setImplicitHeight(double) () at /usr/lib/libQt6Quick.so.6
#27 0x00007e2f627a0f38 in QQuickItemPrivate::implicitHeightChanged() () at /usr/lib/libQt6Quick.so.6
#28 0x00007e2f627a9da1 in QQuickItem::setImplicitHeight(double) () at /usr/lib/libQt6Quick.so.6
#29 0x00007e2f62260f63 in ??? () at /usr/lib/libQt6Qml.so.6
#30 0x00007e2f622796c2 in ??? () at /usr/lib/libQt6Qml.so.6
#31 0x00007e2f6227c99d in QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /usr/lib/libQt6Qml.so.6
#32 0x00007e2f62273c6e in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt6Qml.so.6
#33 0x00007e2f6230189c in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt6Qml.so.6
#34 0x00007e2f60db69ca in ??? () at /usr/lib/libQt6Core.so.6
#35 0x00007e2f6278d7ef in ??? () at /usr/lib/libQt6Quick.so.6
#36 0x00007e2f627973ca in QQuickItem::geometryChange(QRectF const&, QRectF const&) () at /usr/lib/libQt6Quick.so.6
#37 0x00007e2f627a9c60 in QQuickItem::setHeight(double) () at /usr/lib/libQt6Quick.so.6
#38 0x00007e2f627b8df9 in QQuickItem::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt6Quick.so.6
#39 0x00007e2f62260fbf in ??? () at /usr/lib/libQt6Qml.so.6
#40 0x00007e2f62323fa4 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlRefPointer<QQmlContextData> const&, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt6Qml.so.6
#41 0x00007e2f62325c72 in QQmlPropertyPrivate::writeValueProperty(QVariant const&, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt6Qml.so.6
#42 0x00007e2f629967f4 in ??? () at /usr/lib/libQt6Quick.so.6
#43 0x00007e2f6241318d in QAbstractAnimationJob::setCurrentTime(int) () at /usr/lib/libQt6Qml.so.6
#44 0x00007e2f624134d0 in QQmlAnimationTimer::updateAnimationsTime(long long) () at /usr/lib/libQt6Qml.so.6
#45 0x00007e2f60eb4b21 in QUnifiedTimer::updateAnimationTimers() () at /usr/lib/libQt6Core.so.6
#46 0x00007e2f60ebdd92 in QAnimationDriver::advanceAnimation() () at /usr/lib/libQt6Core.so.6
#47 0x00007e2f62a55817 in ??? () at /usr/lib/libQt6Quick.so.6
#48 0x00007e2f62efed9e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#49 0x00007e2f60d5a018 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#50 0x00007e2f60ede200 in QTimerInfoList::activateTimers() () at /usr/lib/libQt6Core.so.6
#51 0x00007e2f60fcfe29 in ??? () at /usr/lib/libQt6Core.so.6
#52 0x00007e2f5f8fa1e4 in ??? () at /usr/lib/libglib-2.0.so.0
#53 0x00007e2f5f95de97 in ??? () at /usr/lib/libglib-2.0.so.0
#54 0x00007e2f5f8f9615 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#55 0x00007e2f60fcd59d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#56 0x00007e2f60d65376 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#57 0x00007e2f60d5d159 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#58 0x00006055a59111cb in ??? ()
#59 0x00007e2f60635488 in ??? () at /usr/lib/libc.so.6
#60 0x00007e2f6063554c in __libc_start_main () at /usr/lib/libc.so.6
#61 0x00006055a59116d5 in ??? ()
Comment 7 Nate Graham 2025-04-24 08:36:26 UTC
*** Bug 503256 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2025-04-30 18:12:45 UTC
*** Bug 503580 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2025-05-02 16:12:28 UTC
*** Bug 503538 has been marked as a duplicate of this bug. ***
Comment 10 cwo 2025-05-17 18:50:28 UTC
*** Bug 504399 has been marked as a duplicate of this bug. ***
Comment 11 Akseli Lahtinen 2025-05-19 12:00:33 UTC
I don't get a crash, at least not so far in my testing, but there's a significant slowdown if one of the hovered items has a scrollbar in the preview section.
Comment 12 Nate Graham 2025-05-19 16:36:09 UTC
*** Bug 504501 has been marked as a duplicate of this bug. ***
Comment 13 m.wege 2025-05-20 17:59:45 UTC
May be it depends on which apps and/or which widgets are running. On my side: 
"Systemabschnitt der Kontrollleiste": Signal, Nextcloud, Neochat, Klipper, Bluetooth, KDE Connect, Printer, Color/ Brigthness, Devices, Networks
Apps shown in panel: Dolphin, Chrome/Chromium, Edge, Signal, Thunderbird, Firefox
Comment 14 mydarkstar 2025-05-27 13:44:16 UTC
Created attachment 181776 [details]
Backtrace with Plasma 6.3.5 with Qt 6.9.0

I can confirm that this is still an issue on Plasma 6.3.5 with Qt 6.9.0.

I had the crash occur multiple times on different devices, but am unsure how to reliably reproduce it.
It feels like it happens in random moments when you least expect it.

Hopefully the attached crash report is more useful.

# SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.12.30-1-lts (64-bit)
Graphics Platform: Wayland

# BACKTRACE RELEVANT LINES

#24 0x00007cd505787be3 in PlasmaQuick::PlasmaWindow::resizeEvent (this=0x5b6e73fbc5d0, e=0x7ffd54615d20) at /usr/src/debug/libplasma/libplasma-6.3.5/src/plasmaquick/plasmawindow.cpp:159
#36 0x00007cd4e7fdfe52 in ToolTipDialog::updateSize (this=0x5b6e73fbc5d0) at /usr/src/debug/libplasma/libplasma-6.3.5/src/declarativeimports/core/tooltipdialog.cpp:71
#39 0x00007cd505786b10 in PlasmaQuick::PlasmaWindow::setMainItem (this=<optimized out>, mainItem=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.3.5/src/plasmaquick/plasmawindow.cpp:79
#40 PlasmaQuick::PlasmaWindow::setMainItem (this=this@entry=0x5b6e73fbc5d0, mainItem=0x5b6e74cde1f0) at /usr/src/debug/libplasma/libplasma-6.3.5/src/plasmaquick/plasmawindow.cpp:69
#41 0x00007cd4e7fdf943 in ToolTipArea::showToolTip (this=0x5b6e74ec0fb0) at /usr/src/debug/libplasma/libplasma-6.3.5/src/declarativeimports/core/tooltiparea.cpp:156
#64 0x00005b6e32fa4b9c in PanelView::event (this=0x5b6e74649fc0, e=0x7ffd54617490) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.5/shell/panelview.cpp:1336
#68 0x00005b6e32fa4e68 in PanelView::event (this=0x5b6e74649fc0, e=0x7ffd54617760) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.5/shell/panelview.cpp:1242

# BACKTRACE EXCERPT

Thread 1 (Thread 0x7cd4fcd53a40 (LWP 1418)):
[KCrash Handler]
#5  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qscopedpointer.h:110
#6  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const> (ptr=..., ptr=...) at /usr/include/qt6/QtCore/qtclasshelpermacros.h:137
#7  QObject::d_func (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qobject.h:110
#8  QObjectPrivate::get (o=<optimized out>, o=<optimized out>) at /usr/include/qt6/QtCore/6.9.0/QtCore/private/qobject_p.h:152
#9  QQmlData::get (object=<optimized out>, object=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:233
#10 QQmlDelegateModelItem::destroyObject (this=0x5b6e736b71f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:2491
#11 0x00007cd5019741a1 in QQmlDelegateModelPrivate::destroyCacheItem (this=0x5b6e790431e0, cacheItem=0x5b6e736b71f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:614
#12 0x00007cd50198a5db in std::function<void(QQmlDelegateModelItem*)>::operator() (this=0x7ffd546157f0, __args#0=0x5b6e736b71f0) at /usr/include/c++/14.2.1/bits/std_function.h:591
#13 QQmlReusableDelegateModelItemsPool::drain (this=0x5b6e79043430, maxPoolTime=0, releaseItem=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:3974
#14 0x00007cd50196fdbb in QQmlDelegateModelPrivate::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1070
#15 QQmlDelegateModel::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qmlmodels/qqmldelegatemodel.cpp:1075
#16 0x00007cd5046a44ea in QQuickListView::geometryChange (this=0x5b6e77009c50, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquicklistview.cpp:3617
#17 0x00007cd5043aabfd in QQuickItem::setSize (this=this@entry=0x5b6e77009c50, size=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7781
#18 0x00007cd4fbcd21e6 in QQuickControlPrivate::resizeContent (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:375
#19 0x00007cd4fbcd761a in QQuickControl::geometryChange (this=0x5b6e7b57dc30, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickcontrol.cpp:2122
#20 0x00007cd5043aabfd in QQuickItem::setSize (this=0x5b6e7b57dc30, size=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7781
#21 0x00007cd5043ce909 in QQuickLoaderPrivate::_q_updateSize (this=0x5b6e74bd1660, loaderGeometryChanged=loaderGeometryChanged@entry=true) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickloader.cpp:925
#22 0x00007cd5043ced58 in QQuickLoader::geometryChange (this=0x5b6e74cde1f0, newGeometry=..., oldGeometry=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickloader.cpp:958
#23 0x00007cd5043aabfd in QQuickItem::setSize (this=0x5b6e74cde1f0, size=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:7781
#24 0x00007cd505787be3 in PlasmaQuick::PlasmaWindow::resizeEvent (this=0x5b6e73fbc5d0, e=0x7ffd54615d20) at /usr/src/debug/libplasma/libplasma-6.3.5/src/plasmaquick/plasmawindow.cpp:159
#25 0x00007cd5033f5530 in QWindow::event (this=0x5b6e73fbc5d0, ev=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2659
#26 0x00007cd504cfed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5b6e73fbc5d0, e=0x7ffd54615d20) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#27 0x00007cd502b5a018 in QCoreApplication::notifyInternal2 (receiver=0x5b6e73fbc5d0, event=0x7ffd54615d20) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#28 0x00007cd502b5a06d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1560
#29 0x00007cd50338997d in QGuiApplicationPrivate::processGeometryChangeEvent (e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2875
#30 0x00007cd5033fb23a in QWindowSystemEventHandler::sendEvent (this=<optimized out>, e=0x7ffd54615db0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:190
#31 QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::GeometryChangeEvent, QWindow*, QRect> () at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:102
#32 handleWindowSystemEvent<QWindowSystemInterfacePrivate::GeometryChangeEvent, QWindowSystemInterface::SynchronousDelivery, QWindow*, QRect> () at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:138
#33 QWindowSystemInterface::handleGeometryChange<QWindowSystemInterface::SynchronousDelivery> (window=0x5b6e73fbc5d0, newRect=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:307
#34 0x00007cd503ba05db in QtWaylandClient::QWaylandWindow::setGeometry (this=0x5b6e7634a450, r=...) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandwindow.cpp:481
#35 0x00007cd5033f0aea in QWindow::resize (this=this@entry=0x5b6e73fbc5d0, newSize=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2087
#36 0x00007cd4e7fdfe52 in ToolTipDialog::updateSize (this=0x5b6e73fbc5d0) at /usr/src/debug/libplasma/libplasma-6.3.5/src/declarativeimports/core/tooltipdialog.cpp:71
#37 0x00007cd502bb6cc9 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#38 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4138
#39 0x00007cd505786b10 in PlasmaQuick::PlasmaWindow::setMainItem (this=<optimized out>, mainItem=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.3.5/src/plasmaquick/plasmawindow.cpp:79
#40 PlasmaQuick::PlasmaWindow::setMainItem (this=this@entry=0x5b6e73fbc5d0, mainItem=0x5b6e74cde1f0) at /usr/src/debug/libplasma/libplasma-6.3.5/src/plasmaquick/plasmawindow.cpp:69
#41 0x00007cd4e7fdf943 in ToolTipArea::showToolTip (this=0x5b6e74ec0fb0) at /usr/src/debug/libplasma/libplasma-6.3.5/src/declarativeimports/core/tooltiparea.cpp:156
#42 0x00007cd5043a6fa8 in QQuickItem::event (this=0x5b6e74ec0fb0, ev=0x7ffd546162b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:9156
#43 0x00007cd504cfed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5b6e74ec0fb0, e=0x7ffd546162b0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#44 0x00007cd502b5a018 in QCoreApplication::notifyInternal2 (receiver=0x5b6e74ec0fb0, event=0x7ffd546162b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#45 0x00007cd502b5a05d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1546
#46 0x00007cd50456f6a6 in QQuickDeliveryAgentPrivate::sendHoverEvent (this=this@entry=0x5b6e746aea50, type=<optimized out>, item=0x5b6e74ec0fb0, scenePos=..., lastScenePos=..., modifiers=..., timestamp=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1087
#47 0x00007cd504570415 in QQuickDeliveryAgentPrivate::deliverHoverEventToItem (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74ec0fb0, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988, hoverChange=QQuickDeliveryAgentPrivate::HoverChange::Set) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1267
#48 0x00007cd50457105b in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74ec0fb0, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1223
#49 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74cc04c0, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#50 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74ce9340, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#51 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74cd7770, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#52 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74c75750, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#53 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e75870e70, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#54 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e7480a3b0, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#55 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e747cabc0, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#56 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e748172e0, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#57 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74796920, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#58 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=item@entry=0x5b6e74083300, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#59 0x00007cd504570fa3 in QQuickDeliveryAgentPrivate::deliverHoverEventRecursive (this=this@entry=0x5b6e746aea50, item=0x5b6e73ff6d20, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1210
#60 0x00007cd50457120e in QQuickDeliveryAgentPrivate::deliverHoverEvent (this=this@entry=0x5b6e746aea50, scenePos=..., lastScenePos=..., modifiers=..., modifiers@entry=..., timestamp=timestamp@entry=2003988) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1128
#61 0x00007cd504578968 in QQuickDeliveryAgentPrivate::handleMouseEvent (this=this@entry=0x5b6e746aea50, event=event@entry=0x7ffd54617490) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:1784
#62 0x00007cd504578e03 in QQuickDeliveryAgent::event (this=<optimized out>, ev=0x7ffd54617490) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/util/qquickdeliveryagent.cpp:822
#63 0x00007cd50446d5f8 in QQuickWindow::event (this=this@entry=0x5b6e74649fc0, event=event@entry=0x7ffd54617490) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:1548
#64 0x00005b6e32fa4b9c in PanelView::event (this=0x5b6e74649fc0, e=0x7ffd54617490) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.5/shell/panelview.cpp:1336
#65 0x00007cd504cfed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5b6e74649fc0, e=0x7ffd54617490) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#66 0x00007cd502b5a018 in QCoreApplication::notifyInternal2 (receiver=0x5b6e74649fc0, event=0x7ffd54617490) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#67 0x00007cd502b5a05d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1546
#68 0x00005b6e32fa4e68 in PanelView::event (this=0x5b6e74649fc0, e=0x7ffd54617760) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.5/shell/panelview.cpp:1242
#69 0x00007cd504cfed9e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5b6e74649fc0, e=0x7ffd54617760) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3301
#70 0x00007cd502b5a018 in QCoreApplication::notifyInternal2 (receiver=0x5b6e74649fc0, event=0x7ffd54617760) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
#71 0x00007cd502b5a06d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1560
#72 0x00007cd50338c0c5 in QGuiApplicationPrivate::processMouseEvent (e=0x5b6e78980610) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2483
#73 0x00007cd50340d0c4 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1113
#74 0x00007cd50340d2b7 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1082
#75 0x00007cd502bb6f1a in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4150
#76 0x00007cd502dcd5e5 in QAbstractEventDispatcher::awake (this=0x5b6e72f29270) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstracteventdispatcher.cpp:128
#77 QEventDispatcherGlib::processEvents (this=0x5b6e72f29270, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:406
#78 0x00007cd502b65376 in QEventLoop::processEvents (this=0x7ffd54617b80, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#79 QEventLoop::exec (this=0x7ffd54617b80, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#80 0x00007cd502b5d159 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:77
#81 0x00007cd504cfb14a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2568
#82 0x00005b6e32f8970a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.3.5/shell/main.cpp:191
Comment 15 Nate Graham 2025-06-10 15:10:41 UTC
*** Bug 505422 has been marked as a duplicate of this bug. ***
Comment 16 TraceyC 2025-07-09 18:59:46 UTC
*** Bug 506597 has been marked as a duplicate of this bug. ***
Comment 17 Russ 2025-07-27 07:06:42 UTC
Created attachment 183556 [details]
Similar crash report for this issue

I am seeing something similar, although slightly different (thus, not sure if this would be better as a separate bug report). In my case, it seems not only to occur when hovering over/selecting an entry in the icons-only task manager but rather other widgets can trigger it too. For example, I have the media player widget on both of my panels (I have two monitors, both have a panel on them) and clicking one of them recently triggered a crash. That being said, it tends to have a higher chance of happening with the icons-only task manager widget. 

I'll attach a copy of the dump from systemd ("plasmashell-crash.log"), my system details are as follows:

Operating System: CachyOS Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 9900X 12-Core Processor
Memory: 64 GiB of RAM (60.4 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 5070 (this same system was previously using a Radeon 6700 XT, which this crash was still occurring with)
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650M C V3-Y1
System Version: Default string-CF
Comment 18 Adam Fontenot 2025-07-27 14:32:26 UTC
(In reply to Russ from comment #17)
> Created attachment 183556 [details]
> Similar crash report for this issue

That looks like a different crash to me, based on the backtrace. I'd report it separately, though note that it would be easier to debug your issue if you had the debug symbols. I think you can get them on Cachy like this:

coredumpctl gdb 48634

Respond y to the prompt asking you if you want to auto-download debuginfo. Then, after it downloads all the debug symbols and returns you to the "(gdb)" prompt, type bt then hit return. You can copy paste the response to this prompt. Because the crash is in the main thread, this is probably all you need.
Comment 19 TraceyC 2025-07-31 20:29:32 UTC
*** Bug 507704 has been marked as a duplicate of this bug. ***
Comment 20 Timothy B 2025-08-16 23:41:37 UTC
Created attachment 184166 [details]
Backtrace with Plasma 6.4.4 and Qt 6.9.1

This just happened to me on Plasma 6.4.4 and got a very similar backtrace. I reproduced the crash by doing the following:
0. Have multiple apps already open at the same time
1. Open a media player with MPRIS support (in my case, Audacious) and play some music
2. Hover over an icon in the task manager
3. Wait for the tooltip to appear
4. Shake the mouse cursor sideways (or up and down if it's on a vertical panel) over the other icons and the Pager widget to the left
5. Watch as one of the tooltips get stuck, plasmashell becoming completely unresponsive and eventually crashes

I have the task manager and pager widgets set up on a top panel exactly like in the video in comment #6, with window previews enabled in the task manager settings. However, I couldn't get plasmashell to crash or even lag with the same steps above if I turn off window previews.

I also noticed that when I hover over an app icon other than the one playing media, the window preview tooltip would randomly perform a shrinking effect on its bottom side the moment it appears. I suspect that the crash is related to that animation, which I think it feels out-of-place anyway.

Operating System: EndeavourOS
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Graphics Platform: Wayland
Comment 21 David Edmundson 2025-09-19 14:24:07 UTC
This is deep in Qt and there are no new traces with Qt 6.9.2

Lets consider this fixed, if someone can reproduce with > Qt 6.9.2 please reopen a new bug report
Comment 22 Nate Graham 2025-09-19 15:34:14 UTC
Or re-open this one *if it's the exact same backtrace.*
Comment 23 Timothy B 2025-09-22 03:34:35 UTC
Created attachment 185146 [details]
Backtrace with Plasma 6.4.5 and Qt 6.9.2

I just reproduced this with Plasma 6.4.5 and Qt 6.9.2 according to the steps outlined in comment #20. The backtrace is identical to attachment 184166 [details] and in comment #14. I have also sent this same exact backtrace to the developers using Dr. Konqi.
Comment 24 Nate Graham 2025-10-07 15:53:01 UTC
Indeed, Sentry confirms we're still getting new reports from people using Qt 6.9.2; see https://crash-reports.kde.org/organizations/kde/issues/77440/
Comment 25 mydarkstar 2025-10-13 04:28:54 UTC
Created attachment 185726 [details]
Backtrace with Plasma 6.4.5 with Qt 6.10.0 (also in QTBUG-141105)

I am still having this crash with:

KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0

(In reply to Nate, comment #1)
> Hmm, I don't see any KDE code in the backtrace. Looks like it's very deep in the guts of the QML runtime.

Since I was unable to find a relevant QTBUG, I reported this issue to Qt now:
https://bugreports.qt.io/browse/QTBUG-141105

I would be happy about further information or feedback for it!

(In reply to Adam, comment #6)
I am only able to reproduce the *UI issue* where the Task Manager window previews staying too wide after hovering from a window group with a lot of windows onto one with just two. However, I am unable to reliably reproduce the crash. It still seems to happen "at random" for me, but unfortunately still regularly.

(In reply to Russ, comment #17)
I agree with Adam. That looks like a different crash to me. But due to the missing debuginfo, not much can be read from it. :(
Based on the mention of the Media Player widget, you might have had an issue with bug 509192, or both (like me).
Comment 26 Nate Graham 2025-10-14 21:08:49 UTC
According to Sentry,  the frequency has dropped off a ton recently, even if we're still seeing a few cases. Lowering priority.
Comment 27 Nate Graham 2025-10-27 20:10:52 UTC
*** Bug 511106 has been marked as a duplicate of this bug. ***
Comment 28 Ganton 2025-10-27 22:40:49 UTC
> Since I was unable to find a relevant QTBUG, I reported this issue to Qt now:
> https://bugreports.qt.io/browse/QTBUG-141105

Today, that bug has been fixed.
Comment 29 Martin Bednar 2025-10-28 09:37:52 UTC
Applied patch, still can reproduce. Slightly different backtrace though.
 (Sorry for manual paste, DrKonqui and splitdebug aren't friends so far...)

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f527e2cee73 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:89
#2  0x00007f527e2766d6 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f5281423ee2 in KCrash::defaultCrashHandler (sig=11) at /var/tmp/portage/kde-frameworks/kcrash-6.18.0/work/kcrash-6.18.0/src/kcrash.cpp:605
#4  0x00007f527e276800 in <signal handler called> () at /usr/lib64/libc.so.6
#5  0x00007f527d589f39 in QQmlReusableDelegateModelItemsPool::drain (this=0x5637610701f0, maxPoolTime=0, releaseItem=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qmlmodels/qqmldelegatemodel.cpp:3970
#6  0x00007f527d58a224 in QQmlDelegateModelPrivate::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qmlmodels/qqmldelegatemodel.cpp:1073
#7  QQmlDelegateModel::drainReusableItemsPool (this=<optimized out>, maxPoolTime=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qmlmodels/qqmldelegatemodel.cpp:1078
#8  0x00007f52801f1def in QQuickListView::geometryChange (this=0x5637610f2470, newGeometry=..., oldGeometry=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquicklistview.cpp:3621
#9  0x00007f528053ff69 in QQuickItem::setSize (this=this@entry=0x5637610f2470, size=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7785
#10 0x00007f526a39aed0 in QQuickControlPrivate::resizeContent (this=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quicktemplates/qquickcontrol.cpp:376
#11 0x00007f526a38d02a in QQuickControl::geometryChange (this=0x563761a00400, newGeometry=..., oldGeometry=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quicktemplates/qquickcontrol.cpp:2134
#12 0x00007f528053ff69 in QQuickItem::setSize (this=this@entry=0x563761a00400, size=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7785
#13 0x00007f5280557567 in QQuickLoaderPrivate::_q_updateSize (this=0x56375f8adbd0, loaderGeometryChanged=loaderGeometryChanged@entry=true)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickloader.cpp:925
#14 0x00007f5280559f3e in QQuickLoader::geometryChange (this=0x56375f9dc4e0, newGeometry=..., oldGeometry=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickloader.cpp:958
#15 0x00007f528053ff69 in QQuickItem::setSize (this=0x56375f9dc4e0, size=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7785
#16 0x00007f5281561cf2 in PlasmaQuick::PlasmaWindow::resizeEvent (this=0x56375f06d660, e=<optimized out>)
    at /var/tmp/portage/kde-plasma/libplasma-6.5.0/work/libplasma-6.5.0/src/plasmaquick/plasmawindow.cpp:159
#17 0x00007f527f1ec215 in QWindow::event (this=0x56375f06d660, ev=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qwindow.cpp:2744
#18 0x00007f5280f6a4a4 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56375f06d660, e=0x7ffd96c653d0)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/widgets/kernel/qapplication.cpp:3300
#19 0x00007f527eb1bee8 in QCoreApplication::notifyInternal2 (receiver=0x56375f06d660, event=0x7ffd96c653d0)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qcoreapplication.cpp:1106
#20 0x00007f527eb1c0bd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qcoreapplication.cpp:1560
#21 0x00007f527f189d4a in QGuiApplicationPrivate::processGeometryChangeEvent (e=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qguiapplication.cpp:2868
#22 0x00007f527f1f24c5 in QWindowSystemEventHandler::sendEvent (this=<optimized out>, e=0x7ffd96c65460)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qwindowsysteminterface.cpp:190
#23 QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::GeometryChangeEvent, QWindow*, QRect, QRect> ()
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qwindowsysteminterface.cpp:102
#24 0x00007f527f1fd1f2 in handleWindowSystemEvent<QWindowSystemInterfacePrivate::GeometryChangeEvent, QWindowSystemInterface::SynchronousDelivery, QWindow*, QRect, QRect> () at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qwindowsysteminterface.cpp:138
#25 0x00007f527fef708d in QtWaylandClient::QWaylandWindow::setGeometry (this=0x5637611ffd10, r=<optimized out>)
    at /var/tmp/portage/dev-qt/qtwayland-6.9.3/work/qtwayland-everywhere-src-6.9.3/src/client/qwaylandwindow.cpp:481
#26 0x00007f527f1e4d8d in QWindow::resize (this=this@entry=0x56375f06d660, newSize=...)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qwindow.cpp:2092
#27 0x00007f52202ced65 in ToolTipDialog::updateSize (this=0x56375f06d660)
    at /var/tmp/portage/kde-plasma/libplasma-6.5.0/work/libplasma-6.5.0/src/declarativeimports/core/tooltipdialog.cpp:71
#28 0x00007f527eb0338b in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x56375f06d660, a=0x7ffd96c656a8)
--Type <RET> for more, q to quit, c to continue without paging--
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qobjectdefs_impl.h:461
#29 doActivate<false> (sender=0x56375f9dc4e0, signal_index=28, argv=0x7ffd96c656a8)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qobject.cpp:4170
#30 0x00007f528053df8f in QQuickItem::setImplicitWidth (this=0x56375f9dc4e0, w=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7527
#31 0x00007f528051a5b2 in QQuickItemPrivate::notifyChangeListeners<void (QQuickItemChangeListener::*)(QQuickItem*), QQuickItem* const&>
    (this=<optimized out>, changeTypes=..., function=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem_p.h:412
#32 QQuickItemPrivate::implicitWidthChanged (this=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7415
#33 0x00007f528053df8f in QQuickItem::setImplicitWidth (this=0x563761a00400, w=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7527
#34 0x00007f527fa4f8b2 in QQmlPropertyData::writeProperty (this=<optimized out>, target=<optimized out>, value=value@entry=0x7ffd96c65938, flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlpropertydata_p.h:344
#35 0x00007f527fabdce4 in GenericBinding<6>::doStore<double> (this=0x56376116e310, value=<optimized out>, pd=<optimized out>, flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlbinding.cpp:284
#36 GenericBinding<6>::write (this=0x56376116e310, result=..., isUndefined=<optimized out>, flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlbinding.cpp:257
#37 0x00007f527fa6f4b4 in QQmlBinding::doUpdate (this=0x56376116e310, watcher=..., flags=..., scope=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlbinding.cpp:715
#38 0x00007f527fa95631 in QQmlBinding::update (this=0x56376116e310, flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlbinding.cpp:165
#39 0x00007f527f9ae692 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x7ffd96c674f0)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlnotifier.cpp:70
#40 0x00007f527eb0306a in doActivate<false> (sender=0x5637610e33c0, signal_index=3, argv=0x7ffd96c674f0)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qobject.cpp:4060
#41 0x00007f527eabd9f4 in QMetaObject::activate
    (sender=<optimized out>, m=m@entry=0x7f528074bac0 <QQuickItem::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd96c674f0)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qobject.cpp:4230
#42 0x00007f52805375e3 in QMetaObject::activate<void, QRectF>
    (sender=<optimized out>, mo=0x7f528074bac0 <QQuickItem::staticMetaObject>, local_signal_index=0, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:306
#43 QQuickItem::childrenRectChanged (this=<optimized out>, _t1=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3_build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:932
#44 QQuickItemPrivate::emitChildrenRectChanged (this=<optimized out>, rect=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem_p.h:690
#45 QQuickContents::updateRect (this=0x56375fc530e0)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:253
#46 QQuickContents::itemGeometryChanged (this=0x56375fc530e0, changed=<optimized out>, change=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:267
#47 0x00007f5280559925 in operator() (listener=..., __closure=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:3904
#48 QQuickItemPrivate::notifyChangeListeners<QQuickItem::geometryChange(const QRectF&, const QRectF&)::<lambda(const QQuickItemPrivate::ChangeListener&)> >
    (this=0x5637611b8e90, changeTypes=..., function=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem_p.h:414
#49 QQuickItem::geometryChange (this=0x563761199a60, newGeometry=<optimized out>, oldGeometry=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:3902
#50 0x00007f528053e479 in QQuickItem::setHeight (this=0x563761199a60, h=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/items/qquickitem.cpp:7609
#51 0x00007f5280580a3f in QQuickItem::qt_metacall (this=0x563761199a60, _c=QMetaObject::WriteProperty, _id=8, _a=0x7ffd96c676c0)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3_build/src/quick/Quick_autogen/include/moc_qquickitem.cpp:923
#52 0x00007f527f9a8604 in QQmlPropertyData::doMetacall<(QMetaObject::Call)2> (this=<optimized out>, object=0x563761199a60, idx=<optimized out>, argv=0x7ffd96c676c0)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlpropertydata_p.h:377
--Type <RET> for more, q to quit, c to continue without paging--
#53 QQmlPropertyData::doMetacall<(QMetaObject::Call)2> (this=0x5637630fb8f0, object=0x563761199a60, idx=<optimized out>, argv=0x7ffd96c676c0)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlpropertydata_p.h:372
#54 QQmlPropertyData::writeProperty (this=this@entry=0x5637630fb8f0, target=target@entry=0x563761199a60, value=<optimized out>, flags=..., flags@entry=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlpropertydata_p.h:395
#55 0x00007f527f9ef7cc in QQmlPropertyPrivate::write (object=0x563761199a60, property=..., value=..., context=..., flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlproperty.cpp:1529
#56 0x00007f527fa03b86 in QQmlPropertyPrivate::writeValueProperty
    (object=<optimized out>, core=<optimized out>, valueTypeData=<optimized out>, value=..., context=..., flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlproperty.cpp:1318
#57 0x00007f527fa03bf3 in QQmlPropertyPrivate::writeValueProperty (this=0x5637630fb8c0, value=..., flags=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlproperty.cpp:1263
#58 0x00007f527fa03ca5 in QQmlPropertyPrivate::write (that=..., value=..., flags=..., flags@entry=...)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/qml/qqmlproperty.cpp:1924
#59 0x00007f5280328826 in QSmoothedAnimation::updateCurrentTime (this=0x56375eb743c0, t=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/util/qquicksmoothedanimation.cpp:218
#60 QSmoothedAnimation::updateCurrentTime (this=0x56375eb743c0, t=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/util/qquicksmoothedanimation.cpp:204
#61 0x00007f527f906a78 in QAbstractAnimationJob::setCurrentTime (this=0x56375eb743c0, msecs=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/animations/qabstractanimationjob.cpp:483
#62 0x00007f527f906da0 in QQmlAnimationTimer::updateAnimationsTime (this=0x56375d92b8e0, delta=8)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/animations/qabstractanimationjob.cpp:105
#63 QQmlAnimationTimer::updateAnimationsTime (this=0x56375d92b8e0, delta=8)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/qml/animations/qabstractanimationjob.cpp:88
#64 0x00007f527e9ee751 in QUnifiedTimer::updateAnimationTimers (this=this@entry=0x56375d2d7410)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/animation/qabstractanimation.cpp:289
#65 0x00007f527e9ef27a in QAnimationDriver::advanceAnimation (this=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/animation/qabstractanimation.cpp:756
#66 0x00007f5280243ba7 in QSGThreadedRenderLoop::event (e=<optimized out>, this=0x56375d2d7710)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1775
#67 QSGThreadedRenderLoop::event (this=0x56375d2d7710, e=<optimized out>)
    at /var/tmp/portage/dev-qt/qtdeclarative-6.9.3-r1/work/qtdeclarative-everywhere-src-6.9.3/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1766
#68 0x00007f5280f6a4a4 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56375d2d7710, e=0x7ffd96c67bf0)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/widgets/kernel/qapplication.cpp:3300
#69 0x00007f527eb1bee8 in QCoreApplication::notifyInternal2 (receiver=0x56375d2d7710, event=0x7ffd96c67bf0)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qcoreapplication.cpp:1106
#70 0x00007f527eb1c0ad in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qcoreapplication.cpp:1546
#71 0x00007f527ea1feda in QTimerInfoList::activateTimers (this=0x56375c083c30)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qtimerinfo_unix.cpp:426
#72 0x00007f527e8ccac4 in timerSourceDispatch (source=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#73 idleTimerSourceDispatch (source=<optimized out>)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qeventdispatcher_glib.cpp:199
#74 0x00007f527d2ddba2 in g_main_dispatch () at /usr/lib64/libglib-2.0.so.0
#75 0x00007f527d2e0fc7 in g_main_context_iterate_unlocked.isra () at /usr/lib64/libglib-2.0.so.0
#76 0x00007f527d2e1770 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#77 0x00007f527e8ccc83 in QEventDispatcherGlib::processEvents (this=0x56375c024f90, flags=...)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#78 0x00007f527eb4994a in QEventLoop::exec (this=this@entry=0x7ffd96c67e60, flags=..., flags@entry=...)
    at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/global/qflags.h:77
#79 0x00007f527eb49ae3 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/corelib/global/qflags.h:77
#80 0x00007f527f17c4b0 in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/gui/kernel/qguiapplication.cpp:1986
--Type <RET> for more, q to quit, c to continue without paging--
#81 0x00007f5280ef1d19 in QApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.9.3/work/qtbase-everywhere-src-6.9.3/src/widgets/kernel/qapplication.cpp:2567
#82 0x00005637495ad80b in main (argc=<optimized out>, argv=<optimized out>)
    at /var/tmp/portage/kde-plasma/plasma-workspace-6.5.0-r1/work/plasma-workspace-6.5.0/shell/main.cpp:188
Comment 30 Martin Bednar 2025-10-28 10:32:19 UTC
(In reply to Nate Graham from comment #27)
> *** Bug 511106 has been marked as a duplicate of this bug. ***

Important thing to reproduce using instructions from this report: it's not enough for the preview popup to have a horizontal scrollbar, one of the previews must be offscreen.
Comment 31 mydarkstar 2025-10-28 22:07:50 UTC
Fixed in Qt v6.10.1 and v6.8.6.
https://bugreports.qt.io/browse/QTBUG-141105

Qt 6.10.1 is to be released 18.11.2025.
Qt 6.8.6 is to be released 08.12.2025.

See release schedules: https://wiki.qt.io/Qt_6.10_Release, https://wiki.qt.io/Qt_6.8_Release

It would be great if anyone who has the Qt dev branch set up could triage this and confirm it fixing this issue.
https://codereview.qt-project.org/c/qt/qtdeclarative/+/684694
Comment 32 mydarkstar 2025-10-28 22:32:33 UTC
(In reply to Martin Bednar from comment #29)
> Applied patch, still can reproduce. Slightly different backtrace though.
>  (Sorry for manual paste, DrKonqui and splitdebug aren't friends so far...)

Thanks for checking! I had skipped this long comment.

Your backtrace looks very different. It would be neat if you could explore frame 5 a little and report what you find.
Perhaps it's worthy of a followup in QTBUG-141105?

(In reply to Martin Bednar from comment #30)
> Important thing to reproduce using instructions from this report: it's not enough for the preview popup to have a horizontal scrollbar, one of the previews must be offscreen.

Interestingly, I don't remember this being the case for most of my crashes.
I don't use that many windows of one program. It appeared to be more random for me.
But of course it's good that it helps reproduction!

I notice the same visual bug you recorded in attachment 186142 [details], where the container stays wide, even though the program I hovered to only displays two window previews.

However, I can't reproduce a crash on Plasma 6.4.5, Frameworks 6.19.0, and Qt 6.10.0 using this method on my system, even while playing video in Firefox... Perhaps you have a slightly different setup, e.g. I use Icons-Only Task Manager.
Comment 33 Martin Bednar 2025-10-28 22:55:03 UTC
(In reply to mydarkstar from comment #32)

> Your backtrace looks very different. It would be neat if you could explore
> frame 5 a little and report what you find.
> Perhaps it's worthy of a followup in QTBUG-141105?
> 
> (In reply to Martin Bednar from comment #30)
> > Important thing to reproduce using instructions from this report: it's not enough for the preview popup to have a horizontal scrollbar, one of the previews must be offscreen.
> 
> Interestingly, I don't remember this being the case for most of my crashes.
> I don't use that many windows of one program. It appeared to be more random
> for me.
> But of course it's good that it helps reproduction!
> 
> I notice the same visual bug you recorded in attachment 186142 [details],
> where the container stays wide, even though the program I hovered to only
> displays two window previews.

Yes, that was my primary report, I found the crash later.

> 
> However, I can't reproduce a crash on Plasma 6.4.5, Frameworks 6.19.0, and
> Qt 6.10.0 using this method on my system, even while playing video in
> Firefox... Perhaps you have a slightly different setup, e.g. I use
> Icons-Only Task Manager.

So far I can reproduce 100% whenever at least one preview is offscreen at time of creation of the popup.
I use Icons-and-Text task manager, plasma 6.5.0, frameworks 6.18.0.  
Updating frameworks to 6.19 now. I'll let it update overnight (Gentoo) and report in the morning.
Comment 34 Martin Bednar 2025-10-29 10:04:22 UTC
Created attachment 186282 [details]
backtrace post qt fix

Still crashes with frameworks 6.19.
Comment 35 Martin Bednar 2025-10-29 10:29:27 UTC
(In reply to mydarkstar from comment #32)
> Perhaps it's worthy of a followup in QTBUG-141105?

Done.
Comment 36 Adam Fontenot 2025-10-29 18:57:10 UTC
I was able to reproduce the crash as well just row. It's never been 100% for me, but in this case it was under similar conditions to what Martin reported. This was with Qt 6.10.0 (rebuilt with patch) instead of Martin's 6.9.3.

Unfortunately I don't think this is fixed.
Comment 37 Martin Bednar 2025-10-30 12:46:25 UTC
(In reply to Adam Fontenot from comment #36)
> I was able to reproduce the crash as well just row. It's never been 100% for
> me, but in this case it was under similar conditions to what Martin
> reported. This was with Qt 6.10.0 (rebuilt with patch) instead of Martin's
> 6.9.3.
> 
> Unfortunately I don't think this is fixed.

you have a trace? I'd be curious if in 6.10 it's more sensical, because in 6.9 it has all the hallmarks of compilation dependent memory overwrite... the infamous heisenbug
Comment 38 TraceyC 2025-11-06 20:23:30 UTC
*** Bug 511708 has been marked as a duplicate of this bug. ***
Comment 39 Adam Fontenot 2025-11-08 22:20:29 UTC
(In reply to Martin Bednar from comment #37)
> you have a trace? I'd be curious if in 6.10 it's more sensical, because in
> 6.9 it has all the hallmarks of compilation dependent memory overwrite...
> the infamous heisenbug

Unfortunately, I unthinkingly stripped the debug symbols when I rebuilt Qt, but what I did get looked a lot like your backtrace. I'm trying again, this time including both the QTBUG-141105 fix and also this one: https://codereview.qt-project.org/c/qt/qtdeclarative/+/688387

The latter was reported recently on the Qt bug as part of another way to trigger the same crash. With *both* cherry-picked to 6.10, I haven't been able to reproduce the issue so far. Curious if you're able to, since you report being able to reproduce 100% of the time.
Comment 40 Martin Bednar 2025-11-09 10:15:28 UTC
(In reply to Adam Fontenot from comment #39)

> The latter was reported recently on the Qt bug as part of another way to
> trigger the same crash. With *both* cherry-picked to 6.10, I haven't been
> able to reproduce the issue so far. Curious if you're able to, since you
> report being able to reproduce 100% of the time.

The patch in https://codereview.qt-project.org/c/qt/qtdeclarative/+/688387 doesn't apply to 6.9.3. 
And when I just copy the code manually, I get a compile error: 
> ‘PoolItem’ was not declared in this scope

I could try upgrading to 6.10, but that won't be today ( probably not even tomorrow).
Comment 41 Martin Bednar 2025-11-11 21:30:27 UTC
(In reply to Adam Fontenot from comment #39)
> The latter was reported recently on the Qt bug as part of another way to
> trigger the same crash. With *both* cherry-picked to 6.10, I haven't been
> able to reproduce the issue so far. Curious if you're able to, since you
> report being able to reproduce 100% of the time.

Applied both patches to 6.10.0, and can't reproduce anymore.
Comment 42 TraceyC 2025-11-12 18:10:26 UTC
(In reply to Martin Bednar from comment #41)
> Applied both patches to 6.10.0, and can't reproduce anymore.

That's great news, thanks for confirming!
Comment 43 TraceyC 2025-11-13 17:41:31 UTC
*** Bug 512019 has been marked as a duplicate of this bug. ***
Comment 44 TraceyC 2025-11-21 17:32:47 UTC
*** Bug 512443 has been marked as a duplicate of this bug. ***