Summary: | baloo_file_extractor segfault at startup of baloo_file (odfextractor segfault) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | kdeuser56 |
Component: | Baloo File Daemon | Assignee: | Christoph Cullmann <christoph> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | christoph, kdeuser56, pinak.ahuja |
Priority: | NOR | ||
Version: | 5.23.0 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kdeuser56
2016-06-25 13:12:45 UTC
Last few lines in the "strace -f -e open baloo_file" output: [pid 5606] open("/home/user/maple/maple2015/data/xml/dtd/mathml2/mathml2-qname-1.mod", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/home/user/maple/maple2015/data/eBookTools/Preface.mw", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/home/user/maple/maple2015/data/eBookTools/Legal.mw", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/home/user/maple/maple2015/data/help/Optimization/afiro.mpl", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/home/user/maple/maple2015/data/help/ImportData/recipe.mps", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/home/user/maple/maple2015/data/xml/template/template.ods", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/home/user/maple/maple2015/data/xml/template/template.ods", O_RDONLY|O_CLOEXEC) = 21 [pid 5606] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 23 [pid 5606] open("/etc/group", O_RDONLY|O_CLOEXEC) = 23 [pid 5606] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} --- [pid 5607] +++ killed by SIGSEGV +++ [pid 5608] +++ killed by SIGSEGV +++ [pid 5606] +++ killed by SIGSEGV +++ [pid 5605] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5606, si_uid=1000, si_status=SIGSEGV, si_utime=4, si_stime=5} --- So I guess the offending file maybe "maple/maple2015/data/xml/template/template.ods". How to verify that? How can I invoke baloo_file_extractor manually? Confirmed the offending file by creating a new user and copying that file in the new users home directory. Once that happend baloo_file_extractor segfaults there too. Since this document is part of a copyrighted proprietary application I can't share that file publicly. By adding "*.ods" to the excludes in the config I finally manged the following status: Baloo File Indexer is running Indexer state: Indexing file content Indexed 15835 / 15835 files Current size of index is 264.27 MiB :-)), so at least in my case no other crash happened. odf indexer has problems if some files are not in the zip, perhaps that is your issue, see: https://git.reviewboard.kde.org/r/128886/ Fixed https://quickgit.kde.org/?p=kfilemetadata.git&a=commit&h=40730d75397aefb92145f86fc6abc9b303c56cfe Make odf indexer more error prove, check if the files are there (and are files at all) (meta.xml + content.xml) REVIEW: 128886 BUG 364748 => if you download this odt's to indexed directories your baloo will die on each index, be careful autotests/odfextractortest.cpp blob | diff | history | plain autotests/odfextractortest.h blob | diff | history | plain autotests/samplefiles/test_missing_content.odt [ new file with mode 0644 ] blob | plain autotests/samplefiles/test_missing_meta.odt [ new file with mode 0644 ] blob | plain src/extractors/odfextractor.cpp blob | diff | history | plain |