Bug 430131 - There is a delay in deleting files
Summary: There is a delay in deleting files
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.08.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-08 00:36 UTC by 1107309266
Modified: 2020-12-29 05:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 1107309266 2020-12-08 00:36:13 UTC
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

When I delete a file or directory by shortcut key "shift + del", it shows me a cofirmation dialog, after I clicked "yes", the file/directory will be deleted but with a delay about one second in most cases.

There is no delay only in a few cases, I can't find the law.

And this problem has been around for a long time, at least since several months ago.
Comment 1 Méven Car 2020-12-08 08:21:26 UTC
I don't reproduce it, (I have an SSD).

How big are the files/directories concerned ?

Are the files on your local computer (not a network mount) ?

Do you have a fast hard disk (aka a SSD)? 

Do you have some logs from dolphin when this happens ?
Comment 2 1107309266 2020-12-08 09:10:50 UTC
any file or directory, even it's empty (a new file or dir).

They are all local files.

I have an ssd too.

I tried to run dolphin in Konsole, but it had no logs when I deleted files.
Comment 3 Méven Car 2020-12-08 09:18:04 UTC
Could you check if the issue is just that dolphin view does not refresh as soon as the file is deleted.

Like running in a separate term watch 0.1 -n ls my-file-deteled while deleting a file in dolphin.

If that's the case, it might an inotify/KDirWatch issue not working properly, probably because of the inotify limits.

What is your distribution ? KDE Neon User Edition ?
Comment 4 1107309266 2020-12-08 09:32:05 UTC
I have checked with watch -n 0.1 ls, but the file in terminal and the one in dolphin disappeared at the same time.

So it should not be caused by view.

My distro is debian testing, and everything is up to date.
Comment 5 1107309266 2020-12-08 10:36:29 UTC
It's my first time to use KDE Bugtracking System, should I update the Status to REPORTED?

I will do it, tell me please if it's a wrong behavior.
Comment 6 Méven Car 2020-12-08 12:17:46 UTC
> I will do it, tell me please if it's a wrong behavior.

It is fine, now we have better defined the bug.

But without reproducing it there is not much things we can do.
Debugging by reading code can be very inefficient, and this feature involves two code bases Dolphin and KIO.

So we would need to check if it is distro specific, since I don't reproduce it with kubuntu or neon, but that's not unlikely.

Better use other debugging means like gdb.
You would need to install dolphin and kio debug symbols.
And then a stack trace of dolphin process when the deletion is being delayed.
I can help.

I worked a while back to make deletion non-blocking by doing it more async with a background thread https://phabricator.kde.org/D24962 could it that regressed things on your system.
Comment 7 1107309266 2020-12-08 12:55:11 UTC
I found something new, if I wait for about two seconds on the confirmation dialog, then I press "enter" key to delete files it has no delay.

Does it say that the problem may be the confirmation dialog?
Comment 8 1107309266 2020-12-09 11:31:12 UTC
How to install dolphin and kio debug symbols?
Comment 9 Méven Car 2020-12-09 14:38:23 UTC
Process for debian is at :
https://wiki.debian.org/HowToGetABacktrace

Then sudo apt install dolphin-dbgsym kio-dbgsym

Not sure about the package naming though, but something similar enough.
Comment 10 1107309266 2020-12-10 01:26:57 UTC
I installed the symbols and ran gdb dolphin, and created a dir then deleted it (repeated twice, there is a delay in the second time).

This is the output of gdb:

