Bug 471507

Summary: Kioslave5 100% CPU Usage and Hangs Up.
Product: [Applications] dolphin Reporter: John <kdelovaa>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dnovomesky, kfm-devel, nervous-punisher, qtckpuhdsa
Priority: NOR    
Version: 23.04.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John 2023-06-27 15:52:17 UTC
SUMMARY
***
Upon opening '/home/Pictures/test' kioslave5 goes crazy and uses 100% CPU. Doesn't want to stop. After a few minutes I gave up and closed Dolphin.
***


STEPS TO REPRODUCE
1. On a fresh (Fedora 38) install rsync photo files* to your /home/Pictures/test (no thumbnails cache yet, kimageformats installed).
2. Press ctrl+E and go to Pictures/test where you had put the photo files

* just three rows of the following photo type files: jp2, png, tiff, webp, avif, cr2, xmp, jpg, raf, 3fr, dng, mrw, nef, orf, srw, rw2, x3f, arw.

OBSERVED RESULT
3. Kioslave5 uses 100% CPU and doesn't want to give up. (I gave up after a few min)

EXPECTED RESULT
Fix kioslave5 not to use 100% CPU.

SOFTWARE/OS VERSIONS
Operating System: Fedoara Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
X11

ADDITIONAL INFORMATION
kimageformats installed (so are ffmpegthumbs for videos)
x11 (not wayland)
mesa-freeworld (uncastrated)
obviously intel-media vaapi
Comment 1 dnovomesky 2023-06-28 09:43:38 UTC
Hello,

try to evaluate which file is causing the high CPU utilization and send us a test file.

Developers need the test file(s) so they can reliably reproduce the problem and/or confirm when it is fixed.
Comment 2 pasa 2024-01-21 10:08:37 UTC
Have same problem about several years on Fedora 35-38. If I am downloading some big files using qBittorrent and the Dolphin is opened at the target files directory, the kioslave5 creates several processes with extremely high CPU usage (load average > 1). It does not stop in 5 or 15 minutes and quickly drain my battery
Comment 3 Boneless Subprime 2024-02-18 01:07:50 UTC
(In reply to pasa from comment #2)
> Have same problem about several years on Fedora 35-38. If I am downloading
> some big files using qBittorrent and the Dolphin is opened at the target
> files directory, the kioslave5 creates several processes with extremely high
> CPU usage (load average > 1). It does not stop in 5 or 15 minutes and
> quickly drain my battery

Exactly that — thank you. Exiting the download directory stopped high CPU usage (97% of one core) right away. Interestingly, entering back into the directory did not cause it to raise again.
The directory is the destination for qBittorrent v4.6.3 (flatpak) while getting https://rutracker.org/forum/viewtopic.php?t=5662750 at approx. 2-4 MiB/s