GNOME Bugzilla – Bug 381182
jpeg plug-in crashes in libexif
Last modified: 2008-01-15 14:10:05 UTC
Please describe the problem: GIMP Message Plug-in crashed: "jpeg" (/usr/local/lib/gimp/2.0/plug-ins/jpeg) The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side. GIMP Message Opening 'PA220423.JPG' failed: Plug-In could not open image Steps to reproduce: 1. Browse to: http://www.joot.com/dave/gimp 2. Save the JPG file (PA220423.JPG) locally. 3. Load it in the GIMP. Actual results: I get the aforementioned error message. The image does not load, even though the preview panel can display it. Expected results: The image should load into the GIMP. Does this happen every time? Yes. Other information: The image was created, I think, from a digital camera (don't know model, sorry). It was imported into the Mac's main photo organising program. The copy I have may have been copied then pasted from the Mac's main writing program.
The XV program can load and convert the file to another format. After converting it to PNG, the file loaded just fine in the GIMP (as expected).
Probably another problem of libexif, see e.g. bug #300186. Can you try to update this library?
Updating the library will be a pain at the moment, sorry.
I can reproduce the crash in jpeg_apply_exif_data_to_image():
+ Trace 90788
Could be a bug in libexif or a bug in our code.
Created attachment 77864 [details] identify -verbose for the image There are some unknown fields in identify's output, maybe this indicates a problem in libexif.
*** Bug 410729 has been marked as a duplicate of this bug. ***
I have also experienced this bug. Additional observations: If the image has already been opened and saved in gimp, preview will work. Otherwise it will not. Unmodified images come from Nikon D2X. When I attempt to open the file, I get the additional message below the one given in another comment. Both comments are reproduced below. They appear in the same dialog box. ----- Gimp Message Opening '/root/webs/smugmug/dsc_0225.jpg' failed: Plug-In could not open image Gimp Message Plug-in crashed: "ufraw-gimp" (/usr/lib/gimp/2.0/plug-ins/ufraw-gimp) ----- I have ufraw installed so that I can open NEF images created by the camera. Interesting, since ufraw really is not needed here. platform: gentoo, 2.6.18-gentoo-r6 version of gimp: 2.3.13 Version 2.3.14 was installed, but went back to 13 due to issues working with TIFF files (which incidentally are loaded through ufraw).
This may be the same reason, but I don't think we should handle bugs for ufraw here. After all, it is not shipped with GIMP. You should file this in the gentoo bugtracker, from where it may get forwarded to the ufraw developers.
(In reply to comment #8) > This may be the same reason, but I don't think we should handle bugs for ufraw > here. After all, it is not shipped with GIMP. You should file this in the > gentoo bugtracker, from where it may get forwarded to the ufraw developers. > Understood. Before I file with Gentoo on this, help me understand something. Ufraw, by it's nature, does not handle jpegs. If I understand correctly, then, if a plugin says it will load the type, gimp will allow it to handle that type - regardless if it itself can do so?
Ufraw does handle JPEG, at least it tries to (some manufacturers do use JPEG/JFIF as a raw container). Maybe it should pass images on to the JPEG plug-in that ships with GIMP if it discovers that this is a "normal" image.
*** Bug 425335 has been marked as a duplicate of this bug. ***
*** Bug 428037 has been marked as a duplicate of this bug. ***
About time that this is reported to the libexif maintainers...
This has already been reported in July 2006 to their sourceforge bug tracker, with no feedback from the maintainers since then. This is covered in bug #358117, which is older than this one and should be the target of the duplicates. *** This bug has been marked as a duplicate of 358117 ***