GNU gdb (Debian 10.1-1+b1) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dolphin...
Reading symbols from /usr/lib/debug/.build-id/7b/47c4ab78f60be41db19dc829fb1f2f50a64885.debug...
(gdb) r
Starting program: /usr/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff066b700 (LWP 7843)]
[New Thread 0x7fffef8e1700 (LWP 7844)]
[New Thread 0x7fffe6aa6700 (LWP 7845)]
[New Thread 0x7fffe62a5700 (LWP 7846)]
[New Thread 0x7fffe5aa4700 (LWP 7847)]
[New Thread 0x7fffe52a3700 (LWP 7848)]
[New Thread 0x7fffdaf03700 (LWP 7849)]
[New Thread 0x7fffda702700 (LWP 7850)]
[New Thread 0x7fffd9f01700 (LWP 7851)]
[New Thread 0x7fffd9700700 (LWP 7852)]
[New Thread 0x7fffd8eff700 (LWP 7853)]
[New Thread 0x7fffb3fff700 (LWP 7854)]
[New Thread 0x7fffb249a700 (LWP 7855)]
kf.kio.core: "无法进入文件夹 tags:/。"
kf.kio.core: "无法进入文件夹 tags:/。"
kf.kio.core: Url QUrl("file:///home/test") already represents a local file, cancelling job.
[New Thread 0x7fffb1c99700 (LWP 7862)]
[Thread 0x7fffb1c99700 (LWP 7862) exited]
[New Thread 0x7fffb1c99700 (LWP 7863)]
[New Thread 0x7fffd8149700 (LWP 7864)]
[New Thread 0x7fffb03e6700 (LWP 7865)]
[Thread 0x7fffb03e6700 (LWP 7865) exited]
[Thread 0x7fffd8149700 (LWP 7864) exited]
[Thread 0x7fffb1c99700 (LWP 7863) exited]
[New Thread 0x7fffb1c99700 (LWP 7866)]
[Thread 0x7fffb1c99700 (LWP 7866) exited]
kf.kio.core: Url QUrl("file:///home/test") already represents a local file, cancelling job.
[New Thread 0x7fffd8149700 (LWP 7867)]
[New Thread 0x7fffb03e6700 (LWP 7868)]
[New Thread 0x7fffb1c99700 (LWP 7869)]
[Thread 0x7fffb03e6700 (LWP 7868) exited]
[Thread 0x7fffd8149700 (LWP 7867) exited]
[Thread 0x7fffb1c99700 (LWP 7869) exited]
[New Thread 0x7fffb1c99700 (LWP 7870)]
[Thread 0x7fffb1c99700 (LWP 7870) exited]
--Type <RET> for more, q to quit, c to continue without paging----q
Quit
(gdb) thread apply all bt

