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 314679 - JPEG plugin in Gimp-2.3.3 crashes when loading JPEG with EXIF data attached.
JPEG plugin in Gimp-2.3.3 crashes when loading JPEG with EXIF data attached.
Status: RESOLVED DUPLICATE of bug 300186
Product: GIMP
Classification: Other
Component: Plugins
2.3.x
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-08-28 04:06 UTC by Tom Williams
Modified: 2008-01-15 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample JPEG with EXIF data that causes the crash. (62.15 KB, image/jpeg)
2005-08-28 04:07 UTC, Tom Williams
Details

Description Tom Williams 2005-08-28 04:06:36 UTC
Please describe the problem:
When trying to open a JPEG image with EXIF data attached, the JPEG plugin
crashes.  Gimp seems to remain operational despite the crash.

Steps to reproduce:
1. Open a JPEG with EXIF data attached
2. A segmentation fault is generated
3. 


Actual results:
A segmentation fault is generated.

Expected results:
The image should open as expected.

Does this happen every time?
Yes.

Other information:
I'm running Gimp 2.3.3 built from sources on a Linux system.  Build environment:

2.6.12.4 kernel
glibc-2.3.4
gcc-4.0.1
glib-2.8.1
gtk+-2.8.2
pango-1.10.0
atl-1.10.1
cairo-1.0.0

Here is the stack trace that is generated:

tom@linux:~$ /usr/local/gimp-2.3/bin/gimp-2.3
This is a development version of The GIMP.
Debug messages may appear here.

starting tile preswapper thread
skipping duplicate plug-in: '/usr/local/gimp-2.3/lib/gimp/2.0/plug-ins/dog'

(gimp-2.3:494): Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The
'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
jpeg-load: found EXIF block (3758 bytes)
/usr/local/gimp-2.3/lib/gimp/2.0/plug-ins/jpeg: fatal error: Segmentation fault
/usr/local/gimp-2.3/lib/gimp/2.0/plug-ins/jpeg (pid:500): [E]xit, [H]alt, show
[S]tack trace or [P]roceed: S
  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/libc.so.6
  • #5 IA__g_on_error_stack_trace
  • #6 IA__g_on_error_query
  • #7 gimp_plugin_sigfatal_handler
    at gimp.c line 1481
  • #8 <signal handler called>
  • #9 exif_data_save_data_content
  • #10 exif_data_save_data
  • #11 gimp_metadata_store_exif
  • #12 jpeg_apply_exif_data_to_image
  • #13 load_image
  • #14 run
  • #15 gimp_main
  • #16 main
    at jpeg.c line 62

Loading JPEGs without EXIF information seems to work fine.  

Let me know if there are any questions or if more info is needed.
Comment 1 Tom Williams 2005-08-28 04:07:39 UTC
Created attachment 51442 [details]
Sample JPEG with EXIF data that causes the crash.

This is a sample JPEG image that causes the crash.
Comment 2 Michael Schumacher 2005-08-28 11:20:22 UTC
Works fine for me with Current CVS. Most likely a libexif problem, what version
is installed and which platform do you use?
Comment 3 Tom Williams 2005-08-28 14:11:06 UTC
Thanks for the feedback.  I'm using 0.6.12 of libexif:

tom@linux:~$ pkg-config --modversion libexif
0.6.12
tom@linux:~$ 

I'll try recompiling that (since I recently upgraded it) and see if that makes a
difference.  

Thanks!
Comment 4 Tom Williams 2005-08-28 15:02:04 UTC
I just found this libexif bug report:

https://sourceforge.net/tracker/index.php?func=detail&aid=1180065&group_id=12272&atid=112272

I guess this one can be closed out.

Comment 5 Michael Schumacher 2005-08-28 17:40:07 UTC
You could check if the update mentioned in the libexif bug tracker fixes the
problem for you. If yes, this would be a duplicate of bug 300186.
Comment 6 Michael Schumacher 2005-10-12 17:58:28 UTC
No feedback, closing as duplicate of bug 300186.

*** This bug has been marked as a duplicate of 300186 ***