Bug 406486 - baloo consumes an excessive amount of CPU indexing files
Summary: baloo consumes an excessive amount of CPU indexing files
Status: RESOLVED DUPLICATE of bug 418323
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.56.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-12 20:21 UTC by Peter De Schrijver
Modified: 2020-10-26 16:36 UTC (History)
2 users (show)

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


Attachments
Big endian TIFF file (9.19 KB, image/tiff)
2019-04-12 20:21 UTC, Peter De Schrijver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter De Schrijver 2019-04-12 20:21:17 UTC
Created attachment 119389 [details]
Big endian TIFF file

SUMMARY

baloo_file_extractor seems to get into an infinite loop when encountering a big endian TIFF file.

STEPS TO REPRODUCE
1. Copy attached TIFF file to a filesystem scanned by baloo_file_extractor
2. Wait
3. See baloo_file_extractor being stuck at processing the file

OBSERVED RESULT
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
HOME\p2   2017 99.8  0.0 268818620 51696 ?     RNl  10:47 744:29 /usr/bin/baloo_file_extractor


EXPECTED RESULT

baloo_file_extactor doesn't run forever

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: Version 5.15.4
KDE Frameworks Version: KDE Frameworks 5.56.0
Qt Version: Qt 5.12.2 (built against 5.12.1)

ADDITIONAL INFORMATION

file /home/p2/projects/AROS-mirror/contrib/emu/uae/Uae.app/Uae.nib/Amiga.tiff

/home/p2/projects/AROS-mirror/contrib/emu/uae/Uae.app/Uae.nib/Amiga.tiff: TIFF image data, big-endian, direntries=10, height=48, bps=0, compression=none, PhotometricIntepretation=RGB, width=48
Comment 1 David Tejada 2019-05-23 15:47:25 UTC
Baloo freeze my pc when is indexing, because the use of cpu and disk is full. And when the situation is normal, it doesn't show any search about files. It is a big problem for me, because I manage many files every day, and I need to search in every moment.
Comment 2 Nate Graham 2020-10-26 16:36:58 UTC

*** This bug has been marked as a duplicate of bug 418323 ***