Thread 14 (Thread 0x7fffb249a700 (LWP 7855) "QThread"):
#0  0x00007ffff7deb39f in __GI___poll (fds=0x7fffa4004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff3b5ae1e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff3b5af3f in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5e6970f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5e10b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c319be in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fffb3fff700 (LWP 7854) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fffb3ffec90, clockid=-1275073520, expected=0, futex_word=0x5555559512c0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffb3ffec90, clockid=-1275073520, mutex=0x555555951270, cond=0x555555951298) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555555951298, mutex=0x555555951270, abstime=0x7fffb3ffec90) at pthread_cond_wait.c:656
#3  0x00007ffff5c38aa4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5c36ae1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fffd8eff700 (LWP 7853) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fffd8efec90, clockid=-655365104, expected=0, futex_word=0x555555946110) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffd8efec90, clockid=-655365104, mutex=0x5555559460c0, cond=0x5555559460e8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x5555559460e8, mutex=0x5555559460c0, abstime=0x7fffd8efec90) at pthread_cond_wait.c:656
#3  0x00007ffff5c38aa4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5c36ae1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fffd9700700 (LWP 7852) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fffd96ffc90, clockid=-646972400, expected=0, futex_word=0x555555945c90) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffd96ffc90, clockid=-646972400, mutex=0x555555945c40, cond=0x555555945c68) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555555945c68, mutex=0x555555945c40, abstime=0x7fffd96ffc90) at pthread_cond_wait.c:656
#3  0x00007ffff5c38aa4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5c36ae1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--c
#5  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffd9f01700 (LWP 7851) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fffd9f00c90, clockid=-638579696, expected=0, futex_word=0x555555945850) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffd9f00c90, clockid=-638579696, mutex=0x555555945800, cond=0x555555945828) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555555945828, mutex=0x555555945800, abstime=0x7fffd9f00c90) at pthread_cond_wait.c:656
#3  0x00007ffff5c38aa4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5c36ae1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffda702700 (LWP 7850) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fffda701c90, clockid=-630186992, expected=0, futex_word=0x55555593da60) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffda701c90, clockid=-630186992, mutex=0x55555593da10, cond=0x55555593da38) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55555593da38, mutex=0x55555593da10, abstime=0x7fffda701c90) at pthread_cond_wait.c:656
#3  0x00007ffff5c38aa4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5c36ae1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffdaf03700 (LWP 7849) "Thread (pooled)"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fffdaf02c90, clockid=-621794288, expected=0, futex_word=0x55555593e310) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fffdaf02c90, clockid=-621794288, mutex=0x55555593e2c0, cond=0x55555593e2e8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55555593e2e8, mutex=0x55555593e2c0, abstime=0x7fffdaf02c90) at pthread_cond_wait.c:656
#3  0x00007ffff5c38aa4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5c36ae1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe52a3700 (LWP 7848) "dolphin:disk$3"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555555734688) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555734638, cond=0x555555734660) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555555734660, mutex=0x555555734638) at pthread_cond_wait.c:638
#3  0x00007fffecd2354b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fffecd23017 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffe5aa4700 (LWP 7847) "dolphin:disk$2"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555555734688) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555734638, cond=0x555555734660) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555555734660, mutex=0x555555734638) at pthread_cond_wait.c:638
#3  0x00007fffecd2354b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fffecd23017 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fffe62a5700 (LWP 7846) "dolphin:disk$1"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555555734688) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555734638, cond=0x555555734660) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555555734660, mutex=0x555555734638) at pthread_cond_wait.c:638
#3  0x00007fffecd2354b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fffecd23017 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffe6aa6700 (LWP 7845) "dolphin:disk$0"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555555734688) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555734638, cond=0x555555734660) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555555734660, mutex=0x555555734638) at pthread_cond_wait.c:638
#3  0x00007fffecd2354b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fffecd23017 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffef8e1700 (LWP 7844) "QDBusConnection"):
#0  0x00007ffff7deb39f in __GI___poll (fds=0x7fffe0012b20, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff3b5ae1e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff3b5af3f in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5e6970f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5e10b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5c319be in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff60c7a27 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ffff066b700 (LWP 7843) "QXcbEventQueue"):
#0  0x00007ffff7deb39f in __GI___poll (fds=0x7ffff066ac28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff479cd02 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff479e98a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ffff0a4e260 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff5c32b01 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4566ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7df5d8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff0e5a880 (LWP 7839) "dolphin"):
#0  0x00007ffff7deb39f in __GI___poll (fds=0x555555e3b4e0, nfds=11, timeout=18350) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff3b5ae1e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff3b5af3f in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5e6970f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff5e10b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff5e18df0 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff7f06255 in kdemain (argc=<optimized out>, argv=0x7fffffffde98) at ./src/main.cpp:206
#7  0x00007ffff7d1ed0a in __libc_start_main (main=0x555555555050 <main>, argc=1, argv=0x7fffffffe058, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe048) at ../csu/libc-start.c:308
#8  0x000055555555508a in _start ()
Comment 11 Méven Car 2020-12-16 13:20:43 UTC
Nothing comes up :/

Could you re-run this scenario, this time in a terminal launching "sudo gdb -pid `pidof file.so`" during while the file deletion is stuck/delayed and entering the same "thread apply all bt" command.

Using hotspot https://github.com/KDAB/hotspot would be a good option. Using it to attach to process dolphin and/or file.so processes should help spot the issue if that is not glaring.
Comment 12 1107309266 2020-12-17 02:00:28 UTC
If I set ConfirmDelete=true in $HOME/.config/kiorc there is no delay when I delete files.

So I think the delay may be caused by the confirmation dialog, should I still run gdb again?
Comment 13 1107309266 2020-12-29 05:03:51 UTC
Now I have upgraded to plasma version 5.20.4 and the delay has disappeared, thanks for your help!