I upgraded KDE on Kubuntu 13.04 with backports PPA to a version 4.11, when I noticed that nepomukindexer runs endlessly at 100% CPU on 1 core when the file in URL is indexed. Reproducible: Always Steps to Reproduce: 1. Download file in the URL 2. Wait until nepomukindexer starts indexing 3. Run in terminal # ps aux | grep nepomukindexer Actual Results: The file in question is being indexed and nepomukindexer runs endlessly at 100% CPU Expected Results: Move to the next file.
Created attachment 81759 [details] This is a file that causes the crash. This file causes nepomukindexer to run endlessly.
Thanks - actually I can't open it in LibreOffice either here (although that is no excuse). It brings up a Calc text import box. What sort of a file is this?
This is a presentation I got from a coworker, but it doesn't work.
In fact, it doesn't even open in MS powerpoint...I think your coworker is playing tricks on you. But nepomuk should not choke on any files, even the most broken, so this should still be fixed.
I'm not really sure what happened with that presentation, but I am sure he wasn't playing tricks. When I open the file, more than 300 pages are filled with question marks and other nonsense.
I'm getting the same with some epub files, so this is a bug on how nepomukfileindexer handles nepomukindexer crashes. Confirmed on my end.
Aljaz: thank you for reporting the bug, I have fixed it and the fix should be in 4.11.1 Alejandro Nova: epub is a different extractor, so that is a different bug. Could you please file a different bug and attach the broken file? Thanks.
I erased the offending file, so I cannot file another bug; my mistake. If I get the same behavior after 4.11.1 with another file I'll file a new bug.
Git commit fb39a0a03e7abb197cde34d2e0b7dc0c4ecf9c07 by Simeon Bird. Committed on 18/08/2013 at 19:45. Pushed by sbird into branch 'KDE/4.11'. Office2007 Extractor: fix possible infinite loop. The Qt documentation says that when QXmlStreamReader.readNext() reports an error, atEnd() should be true, but it seems to be lying. Check for QXmlStreamReader.hasError() separately and break out of the reader loop. FIXED-IN: 4.11.1 M +2 -2 services/fileindexer/indexer/office2007extractor.cpp http://commits.kde.org/nepomuk-core/fb39a0a03e7abb197cde34d2e0b7dc0c4ecf9c07