[dolphin] [Bug 432309] Copying and pasting folders crashed (maybe because of broken symlinks)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Jan 30 14:40:17 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=432309

--- Comment #2 from seplexfake at tutanota.com ---
Upon investigation it seem like it crashes when a symlink tries to "overwrite a
folder". If you copy a symlink called a 'folder' and paste it to a folder where
there is a folder called 'folder' you would get a prompt to rename the "item"
because an item called 'folder' already exists. But the fact that there are
folders with the same names that have files with the same names in a directory
that you are copying from and to the directory where you are pasting to makes
you get the 'File Already Exists' prompt, but you can bypass that one by
clicking on 'Write Into' and Clicking on 'Overwrite' next.

The folder you are pasting and the folder you are pasting to also must have a
folder that is alphabetically behind them and in front of them (so example
'A-Filler' and 'Z-Filler' like I called it in my github repo. Could just be A
and Z tho).

You also must overwrite 2 folders with 2 symlinks because when it's just 1 you
can skip that without a crash, when it's 2 if you skip it twice you get a
crash.

I crafted a more simple "crasher" based on this that still crashes Dolphin.

See: 
https://github.com/Seplx/Dolphin_crash_copypaste/tree/simpler

To make it crash:
1. Clone the repo and go to it in Dolphin
2. Copy everything from the 'COPY' folder and paste it to the 'PASTE' folder.
3. You should get a popup, click on skip
4. You should get another popup, click on skip.

And it should crash.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list