XFE crashes when deleting file to trash from mounted hdd
A lightweight file manager for X
Brought to you by:
baudinr
Hi there
I have the problem that when I delete some files (but not always) on a mounted hdd xfe crashes.
I am using MX Linux 25.x with xfe version 2.1.6
I have a folder structure /home/Downloads on sda
/home/Downloads/bits is on sdb. IE /dev/sdb is mounted to bits.
If I delete a file to the trash from /home/Downloads/bits (usually a larger video file about 800Mb) xfe crashes.
I downloaded the deb file for version 2.1.9 and had the same problem.
I force installed version 2.0.1 and did not have the problem.
Is there a crash log to look at?
For me, I get the following backtrace (when trying to move 31G file to Trash):
Using xfe 2.1.9
So looks like
FilePanel::onCmdFileTrash(inFilePanel.cpp),Fileobject is created withDELETEoperation: in this case inFilectordatalabelis set toNULL(timelabelis alsoNULL)File::onCopySpeedthis tries to accessdatalabelOK, I reproduced the issue. Thanks for the investigations.
Here is a File.cpp replacement that should fix the crash. Could you test it please?
Looks like working for me, thank you.
Unfortunately I don't know how to compile this to test it.
No problem, I released to day a new version, so you can test. But the bug is fixed.
Worked for me too.
Thanks