Bug 487424

Summary: Dolphin visually glitching when expanding in Detail view, crashes when attempting to delete file/folder
Product: [Applications] dolphin Reporter: 847240
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: akselmo, christopher.jones.wa, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 23.08.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 847240 2024-05-23 11:33:59 UTC
Application: dolphin (23.08.5)

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.8.0-31-generic x86_64
Windowing System: X11
Distribution: Ubuntu 24.04 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
When expanding a folder F1 in detail view, the folder contents will be displayed below a different folder F2 on the same directory-structure-hierachy-level, as if they do not belong to F1, but to F2. Once the glitch starts it will persist for any other expanded folder. Any deletion operation will crash dolphin.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x000079dfd7c20076 in QHash<QByteArray, QVariant>::value (akey=..., this=0x634240aa3e48) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:656
#5  KFileItemModel::expandedParentsCount (data=<optimized out>) at /usr/src/dolphin-4:23.08.5-0ubuntu4/src/kitemviews/kfileitemmodel.cpp:1697
#6  0x000079dfd7c5b009 in KItemListView::hasSiblingSuccessor (this=this@entry=0x634240ba9a30, index=index@entry=56) at /usr/src/dolphin-4:23.08.5-0ubuntu4/src/kitemviews/kitemlistview.cpp:2648
#7  0x000079dfd7c5b246 in KItemListView::updateSiblingsInformation (this=0x634240ba9a30, firstIndex=38, lastIndex=96) at /usr/src/dolphin-4:23.08.5-0ubuntu4/src/kitemviews/kitemlistview.cpp:2632
#8  0x000079dfd7c5468f in KItemListView::slotItemsRemoved (this=0x634240ba9a30, itemRanges=...) at /usr/src/dolphin-4:23.08.5-0ubuntu4/src/kitemviews/kitemlistview.cpp:1247
#9  0x000079dfd5912e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffcb5b0bf60, r=0x634240ba9a30, this=0x634240b7e810) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x6342409375f0, signal_index=4, argv=0x7ffcb5b0bf60) at kernel/qobject.cpp:3925
#11 0x000079dfd590b697 in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcb5b0bf60) at kernel/qobject.cpp:3985
#12 0x000079dfd7c5ec4c in KItemModelBase::itemsRemoved (this=<optimized out>, _t1=...) at /usr/src/dolphin-4:23.08.5-0ubuntu4/obj-x86_64-linux-gnu/src/dolphinprivate_autogen/include/moc_kitemmodelbase.cpp:253
#13 0x000079dfd7c28f21 in KFileItemModel::slotItemsDeleted (this=0x6342409375f0, items=...) at /usr/src/dolphin-4:23.08.5-0ubuntu4/src/kitemviews/kfileitemmodel.cpp:1266
#14 0x000079dfd5912e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffcb5b0c110, r=0x6342409375f0, this=0x634240b7c210) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x634240b65000, signal_index=18, argv=0x7ffcb5b0c110) at kernel/qobject.cpp:3925
#16 0x000079dfd590b697 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x79dfd77210c0 <KCoreDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=15, argv=argv@entry=0x7ffcb5b0c110) at kernel/qobject.cpp:3985
#17 0x000079dfd768f56c in KCoreDirLister::itemsDeleted (this=<optimized out>, _t1=...) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:579
#18 0x000079dfd7693ee0 in KCoreDirListerPrivate::emitItemsDeleted (this=0x634240b7bdd0, itemsList=...) at /usr/src/kio-5.115.0-0ubuntu6/src/core/kcoredirlister.cpp:2601
#19 0x000079dfd76a3d33 in KCoreDirListerCache::itemsDeleted (this=this@entry=0x79dfd77255c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, listers=..., deletedItems=...) at /usr/src/kio-5.115.0-0ubuntu6/src/core/kcoredirlister.cpp:1932
#20 0x000079dfd76a50ad in KCoreDirListerCache::slotFilesRemoved (this=this@entry=0x79dfd77255c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, fileList=...) at /usr/src/kio-5.115.0-0ubuntu6/src/core/kcoredirlister.cpp:862
#21 0x000079dfd76a577a in KCoreDirListerCache::slotFilesRemoved (this=0x79dfd77255c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, fileList=...) at /usr/src/kio-5.115.0-0ubuntu6/src/core/kcoredirlister.cpp:812
#22 0x000079dfd5912e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffcb5b0c3f0, r=0x79dfd77255c0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, this=0x63423fedf250) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x63423fecf4a0, signal_index=8, argv=0x7ffcb5b0c3f0) at kernel/qobject.cpp:3925
#24 0x000079dfd590b697 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x79dfd7721ca0 <OrgKdeKDirNotifyInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffcb5b0c3f0) at kernel/qobject.cpp:3985
#25 0x000079dfd76c482c in OrgKdeKDirNotifyInterface::FilesRemoved (this=<optimized out>, _t1=...) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:253
#26 0x000079dfd76c49d9 in OrgKdeKDirNotifyInterface::qt_static_metacall (_o=_o@entry=0x63423fecf4a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffcb5b0c520) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:108
#27 0x000079dfd76c5a12 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x63423fecf4a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffcb5b0c520) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:204
#28 0x000079dfd6cb979b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001
#29 0x000079dfd5906343 in QObject::event (this=0x63423fecf4a0, e=0x79df94049be0) at kernel/qobject.cpp:1347
#30 0x000079dfd656bd45 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x63423fecf4a0, e=0x79df94049be0) at kernel/qapplication.cpp:3640
#31 0x000079dfd58d8118 in QCoreApplication::notifyInternal2 (receiver=0x63423fecf4a0, event=0x79df94049be0) at kernel/qcoreapplication.cpp:1064
#32 0x000079dfd58d8332 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#33 0x000079dfd58db94b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x63423fd9df50) at kernel/qcoreapplication.cpp:1821
#34 0x000079dfd58dbebd in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#35 0x000079dfd5935c0f in postEventSourceDispatch (s=0x63423fe8d800) at kernel/qeventdispatcher_glib.cpp:277
#36 0x000079dfd39145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x000079dfd3973717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x000079dfd3913a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x000079dfd5935279 in QEventDispatcherGlib::processEvents (this=0x63423fe936e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x000079dfd58d6a7b in QEventLoop::exec (this=this@entry=0x7ffcb5b0c9a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x000079dfd58df3e8 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x000063423ed1c47a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/dolphin-4:23.08.5-0ubuntu4/src/main.cpp:255
[Inferior 1 (process 3516) detached]

The reporter indicates this bug may be a duplicate of or related to bug 478357, bug 485755.

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-05-24 07:51:58 UTC
*** Bug 485755 has been marked as a duplicate of this bug. ***
Comment 2 Akseli Lahtinen 2024-05-24 07:55:45 UTC
Can't reproduce with dolphin 24.02.2. This should be already fixed in newer versions of Dolphin.

*** This bug has been marked as a duplicate of bug 469261 ***