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 456645 - GIMP can't open JPEGs with Olympus camera EXIF information
GIMP can't open JPEGs with Olympus camera EXIF information
Status: RESOLVED DUPLICATE of bug 358117
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-07-13 16:31 UTC by Oliver Iberien
Modified: 2008-01-15 13:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oliver Iberien 2007-07-13 16:31:31 UTC
Please describe the problem:
Fatal error when trying to open JPG files. This just started happening after the most recent Ubuntu GIMP package got installed.

oliver-iberiens-powerbook-g4-12:~ oliver$ gimp --stack-trace-mode always
^Cgimp: terminated: Interrupt
/opt/local/lib/gimp/2.0/plug-ins/script-fu terminated: Interrupt
oliver-iberiens-powerbook-g4-12:~ oliver$ gimp --stack-trace-mode always -c
opened thumbnail at 160 x 120
jpeg(2531) malloc: *** vm_allocate(size=3301195776) failed (error code=3)
jpeg(2531) malloc: *** error: can't allocate region
jpeg(2531) malloc: *** set a breakpoint in szone_error to debug
jpeg(2531) malloc: *** vm_allocate(size=3301195776) failed (error code=3)
jpeg(2531) malloc: *** error: can't allocate region
jpeg(2531) malloc: *** set a breakpoint in szone_error to debug
/opt/local/lib/gimp/2.0/plug-ins/jpeg: fatal error: Bus error
  • #0 wait4
  • #1 g_on_error_stack_trace
  • #2 gimp_plugin_sigfatal_handler
  • #3 <signal handler called>
  • #4 exif_set_sshort
    at exif-utils.c line 117
  • #5 exif_data_save_data_content
    at exif-data.c line 222
  • #6 exif_data_save_data_content
    at exif-data.c line 540
  • #7 exif_data_save_data
    at exif-data.c line 908
  • #8 load_image
  • #9 run
  • #10 gimp_main
  • #11 _start
  • #12 start

Plug-In could not open image


Steps to reproduce:
1. Open the open dialog
2. Select a jpeg
3. OPEN


Actual results:
Dialog that plugin failed, image can't be opened

Expected results:
JPG file would open in GIMP

Does this happen every time?
Yes.

Other information:
Libexif has previously had problems with exif information from Olympus cameras -- could this be it?
Comment 1 Oliver Iberien 2007-07-13 16:33:02 UTC
Should mention, this output is from a PowerBook with the MacPorts GIMP.  My Ubuntu box does the same thing, however. Sorry!
Comment 2 Michael Schumacher 2007-07-14 07:24:43 UTC
Which version of libexif do you use?
Comment 3 Raphaël Quinet 2007-07-15 21:22:22 UTC
No need to ask for the libexif version, since the stack trace leading to the crash in exif_set_sshort() is common to many bug reports related to the old libexif.

Upgrading to the latest libexif (version >= 0.6.15) should solve this issue.



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