Ever since I updated to 15.08/plasma 5.4, dolphin randomly displays different error messages when moving files. The variations include: - Access denied to <src path of file> - Could not change permissions on <src path of file> - Folder expected but <folder> is a file After that, dolphin usually crashes. Re-opening shows that all files were correctly moved and are not corrupted. Reproducible: Sometimes Steps to Reproduce: 1. move a set of files across partitions Actual Results: One of the error messages pops up at the end of the process Expected Results: No error messages It feels as if there is a bug where it tries to change permissions at the source path instead of the destination, or something. Happened on several filesystems in both directions, including: ext4, btrfs, ntfs, sshfs (ext4 remotely). The issue wasn't present with 15.04. Since dolphin uses kio, it might also be a kio issue instead, but I'm not sure how to test that.
Created attachment 94413 [details] Kcrash log after such a message KCrash said it's probably not useful (as it does in like, 99.9% of cases?). This one happened after "Access denied to <src path>" -> retry -> "file <src path> doesn't exist" -> cancel -> crash
Thanks for the bug report. This is probably related to KIO (unless these operations work reliably for you if you use Folder View?). (In reply to Soukyuu from comment #1) > KCrash said it's probably not useful (as it does in like, 99.9% of cases?). If you want to make your backtraces more useful, have a look at https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Often, a Valgrind log is also helpful if you can get one, see https://community.kde.org/Dolphin/FAQ/Crashes But please do not report more than one bug per report. The error messages and the crash probably have different causes.
Sorry, what is Folder View? Also, making sure, I'll have to rebuild dolphin with debug symbols to get a usable trace, or kio as well?
Created attachment 94479 [details] kcrash report with dolphin-debug + kio-debug KCrash says it's not useful again. This is WITH debug symbols for dolphin and kio, so I guess the crash is outside of those two components?
(In reply to Soukyuu from comment #3) > Sorry, what is Folder View? It's Plasma's file management widget. You can have one or more on the desktop and then do much of the same stuff that you can do with Dolphin. This can help to find out if a bug is really a Dolphin bug, or somewhere else, like in KIO, Qt or another library that is shared. > Also, making sure, I'll have to rebuild dolphin > with debug symbols to get a usable trace, or kio as well? Ideally, you would install debug symbols for Qt and all of KDE Frameworks. (In reply to Soukyuu from comment #4) > KCrash says it's not useful again. This is WITH debug symbols for dolphin > and kio, so I guess the crash is outside of those two components? This backtrace contains only frames from Qt and kjobwidgets.
> This backtrace contains only frames from Qt and kjobwidgets. Well, I followed the link you posted to the arch linux way of adding "debug" and changing "strip" to "!strip" in PKGBUILD, then built the package and installed it, so I'm not sure what went wrong. I've also put -DCMAKE_BUILD_TYPE=Debug instead of Release, so it should have built it with debug symbols.
Are any of the issues described here still reproducible with KDE Frameworks 5.47 and Dolphin 18.08.x?
The only scenario it still happens is when you copy files to a folder monitored by another program (for example qbittorrent watching for new torrents), which loads and deletes the file before dolphin/kio finishes setting the permissions.
(In reply to Soukyuu from comment #8) > The only scenario it still happens is when you copy files to a folder > monitored by another program (for example qbittorrent watching for new > torrents), which loads and deletes the file before dolphin/kio finishes > setting the permissions. Thanks for following up. Could you file a new bug to track just that? This one is pretty convoluted at this point and I'm worried that the remaining issue will get lost in the noise. Thanks!