GNOME Bugzilla – Bug 411943
beagled-helper hangs, consumes 100% of CPU indexing broken jpeg file
Last modified: 2007-02-25 17:08:15 UTC
Please describe the problem: The broken .jpg file "dl_323.jpg" from the source distribution of the emulator "daphne" (from the file daphne-0.99.6c-src.tar.gz) causes beagled-helper to consume 100 % of the CPU. kill -USR2 [PID of beagled-helper] per instructions on this page: http://beagle-project.org/Troubleshooting_CPU reveals the problem in the beagled-helper log file: 2007-02-24-22-22-56-IndexHelper:20070225 09:45:54.9032 15734 IndexH WARN: Filtering status (11h19m49s ago): determining filter for file:///home/mmurphy/daphne-0.99.6c-src.tar.gz#daphne/doc/pics/dl_323.jpg Steps to reproduce: 1. Add the broken dl_323.jpg file into a directory indexed by Beagle. 2. Wait for beagled-helper to hit the file. 3. Alternatively, run "beagle-extract-content dl_323.jpg". 4. See beagled-helper (or beagle-extract-context) go to 100% CPU utilization. Actual results: beagled-helper consumes 100% of CPU and stops indexing files. Expected results: beagled-helper should skip/ignore broken .jpg file. Does this happen every time? Yes Other information: I am running Gentoo. mmurphy@kali ~/.beagle/Log $ uname -a Linux kali 2.6.19-gentoo-r5 #1 SMP Fri Feb 23 14:29:10 CST 2007 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux mmurphy@kali ~ $ equery list beagle [ Searching for package 'beagle' in all categories among: ] * installed packages [I--] [ ] app-misc/beagle-0.2.16 (0) I apologize if this is bug is specific to my machine because of this :-)
Created attachment 83311 [details] Broken .jpg file from daphne source distribution. This JPEG file appears to be broken to GIMP, eog, jpegtopnm, and other tools I have tried. Most report an error like "End-of-file encountered in the middle of JPEG image."
Gentoo should sync to 0.2.16.2 - the latest bugfix release for 0.2.16 which contains the fix. 405372 contains the explicit patch if Gentoo wants to backport it. *** This bug has been marked as a duplicate of 405372 ***
Thank you for the amazingly fast response - and sorry I didn't find the duplicate bug myself. I will let the gentoo developers know that the beagle ebuild should be updated.