Bug 332379

Summary: baloo_file_extractor crashes on some file (ASCII Text with very long lines)
Product: [Frameworks and Libraries] Baloo Reporter: Dirk Sarpe <dns_hmpf>
Component: Baloo File DaemonAssignee: Vishesh Handa <me>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: file crashes baloo_file_extractor --bdata

Description Dirk Sarpe 2014-03-20 22:34:34 UTC
Created attachment 85657 [details]
file crashes baloo_file_extractor --bdata

I noticed high cpu usage of baloo_file_extractor (one core to 100%) and an increase in its pid. Following that I ran
Running :
baloo_file_extractor --bdata filename
and for some files it crashed with:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Xapian::InvalidArgumentError'
Abgebrochen (Speicherabzug geschrieben)

The files it crashed on are all ASCII text with very long lines and similar to the attached one.

The error sounds similar to the one in https://bugs.kde.org/show_bug.cgi?id=332201
Comment 1 Vishesh Handa 2014-03-21 16:48:48 UTC
I'm marking it as a duplicate as both of those issues will be fixed in the same way. Fortunately this bug has nothing to do with very long lines. It a xapian exception not caught issue.

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