Summary: | Dolphin: repeatable crash | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Henry Pfeil <hpfeil> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kfm-devel, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 20.12.1 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Henry Pfeil
2021-02-03 00:50:04 UTC
An aac file in the same folder also appears twice, duplicate entries in Details mode. However I'm able to open either one in vlc. I created a text file, it appeared in the folder only once. Moved to Trash no problem. However, when I double-clicked the folder name to make it the top of the file tree, crash. New Dolphin instance, now the text file appears twice. Moved to Trash one of them, crash. *** This bug has been marked as a duplicate of bug 422282 *** This is not a dolphin issue. I went back to v20.08.0, same issue. It is Bug 422282, which is a Dolphin issue and was present in version 20.08 too. I am now unable to replicate this crash after upgrading to kfilemetadata-5.78.0. ldd /usr/bin/dolphin reveals /usr/lib64/libKF5FileMetaData.so.3 which is a soft link to /usr/lib64/libKF5FileMetaData.so.5.78.0. I intend to revert to the previous version of kfilemetadata to verify that this upgrade fixed the crashes so you can close this issue. Nevermind. Dolphin crashes in Details mode with the 450+ directory open simply by F5 refresh. KfileMetadata update removed some, but not all of the duplicate entries (the aac file is now the only duplicate). Scrolling down so the last dozen files are in view, then F5 = crash. These are png image files extracted from an mp4 using ffmpeg named fu-%03d.png (fu{1..453}.png) plus one aac file. I do not know how many files a folder has to contain before things go boom. That may be something to explore next. [Retired systems analyst, exploring which criteria cause the crashes without examining any code] The magic number appears to be 400 files, for reasons which I cannot explain. Starting dolphin from konsole: double free or corruption (out) KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = dolphin path = /usr/bin pid = 21715 KCrash: Arguments: /usr/bin/dolphin KCrash: Attempting to start /usr/lib64/drkonqi [1]+ Alarm clock dolphin Test Method: Copy 200 of the 450 files to /dev/shm Open Dolphin on the directory, split with /dev/shm in the other half. Move ten files at a time from /dev/shm to the test folder. After each move, open another instance of dolphin, navigate to the test folder and press F5 refresh. Results: Up to 399 files in the test folder - no crash, no duplicate files. 400 files ==> duplicate aac file and crash upon deleting one of the duplicates or F5 refresh. Meanwhile in the monitor instance, adding files to the test folder has no effect. I moved a total of 900 files into the open test folder no problem. The crash behavior only appears upon launching a new instance of dolphin and opening the test folder, not upon adding more files to an already open folder in dolphin. Here's hoping this information may isolate the faulty code. valgrind --leak-check=full --verbose /usr/bin/dolphin ==1087== ERROR SUMMARY: 117610 errors from 1459 contexts If I had inherited such a project, I'd consider starting over. Just sayin'. Many of those errors are from "Conditional jump or move depends on uninitialised value(s)". A full analysis requires rebuilding Qt and KDE with debug symbols, which sounds a lot like work to me. A repeatable crash just opening a directory full of 400+ files is not something easily ignored. An unanticipated congruence of unlikely events suggests a boundary condition violation somewhere. I'll go away now. Most of those valgrind errors are not related to Dolphin. "Conditional jump or move depends on uninitialised value(s)" are from Qt. I've cast a weary eye at Qt ever since Cube Desktop Animation stopped switching virtual desktops by left-click/swipe on the desktop (Qt 5.13?). Built dolphin from git clone this date against qt5.15.2. Cannot replicate any of the crashes reported herein. |