GNOME Bugzilla – Bug 405372
broken jpegs make beagle go into infinite loop
Last modified: 2007-03-29 19:28:27 UTC
To reproduce: run beagle-extract-content on the attached file, which I produced using head --bytes=16k foo.jpg. 0.2.15.1 from Feisty.
Created attachment 82087 [details] first 16 kB of a jpeg
You mean you "invented" the bad jpeg file by using only the first 16K bytes of a valid jpeg file ? Also, do you by any chance have F-Spot and if you do, does this image load file in F-Spot ? (Its not an excuse, I need to know this because beagle uses F-Spot's jpeg handling code).
Still an issue with 0.2.16, updating version.
I do have f-spot, and 0.3.2.0 does hang in an infinite loop when trying to import this one. Funny, because I had imported it before with an older version, and no such problems (it just ignored the file). It's irrelevant where the file came from :) If you want to know, it was produced by a bad file transfer when copying photos, or possibly even when taking the photo. My old digital camera was flaky.
Thanks. I asked how you got it to understand if you were merely attaching the first 16 KB of the bad file or that the bad file _is_ the first 16 KB of another good file. Since now I know, I will be able to test with other similar files. Since F-Spot has this problem too, is there an open bug in F-Spot about this ? I want to link this to F-Spot; fixing it there will fix it here too.
Changing status to new, as it seems this is confirmed. Just cloned this one to f-spot bug #405736. The bad file is the first 16 kb of a good file.
Created attachment 82262 [details] [review] patch from f-spot this is the fix from f-spot
Fix is in 3408.
*** Bug 411943 has been marked as a duplicate of this bug. ***
*** Bug 424236 has been marked as a duplicate of this bug. ***