Bug 406486

Summary: baloo consumes an excessive amount of CPU indexing files
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Peter De Schrijver <p2>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, tejada.c7
Priority: NOR    
Version: 5.56.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Big endian TIFF file

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 ***