Bug 426657 - Dolphin displays duplicate filenames, crashes in KFileItemModel::~KFileItemModel() on close
Summary: Dolphin displays duplicate filenames, crashes in KFileItemModel::~KFileItemMo...
Status: RESOLVED DUPLICATE of bug 422282
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.08.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
Keywords: drkonqi
: 427323 427537 (view as bug list)
Depends on:
Reported: 2020-09-17 21:56 UTC by Casey
Modified: 2020-12-29 10:23 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Casey 2020-09-17 21:56:48 UTC
Application: dolphin (20.08.1)

Qt Version: 5.15.1
Frameworks Version: 5.73.0
Operating System: Linux 5.8.7-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed: 

Accessing specific media folder on USB external hard drive. The drive has two partitions, one HFS legacy and one newly created EXT4. The specific folder on the EXT4 partition contains 45GB of music files, copied via rsync from an internal drive -- a backup. 

- Unusual behavior I noticed:

When opening the folder, it displayes duplicated contents -- album folders -- but does not close. When I manually close Dolphin it triggers the crash report. 

Dolphin has been crashing spradically doing various operations on similar data -- sizable media libraries -- typically on NFS connected shares but also on a local drive... it appears when files are being added, in progress, via torrenting. 

But this is the first event that is reproducable every time. 

This issue also occurs running "super-user" Dolphin. 

PLease advise if I must install debug resources. Thanks.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted

[KCrash Handler]
#4  0x00007fac7352e4b1 in raise () from /lib64/libc.so.6
#5  0x00007fac73517539 in abort () from /lib64/libc.so.6
#6  0x00007fac73571827 in __libc_message () from /lib64/libc.so.6
#7  0x00007fac73578b2c in malloc_printerr () from /lib64/libc.so.6
#8  0x00007fac7357a13d in _int_free () from /lib64/libc.so.6
#9  0x00007fac7343b95f in KFileItemModel::~KFileItemModel() () from /usr/lib64/libdolphinprivate.so.5
#10 0x00007fac7343bc89 in KFileItemModel::~KFileItemModel() () from /usr/lib64/libdolphinprivate.so.5
#11 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#12 0x00007fac71644854 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#13 0x00007fac734582a7 in KItemListContainer::~KItemListContainer() () from /usr/lib64/libdolphinprivate.so.5
#14 0x00007fac734582f9 in KItemListContainer::~KItemListContainer() () from /usr/lib64/libdolphinprivate.so.5
#15 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#16 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007fac73496a09 in DolphinView::~DolphinView() () from /usr/lib64/libdolphinprivate.so.5
#18 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#19 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007fac7371b5cd in ?? () from /usr/lib64/libkdeinit5_dolphin.so
#21 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#22 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007fac723c59a9 in QSplitter::~QSplitter() () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#25 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007fac7375dcdc in ?? () from /usr/lib64/libkdeinit5_dolphin.so
#27 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#28 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007fac723ca759 in QStackedWidget::~QStackedWidget() () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#31 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007fac7375de9d in ?? () from /usr/lib64/libkdeinit5_dolphin.so
#33 0x00007fac71639c7e in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#34 0x00007fac7225d726 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007fac7370b97c in ?? () from /usr/lib64/libkdeinit5_dolphin.so
#36 0x00007fac7163be4f in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#37 0x00007fac72cb4a69 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#38 0x00007fac7222214f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007fac7161005a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#40 0x00007fac71612a91 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#41 0x00007fac71667f23 in ?? () from /usr/lib64/libQt5Core.so.5
#42 0x00007fac6f4c22b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007fac6f4c2638 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fac6f4c26ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fac716675af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#46 0x00007fac7160ea1b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#47 0x00007fac71616c90 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#48 0x00007fac7370b1a1 in kdemain () from /usr/lib64/libkdeinit5_dolphin.so
#49 0x00007fac73518cca in __libc_start_main () from /lib64/libc.so.6
#50 0x000055a93844f08a in _start ()
[Inferior 1 (process 21930) detached]

Possible duplicates by query: bug 425259, bug 421423, bug 421109, bug 414728, bug 413345.

Reported using DrKonqi
Comment 1 vindicator 2020-09-20 01:38:24 UTC
Version: 20.08.1
I'll comment here since I also encountered an issue with Dolphin crashing relating to duplicate filenames.

But my case is a little different as is the coredump.
I was copying files from one folder to a subfolder using Dolphin. I noticed filenames that appeared to be same. I looked closely and saw no differences. I also used the console's autocomplete to see there was truly only one file (no duplicate).

