Bug 454015 - kio slaves crash if trash is a symlink
Summary: kio slaves crash if trash is a symlink
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 21:59 UTC by Alexandre Pereira
Modified: 2024-05-09 11:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Pereira 2022-05-18 21:59:40 UTC
I use a symlink to another drive as my ~/.local/share/Trash folder.

when not using a symlink, it works fine, but with a symlink, the kio slave crashes, with the following output in the terminal:

ASSERT: "info.origPath[0] == QLatin1Char('/')" in file /home/main-builder/pkgwork/src/kio/src/ioslaves/trash/trashimpl.cpp, line 784
27 -- exe=/usr/lib/kf5/kioslave5
18 -- appname=kioslave5
21 -- apppath=/usr/lib/kf5
9 -- signal=6
11 -- pid=450601
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kioslave5 path = /usr/lib/kf5 pid = 450601
KCrash: Arguments: /usr/lib/kf5/kioslave5 trash  local:/run/user/1500/dolphinsyBafu.2.slave-socket 
kf.kio.core: "The process for the trash protocol died unexpectedly."


thanks !
Comment 1 Alexandre Pereira 2024-05-09 11:10:35 UTC
In cleaning up bug reports, I just tested this and seemed to work!

So I think the bug is resolved!