| Summary: | Dolphin locks up when trying to create a new folder in the current one after using "go up" | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | amilias <stefan> |
| Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | ben2talk, bulent_akpinar, daninshed, dolphin-bugs-null, jan-bugs, meven, sayantan.santra689, suse.junky, s_chriscollins, tmoerschell, unlovable_fridge356 |
| Priority: | NOR | ||
| Version First Reported In: | 25.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=513482 | ||
| Latest Commit: | https://invent.kde.org/system/dolphin/-/commit/4e74f32acb966e3c8b9879213385e8dcd298c41d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
journalctl output of core dump
Backtrace using coredumpctl debug |
||
After using this version for a day, it turns out it also often crashes after using "go back" (with the same intent to get to the parent folder) and trying to create another folder, but this seems more random, as I can't create a reproducible case in a test folder. Created attachment 187704 [details]
Backtrace using coredumpctl debug
I've been seeing this too, since Dolphin 25.11.90. Related bug: https://bugs.kde.org/show_bug.cgi?id=513482 I don't know the exact steps I took, but it involved creating a folder, the folder was created wrongly in a subfolder, went into it to delete or move the misplaced folder, came *back up* to paste it or just create a new one at the right place. So yes, my hanging also involved going up a level. (In reply to JanKusanagi from comment #3) > folder was created wrongly in a subfolder, went into it to delete or move Recent changes - Create Folder respects selections. If you want a folder in the PWD (main view) then you must de-select first. Unfortunately, this recent update broke it again. (In reply to amilias from comment #0) > > SUMMARY > After the most recent update to 25.12.0, dolphin locks up while putting full > load on one cpu core when trying to create a folder in the current one, > after using "go up" from a subfolder. The process has to be killed and dumps > core afterwards. > > STEPS TO REPRODUCE > 1. Go into a folder > 2. Use "Go up", either through menu or keyboard shortcut) > 3. Unselect the selected folder using ESC or by clicking into empty space > 4. Create any new folder, either through menu or keyboard shortcut > > OBSERVED RESULT > Dolphin locks up while putting full load on one cpu core and has to be > killed. > The folder does get created, though. > > EXPECTED RESULT > Not locking up. > I see exactly the same problem. My system: Operating System: openSUSE Tumbleweed 20251217 KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.21.0 Qt Version: 6.10.1 Kernel Version: 6.18.1-1-default (64-bit) Graphics Platform: X11 Graphics Processor: Intel® Iris® Xe Graphics Dolphin Version 25.12.0 Does this only occur on a spinning Disk drive ? I have tried a bunch reproducing it on my system but couldn't, but I was on a SSD. I suspect the bug appears when the drive is slow, or the user change directly very fast after creating a directory (faster than the drive created it). (In reply to Méven from comment #6) No, I can reproduce this on an SSD and even in /tmp mounted on a ramdisk, see this screen recording: https://drive.google.com/file/d/1ZDLKzHHa8Fl9R5YYauDEMCq09KtUwcGy (In reply to Méven from comment #6) > Does this only occur on a spinning Disk drive ? > No (and the problem was not there with earlier versions of dolphin). I discovered the problem while working on a cifs network drive (1GB LAN). To out rule any network problem I tested the behavior on a NVMe drive (PCIe Gen4x4, ext4, LUKS2 encrypted) and saw the same problem. It might be worth to know that the creation of the directory actually succeeds; i.e. when I kill dolphin and then restart it I can see and use the directory. I also encounter the same issue on a NVMe drive (btrfs). Reproceduce steps: 1. open a new Dolphin instance and Go into user home directory 2. Create New -> Folder... -> name folder1. folder1 created, no hanging 3. enter this folder by double click then "Go up (Alt+Up)" 5. Create New -> Folder... -> name folder2 6. folder2 created (check with ls) but Dolphing hangs. If you don't do "Go up (Alt+Up)", no hanging. Operating System: Fedora Linux 43 KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.21.0 Dolphin version 25.12 Graphics Platform: Wayland A few more observations from my tests: - speed / time between actions does not seem to be relevant at all (I already did go pretty slow in the recording), the hang will still occur even if 30 minutes passed after step 2 - the "hang state" occurs per tab, so if I do "Go up", change to a different tab to do some work and return, the hang will still happen - the "Go up" command still seems to be the main culprit to get to the "ready to hang" state, only major path changes, like entering a NEW / different folder (not the same as in step 1!) reset it, meaning the following steps will also trigger the hang up: 1. Enter folder A 2. "Go up" 3. Enter folder A again 4. "Go back" 5. Create folder - explicitly creating a sub folder inside A (through selection or context menu) will not trigger the bug, it only happens when creating in the current folder One last more interesting observation: the hang state will not reset when restarting dolphin. Meaning, closing dolphin after using "Go up", starting the application again and immediately trying to create a new folder in the current view will also trigger the bug. A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/1129 *** Bug 513745 has been marked as a duplicate of this bug. *** Git commit 5c0d7da4aa3b2323b418bcf668981a16b61a9244 by Méven Car. Committed on 24/12/2025 at 09:41. Pushed by meven into branch 'master'. DolphinView: observeCreatedDirectory take into account last / of m_url M +7 -1 src/views/dolphinview.cpp https://invent.kde.org/system/dolphin/-/commit/5c0d7da4aa3b2323b418bcf668981a16b61a9244 Git commit 4e74f32acb966e3c8b9879213385e8dcd298c41d by Méven Car. Committed on 24/12/2025 at 09:56. Pushed by meven into branch 'release/25.12'. DolphinView: observeCreatedDirectory take into account last / of m_url (cherry picked from commit 5c0d7da4aa3b2323b418bcf668981a16b61a9244) Co-authored-by: Méven Car <meven@kde.org> M +7 -1 src/views/dolphinview.cpp https://invent.kde.org/system/dolphin/-/commit/4e74f32acb966e3c8b9879213385e8dcd298c41d |
Created attachment 187622 [details] journalctl output of core dump SUMMARY After the most recent update to 25.12.0, dolphin locks up while putting full load on one cpu core when trying to create a folder in the current one, after using "go up" from a subfolder. The process has to be killed and dumps core afterwards. STEPS TO REPRODUCE 1. Go into a folder 2. Use "Go up", either through menu or keyboard shortcut) 3. Unselect the selected folder using ESC or by clicking into empty space 4. Create any new folder, either through menu or keyboard shortcut OBSERVED RESULT Dolphin locks up while putting full load on one cpu core and has to be killed. The folder does get created, though. EXPECTED RESULT Not locking up. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 Kernel Version: 6.17.12-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics Memory: 32 GiB of RAM (31.2 GiB usable) Graphics Processor: AMD Radeon RX 7600 ADDITIONAL INFORMATION Seems to be related to the bug of making create new folder context sensitive.