Bug 508203

Summary: Cutting and pasting a directory into another caused Dolphin to crash
Product: [Applications] dolphin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: crash CC: kdedev, kfm-devel
Priority: NOR Keywords: drkonqi
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=2373982
https://bugs.kde.org/show_bug.cgi?id=469261
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/233961/events/3ad17d4e8f714cc481d3fcadaa971ba1/
Attachments: New crash information added by DrKonqi

Description Roke Julian Lockhart Beedell 2025-08-13 17:52:09 UTC
Application: dolphin (25.04.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.17.0
Operating System: Linux 6.15.9-201.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
See https://bugzilla.redhat.com/show_bug.cgi?id=2373982#c16 for an indication that this may be unrelated to my method of reproduction. However, I am very uncertain.

The crash does not seem to be reproducible.

-- Backtrace (Reduced):
#5  QHashPrivate::Span<QHashPrivate::Node<QByteArray, QVariant> >::offset (this=0xbf0d6ba4be370600, i=70) at /usr/include/qt6/QtCore/qhash.h:304
#6  QHashPrivate::Data<QHashPrivate::Node<QByteArray, QVariant> >::Bucket::offset (this=<synthetic pointer>) at /usr/include/qt6/QtCore/qhash.h:501
#7  QHashPrivate::Data<QHashPrivate::Node<QByteArray, QVariant> >::findBucket<QByteArray> (this=<optimized out>, key=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:696
#8  0x00007f4468a2ea08 in QHashPrivate::Data<QHashPrivate::Node<QByteArray, QVariant> >::findNode<QByteArray> (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:710
#9  QHash<QByteArray, QVariant>::valueImpl<QByteArray> (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:1081
#10 QHash<QByteArray, QVariant>::value (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:1090
#11 KFileItemModel::expandedParentsCount (data=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kfileitemmodel.cpp:1723
#12 0x00007f4468a7f141 in KItemListView::hasSiblingSuccessor (this=this@entry=0x55ce885f5e30, index=index@entry=67) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kitemlistview.cpp:2783
#13 0x00007f4468a812c2 in KItemListView::updateSiblingsInformation (this=this@entry=0x55ce885f5e30, firstIndex=98, firstIndex@entry=-1, lastIndex=103, lastIndex@entry=-1) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kitemlistview.cpp:2751
#14 0x00007f4468a84750 in KItemListView::slotItemsRemoved (this=0x55ce885f5e30, itemRanges=...) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kitemlistview.cpp:1359
#15 0x00007f4465d657ba in QtPrivate::QSlotObjectBase::call (this=0x55ce886d1720, r=0x55ce885f5e30, a=0x7ffc071c1820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#16 doActivate<false> (sender=0x55ce886ce590, signal_index=4, argv=argv@entry=0x7ffc071c1820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146
[...]
#19 KItemModelBase::itemsRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/redhat-linux-build/src/dolphinprivate_autogen/include/moc_kitemmodelbase.cpp:210
#20 0x00007f4468a2df36 in KFileItemModel::slotItemsDeleted (this=0x55ce886ce590, items=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kfileitemmodel.cpp:1292
#21 0x00007f4465d657ba in QtPrivate::QSlotObjectBase::call (this=0x55ce886cee60, r=0x55ce886ce590, a=0x7ffc071c1a40) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x55ce886ce820, signal_index=14, argv=argv@entry=0x7ffc071c1a40) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146


Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-08-13 17:52:10 UTC
Created attachment 184036 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-08-14 23:13:18 UTC
Searchable backtrace


Thread 1 (Thread 0x7f445eddfdc0 (LWP 13651)):
[KCrash Handler]
#5  QHashPrivate::Span<QHashPrivate::Node<QByteArray, QVariant> >::offset (this=0xbf0d6ba4be370600, i=70) at /usr/include/qt6/QtCore/qhash.h:304
#6  QHashPrivate::Data<QHashPrivate::Node<QByteArray, QVariant> >::Bucket::offset (this=<synthetic pointer>) at /usr/include/qt6/QtCore/qhash.h:501
#7  QHashPrivate::Data<QHashPrivate::Node<QByteArray, QVariant> >::findBucket<QByteArray> (this=<optimized out>, key=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:696
#8  0x00007f4468a2ea08 in QHashPrivate::Data<QHashPrivate::Node<QByteArray, QVariant> >::findNode<QByteArray> (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:710
#9  QHash<QByteArray, QVariant>::valueImpl<QByteArray> (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:1081
#10 QHash<QByteArray, QVariant>::value (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:1090
#11 KFileItemModel::expandedParentsCount (data=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kfileitemmodel.cpp:1723
#12 0x00007f4468a7f141 in KItemListView::hasSiblingSuccessor (this=this@entry=0x55ce885f5e30, index=index@entry=67) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kitemlistview.cpp:2783
#13 0x00007f4468a812c2 in KItemListView::updateSiblingsInformation (this=this@entry=0x55ce885f5e30, firstIndex=98, firstIndex@entry=-1, lastIndex=103, lastIndex@entry=-1) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kitemlistview.cpp:2751
#14 0x00007f4468a84750 in KItemListView::slotItemsRemoved (this=0x55ce885f5e30, itemRanges=...) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kitemlistview.cpp:1359
#15 0x00007f4465d657ba in QtPrivate::QSlotObjectBase::call (this=0x55ce886d1720, r=0x55ce885f5e30, a=0x7ffc071c1820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#16 doActivate<false> (sender=0x55ce886ce590, signal_index=4, argv=argv@entry=0x7ffc071c1820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146
#17 0x00007f4465d5c089 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc071c1820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4206
#18 0x00007f4468a86922 in QMetaObject::activate<void, KItemRangeList> (sender=<optimized out>, mo=<optimized out>, local_signal_index=1, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:306
#19 KItemModelBase::itemsRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/redhat-linux-build/src/dolphinprivate_autogen/include/moc_kitemmodelbase.cpp:210
#20 0x00007f4468a2df36 in KFileItemModel::slotItemsDeleted (this=0x55ce886ce590, items=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/kitemviews/kfileitemmodel.cpp:1292
#21 0x00007f4465d657ba in QtPrivate::QSlotObjectBase::call (this=0x55ce886cee60, r=0x55ce886ce590, a=0x7ffc071c1a40) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x55ce886ce820, signal_index=14, argv=argv@entry=0x7ffc071c1a40) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146
#23 0x00007f4465d5c089 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4468593940, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffc071c1a40) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4206
#24 0x00007f44684d6022 in QMetaObject::activate<void, KFileItemList> (sender=<optimized out>, mo=0x7f4468593940, local_signal_index=11, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:306
#25 KCoreDirLister::itemsDeleted (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/redhat-linux-build/src/core/KF6KIOCore_autogen/include/moc_kcoredirlister.cpp:400
#26 0x00007f44684d06dc in KCoreDirListerPrivate::emitItemsDeleted (this=0x55ce8862f9a0, itemsList=...) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/src/core/kcoredirlister.cpp:2557
#27 KCoreDirListerCache::itemsDeleted (this=0x55ce88221e20, listers=<optimized out>, deletedItems=...) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/src/core/kcoredirlister.cpp:1916
#28 0x00007f44684c620e in KCoreDirListerCache::slotFilesRemoved (this=0x55ce88221e20, fileList=<optimized out>) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/src/core/kcoredirlister.cpp:2836
#29 0x00007f44684c6356 in KCoreDirListerCache::slotFilesRemoved (this=0x55ce88221e20, fileList=<optimized out>) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/src/core/kcoredirlister.cpp:797
#30 0x00007f4465d657ba in QtPrivate::QSlotObjectBase::call (this=0x55ce8822ae70, r=0x55ce88221e20, a=0x7ffc071c1d80) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#31 doActivate<false> (sender=0x55ce88221d40, signal_index=8, argv=argv@entry=0x7ffc071c1d80) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146
#32 0x00007f4465d5c089 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc071c1d80) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4206
#33 0x00007f4468511bc2 in QMetaObject::activate<void, QList<QString> > (sender=<optimized out>, mo=<optimized out>, local_signal_index=5, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:306
#34 OrgKdeKDirNotifyInterface::FilesRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/redhat-linux-build/src/core/KF6KIOCore_autogen/include/moc_kdirnotify.cpp:210
#35 0x00007f4468511e01 in OrgKdeKDirNotifyInterface::qt_static_metacall (_o=_o@entry=0x55ce88221d40, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffc071c1f18) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/redhat-linux-build/src/core/KF6KIOCore_autogen/include/moc_kdirnotify.cpp:120
#36 0x00007f4468517082 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x55ce88221d40, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffc071c1f18) at /usr/src/debug/kf6-kio-6.17.0-1.fc42.x86_64/redhat-linux-build/src/core/KF6KIOCore_autogen/include/moc_kdirnotify.cpp:166
#37 0x00007f44678ada9e in QDBusConnectionPrivate::deliverCall (this=0x7f444c001690, object=0x55ce88221d40, msg=..., metaTypes=<optimized out>, slotIdx=10) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/dbus/qdbusintegrator.cpp:1007
#38 0x00007f4465d5662c in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:1431
#39 0x00007f446703d97f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ce88221d40, e=0x7f444c002a10) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3303
#40 0x00007f4465cf9f38 in QCoreApplication::notifyInternal2 (receiver=0x55ce88221d40, event=0x7f444c002a10) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106
#41 0x00007f4465cfa19d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1546
#42 0x00007f4465cfdd26 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55ce87d0b6e0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1879
#43 0x00007f446601016f in postEventSourceDispatch (s=0x55ce87d37740) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#44 0x00007f446338c863 in g_main_dispatch (context=0x7f444c000f00) at ../glib/gmain.c:3398
#45 g_main_context_dispatch_unlocked (context=0x7f444c000f00) at ../glib/gmain.c:4249
#46 0x00007f44633957a8 in g_main_context_iterate_unlocked (context=context@entry=0x7f444c000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4314
#47 0x00007f4463395953 in g_main_context_iteration (context=0x7f444c000f00, may_block=1) at ../glib/gmain.c:4379
#48 0x00007f446600f9ad in QEventDispatcherGlib::processEvents (this=0x55ce87d38810, flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#49 0x00007f4465d07b03 in QEventLoop::exec (this=this@entry=0x7ffc071c2560, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/global/qflags.h:77
#50 0x00007f4465d03419 in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1449
#51 0x00007f44664ddbad in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1986
#52 0x00007f446703d8e9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:2570
#53 0x000055ce60f147ad in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-25.04.3-1.fc42.x86_64/src/main.cpp:273
Comment 3 TraceyC 2025-08-14 23:17:06 UTC
This looks very similar to the backtrace in bug 469261 which hasn't been seen again in Plasma 6 until now.