Bug 359888

Summary: Infinite loop in baloo_file_extractor caused by tags file
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Daniel Lichtenberger <daniel.lichtenberger>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev, pinak.ahuja, stefan.bruens
Priority: NOR    
Version: 5.19.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: strace output
backtrace of crash
tags file that triggered the infinite loop

Description Daniel Lichtenberger 2016-02-28 12:35:17 UTC
I noticed baloo_file_extractor (OpenSUSE Tumbleweed, package version 5.19.0-1.1) stuck at 100% for about 30 minutes trying to index a small tags file (the file exists and is readable, it was updated once). After about 30 minutes, the baloo file indexing daemon crashed (attached backtrace from KCrash reporter).

Reproducible: Sometimes




I attached an excerpt from strace and a backtrace of a crash that happened after ~30 minutes.
Comment 1 Daniel Lichtenberger 2016-02-28 12:36:12 UTC
Created attachment 97589 [details]
strace output
Comment 2 Daniel Lichtenberger 2016-02-28 12:36:52 UTC
Created attachment 97590 [details]
backtrace of crash
Comment 3 Daniel Lichtenberger 2016-02-28 12:37:27 UTC
Created attachment 97591 [details]
tags file that triggered the infinite loop
Comment 4 Stefan BrĂ¼ns 2018-10-16 18:18:12 UTC

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