I think I may have tried opening the file or maybe editing the name to see if it was a glitch, or maybe going "back" a folder (don't remember), and Dolphin just disappeared, eventually writing out the coredump:
                #0  0x0000732c573aa615 raise (libc.so.6 + 0x3d615)
                #1  0x0000732c56d0a0e6 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x40e6)
                #2  0x0000732c573aa6a0 __restore_rt (libc.so.6 + 0x3d6a0)
                #3  0x0000732c573aa615 raise (libc.so.6 + 0x3d615)
                #4  0x0000732c57393862 abort (libc.so.6 + 0x26862)
                #5  0x0000732c573ec5e8 __libc_message (libc.so.6 + 0x7f5e8)
                #6  0x0000732c573f427a malloc_printerr (libc.so.6 + 0x8727a)
                #7  0x0000732c573f564c _int_free (libc.so.6 + 0x8864c)
                #8  0x0000732c55318bb8 _ZN9QHashData11free_helperEPFvPNS_4NodeEE (libQt5Core.so.5 + 0x107bb8)
                #9  0x0000732c572b316e _ZN14KFileItemModel9slotClearEv (libdolphinprivate.so.5 + 0x6f16e)
                #10 0x0000732c57315f1a _ZN11DolphinView6setUrlERK4QUrl (libdolphinprivate.so.5 + 0xd1f1a)
                #11 0x0000732c57590b4a n/a (libkdeinit5_dolphin.so + 0x5ab4a)
                #12 0x0000732c554f9a06 n/a (libQt5Core.so.5 + 0x2e8a06)
                #13 0x0000732c571ff1f6 _ZN13KUrlNavigator10urlChangedERK4QUrl (libKF5KIOFileWidgets.so.5 + 0x9a1f6)
                #14 0x0000732c57202dd3 _ZN13KUrlNavigator6goBackEv (libKF5KIOFileWidgets.so.5 + 0x9ddd3)
                #15 0x0000732c5757af11 n/a (libkdeinit5_dolphin.so + 0x44f11)
                #16 0x0000732c554f9a06 n/a (libQt5Core.so.5 + 0x2e8a06)
                #17 0x0000732c554f9a06 n/a (libQt5Core.so.5 + 0x2e8a06)
                #18 0x0000732c572a2c20 _ZN19KItemListController18mouseButtonPressedEi6QFlagsIN2Qt11MouseButtonEE (libdolphinprivate.so.5 + 0x5ec20)
                #19 0x0000732c572d1c30 _ZN19KItemListController15mousePressEventEP24QGraphicsSceneMouseEventRK10QTransform (libdolphinprivate.so.5 + 0x8dc30)
                #20 0x0000732c572d44eb _ZN19KItemListController12processEventEP6QEventRK10QTransform (libdolphinprivate.so.5 + 0x904eb)
                #21 0x0000732c572e41cf _ZN13KItemListView5eventEP6QEvent (libdolphinprivate.so.5 + 0xa01cf)
                #22 0x0000732c56047702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x159702)
                #23 0x0000732c554c279a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b179a)
                #24 0x0000732c5636ced6 n/a (libQt5Widgets.so.5 + 0x47eed6)
                #25 0x0000732c5636d28e n/a (libQt5Widgets.so.5 + 0x47f28e)
                #26 0x0000732c56375aff n/a (libQt5Widgets.so.5 + 0x487aff)
                #27 0x0000732c5637fa42 _ZN14QGraphicsScene5eventEP6QEvent (libQt5Widgets.so.5 + 0x491a42)
                #28 0x0000732c56047702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x159702)
                #29 0x0000732c554c279a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b179a)
                #30 0x0000732c5639c5cf _ZN13QGraphicsView15mousePressEventEP11QMouseEvent (libQt5Widgets.so.5 + 0x4ae5cf)
                #31 0x0000732c56088c7e _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5 + 0x19ac7e)
                #32 0x0000732c56133f9f _ZN6QFrame5eventEP6QEvent (libQt5Widgets.so.5 + 0x245f9f)
                #33 0x0000732c554c2503 _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b1503)
                #34 0x0000732c560476f1 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x1596f1)
                #35 0x0000732c5604e977 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x160977)
                #36 0x0000732c554c279a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b179a)
                #37 0x0000732c5604d85e _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5 + 0x15f85e)
                #38 0x0000732c560a13b2 n/a (libQt5Widgets.so.5 + 0x1b33b2)
                #39 0x0000732c560a478f n/a (libQt5Widgets.so.5 + 0x1b678f)
                #40 0x0000732c56047702 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x159702)
                #41 0x0000732c554c279a _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b179a)
                #42 0x0000732c5595737c _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5 + 0x13a37c)
                #43 0x0000732c5592cb4c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5 + 0x10fb4c)
                #44 0x0000732c505c7c8c n/a (libQt5XcbQpa.so.5 + 0x5ec8c)
                #45 0x0000732c5339543c g_main_co
Comment 2 vindicator 2020-09-20 01:42:38 UTC
Ugh, I also meant to mention that I initially did a search for "dolphin" here, which showed this report.

Then I tried to search for "dolphin duplicate" (without quotes. looking for other reports) and this report was not listed even though "dolphin" and "duplicate" are in the report title.

I don't know if there's reporting for the site's search feature, but this sure seems like a horrible implementation if it can't bring up this report from my very simple search:
Fri 21:30
415089	KAccount	general	kde-telepathy-bugs	REOP	---	Dolphin Kio-gdrive authentication with Google account fails	Fri 08:29
412924	kwin	platform	kwin-bugs-null	REPO	---	[kwin_wayland] High CPU usage with Qt 5.14 and mouse cursor artifacts	Fri 06:21
392531	framewor	general	faure	REPO	---	Add option to have "Move" as default DND action instead of the pop-up menu	Mon 03:32
341143	plasmash	Image Wa	notmart	CONF	---	Bring back per-virtual-desktop wallpapers	2020-09-11
Comment 3 Christoph Feck 2020-09-20 02:57:56 UTC
With a search using this two keywords I get 176 tickets, one of them being yours, so the search works fine. The search index isn't updated every minute.

Are you using the Tree view mode in Dolphin?
Comment 4 vindicator 2020-09-20 03:11:02 UTC
Yeah, I saw this post now listed (compare with the partial (top) list I included in my previous post).

I don't know if the search function simply doesn't examine the subject/title of the report, or doesn't consider variations of a word (duplicates, duplicated, ...). But I especially expected the search to come up with this report solely based on the words being in the title.

Yes, most of the time (including this), I do have it set to tree-view. And this is also the only time I've ever experienced it (in case you are wondering if I can replicate it using a different mode).
Comment 5 Christoph Feck 2020-11-05 05:19:32 UTC
*** Bug 427323 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2020-11-05 05:20:01 UTC
*** Bug 427537 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2020-12-29 10:23:59 UTC
Resolving according to comment 4.

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