Bug 511705 - Dolphin freezes and can't be killed when searching
Summary: Dolphin freezes and can't be killed when searching
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: search (other bugs)
Version First Reported In: 25.08.2
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-06 11:27 UTC by Paul Brown
Modified: 2025-11-08 20:13 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Brown 2025-11-06 11:27:38 UTC
SUMMARY

Dolphin crashes and freezes after starting the search feature.

STEPS TO REPRODUCE

1. Press [Ctrl] + [f] to bring up the search feature
2.  Type in something to search for
3.  Results start to appear
4. Dolphin freezes and there is no way of getting rid of the Dolphin window

OBSERVED RESULT

Running from the command line, you can see this

```
...
kf.kio.workers.file: readlink failed! "/proc/11054/task/11054/cwd"
kf.kio.workers.file: readlink failed! "/proc/11054/task/11054/root"
kf.kio.workers.file: readlink failed! "/proc/11040/task/11040/cwd"
kf.kio.workers.file: readlink failed! "/proc/11054/task/11054/exe"
kf.kio.workers.file: readlink failed! "/proc/11040/task/11040/root"
kf.kio.workers.file: readlink failed! "/proc/11040/task/11040/exe"
kf.kio.workers.file: readlink failed! "/proc/11060/task/11060/cwd"
kf.kio.workers.file: readlink failed! "/proc/11060/task/11060/root"
kf.kio.workers.file: readlink failed! "/proc/11060/task/11060/exe"
kf.kio.workers.file: readlink failed! "/proc/11120/task/11120/cwd"
kf.kio.workers.file: readlink failed! "/proc/11120/task/11120/root"
kf.kio.workers.file: readlink failed! "/proc/11120/task/11120/exe"
kf.coreaddons: "Could not load plugin from /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: Cannot load library /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: libappimage.so.1.0: cannot open shared object file: No such file or directory"
kf.coreaddons: "Could not load plugin from /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: Cannot load library /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: libappimage.so.1.0: cannot open shared object file: No such file or directory"
kf.coreaddons: "Could not load plugin from /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: Cannot load library /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: libappimage.so.1.0: cannot open shared object file: No such file or directory"
kf.coreaddons: "Could not load plugin from /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: Cannot load library /usr/lib/qt6/plugins/kf6/thumbcreator/appimagethumbnail.so: libappimage.so.1.0: cannot open shared object file: No such file or directory"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/0"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/1"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/2"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/3"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/4"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/5"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/6"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/7"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/9"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/10"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/11"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/12"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/13"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/14"
kf.kio.workers.file: readlink failed! "/proc/1068/task/1068/fd/15"
...
```

as Dolphin locks up.

You cannot close the Dolphin window at this stage. `killall`, `kill` also do not work.

Using `ps aux | grep dolphin` shows several associated `kioworker` processes running, but killing them does not help in the process to kill Dolphin.

EXPECTED RESULT

That the search process would run, find items and then finish without freezing Dolphin.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 TraceyC 2025-11-06 16:14:52 UTC
I'm not able to reproduce this with Dolphin 25.08.2 on Plasma 6.5.2 KF 6.19.0
nor on Dolphin built from git-master

I'm wondering if there was some detail about the search that caused this. What directory was Dolphin in when this happened?

It looks like it's freezing on your system, but may not be crashing. Do you have any coredumps for dolphin?

sudo coredumpctl -r
Comment 2 Paul Brown 2025-11-06 16:34:37 UTC
(In reply to TraceyC from comment #1)
> I'm not able to reproduce this with Dolphin 25.08.2 on Plasma 6.5.2 KF 6.19.0
> nor on Dolphin built from git-master
> 
> I'm wondering if there was some detail about the search that caused this.
> What directory was Dolphin in when this happened?
> 
> It looks like it's freezing on your system, but may not be crashing. Do you
> have any coredumps for dolphin?
> 
> sudo coredumpctl -r

Thanks for responding so quickly.

Hm... No coredumps. What does that mean?
Comment 3 TraceyC 2025-11-06 18:19:27 UTC
(In reply to Paul Brown from comment #2)
> Hm... No coredumps. What does that mean?

That means it isn't crashing, it's hanging, which is useful information. Can you run this while Dolphin is frozen?

  sudo gdb -p $(pidof dolphin)

then type

  bt

then press 'c' if it asks you if you want to continue paging

Then copy-and-paste the output here. Thanks!
Comment 4 Paul Brown 2025-11-06 22:08:42 UTC
(In reply to TraceyC from comment #3)
> (In reply to Paul Brown from comment #2)
> > Hm... No coredumps. What does that mean?
> 
> That means it isn't crashing, it's hanging, which is useful information. Can
> you run this while Dolphin is frozen?
> 
>   sudo gdb -p $(pidof dolphin)
> 
> then type
> 
>   bt
> 
> then press 'c' if it asks you if you want to continue paging

No output whatsoever. Still impossible to kill the instances of Dolphin too.
Comment 5 TraceyC 2025-11-07 18:07:46 UTC
Thanks. I'll let those more familiar with Dolphin chime in.
Comment 6 Akseli Lahtinen 2025-11-08 19:17:40 UTC
Is it for anything you search, or is it for specific filename/filetype? Do you know what filetypes should appear when searching with the term?
Does turning off thumbnails fix the issue?

I'm trying to figure out if the hang is caused by thumbnailers or Dolphin itself.
Comment 7 Akseli Lahtinen 2025-11-08 19:19:48 UTC
One more question, do you have file-indexing enabled?
Comment 8 Paul Brown 2025-11-08 20:13:29 UTC
(In reply to Akseli Lahtinen from comment #6)
> Is it for anything you search, or is it for specific filename/filetype?

Anything, yes.

> Do
> you know what filetypes should appear when searching with the term?

The first couple of times, yes. I was trying something out, so I new what to expect.

> Does turning off thumbnails fix the issue?

"Thumbnails" as in "previews"? If so, no. Just tried. It froze again.

> I'm trying to figure out if the hang is caused by thumbnailers or Dolphin
> itself.

Right.
Comment 9 Paul Brown 2025-11-08 20:13:43 UTC
(In reply to Akseli Lahtinen from comment #7)
> One more question, do you have file-indexing enabled?

Yes.