After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 411943 - beagled-helper hangs, consumes 100% of CPU indexing broken jpeg file
beagled-helper hangs, consumes 100% of CPU indexing broken jpeg file
Status: RESOLVED DUPLICATE of bug 405372
Product: beagle
Classification: Other
Component: General
0.2.16
Other All
: Normal blocker
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2007-02-25 16:14 UTC by M Murphy
Modified: 2007-02-25 17:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Broken .jpg file from daphne source distribution. (52 bytes, image/jpeg)
2007-02-25 16:19 UTC, M Murphy
Details

Description M Murphy 2007-02-25 16:14:25 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 :-)
Comment 1 M Murphy 2007-02-25 16:19:01 UTC
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."
Comment 2 Debajyoti Bera 2007-02-25 16:23:49 UTC
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 ***
Comment 3 M Murphy 2007-02-25 17:08:15 UTC
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.