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 348022 - Segmentation fault in jpeg plugin
Segmentation fault in jpeg plugin
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-07-19 14:49 UTC by Daniel Holbach
Modified: 2008-01-15 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Holbach 2006-07-19 14:49:38 UTC
Forwarded from: https://launchpad.net/distros/ubuntu/+source/gimp/+bug/46234

Certain jpeg files (from an HP Mobile SD Camera), cause the jpeg plugin in GIMP to fail:

"Opening [file] failed: Plug-In could not open image",

From the command line:

"/usr/lib/gimp/2.0/plug-ins/jpeg: fatal error: Segmentation fault"

The same file opens fine with gThumb.

Googling came up with a similar problem (in 2004) attributed to libexif. Although the exif data can be read (by gThumb, Nautilus), it reports "Internal error (unknown value 49147)" under the "Flash" heading.

Example: http://librarian.launchpad.net/2849921/snap0290.jpg
Comment 1 Sven Neumann 2006-07-20 07:40:29 UTC
Opens fine here. Perhaps Ubuntu should update their version of libexif. The one shipped with Debian etch (0.6.13) works fine. 
Comment 2 Daniel Holbach 2006-07-20 08:34:27 UTC
Ubuntu Edgy has the same version that Debian Etch has, apart from that we use gimp 2.2.11 and gtk 2.10. This is the backtrace going with it:

  • #0 __read_nocancel
    from /lib/libc.so.6
  • #1 _IO_new_file_underflow
    from /lib/libc.so.6
  • #2 _IO_default_uflow_internal
    from /lib/libc.so.6
  • #3 _IO_getline_info_internal
    from /lib/libc.so.6
  • #4 fgets
    from /lib/libc.so.6
  • #5 IA__g_on_error_query
    at gbacktrace.c line 122
  • #6 gimp_plugin_sigfatal_handler
    at /home/daniel/gimp-2.2.11/./libgimp/gimp.c line 1473
  • #7 <signal handler called>
  • #8 memcpy
    from /lib/libc.so.6
  • #9 exif_data_save_data_content
    at exif-data.c line 271
  • #10 exif_data_save_data_content
    at exif-data.c line 540
  • #11 exif_data_save_data
    at exif-data.c line 908
  • #12 load_image
    at /home/daniel/gimp-2.2.11/./plug-ins/common/jpeg.c line 1297
  • #13 run
    at /home/daniel/gimp-2.2.11/./plug-ins/common/jpeg.c line 460
  • #14 gimp_proc_run
    at /home/daniel/gimp-2.2.11/./libgimp/gimp.c line 1772
  • #15 gimp_loop
    at /home/daniel/gimp-2.2.11/./libgimp/gimp.c line 1615
  • #16 gimp_main
    at /home/daniel/gimp-2.2.11/./libgimp/gimp.c line 459
  • #17 main
    at /home/daniel/gimp-2.2.11/./plug-ins/common/jpeg.c line 327


I forwarded this to https://sourceforge.net/tracker/index.php?func=detail&aid=1525770&group_id=12272&atid=112272