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 305102 - JPEG "Save As" crashes when setting save options
JPEG "Save As" crashes when setting save options
Status: RESOLVED DUPLICATE of bug 304352
Product: GIMP
Classification: Other
Component: General
2.3.x
Other Linux
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-05-22 15:39 UTC by Tom Williams
Modified: 2008-01-15 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tom Williams 2005-05-22 15:39:04 UTC
Distribution/Version: Slacware 8-base, 2.6.11.7 kernel, gcc-4.0.0, glibc-2.3.4, glib-2.6.4, gtk+-2.6.7, XFree86 4.5.0

Ok, I've received this crash in various ways and I'm still refining the
procedure.  Generally speaking, this is what I've done to encounter the crash:

1. Load a JPEG with EXIF data
2. Use Ctrl-D to duplicate the image
3. Right-click on duplicate image and click "File...Save As"
4. Navigate to the desired location of the image and name it with a ".jpg"
extentison.  Click Save
5. When the "Save As JPEG" dialog appears, expand the "Advanced Options".
6. Click "Progressive", then "Show Preview", then de-select "Save XMP data" and
de-select "Save thumbnail"
7. Now de-select "Save EXIF data" and the crash occurs.

Here is the stack trace I was able to generate, along with the other debug
messages that were generated during the run:

--------START----------------

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

removing duplicate PDB procedure "plug_in_dog" registered by
'/usr/local/gimp-2.3.0/lib/gimp/2.0/plug-ins/dog2.3.0'

(gimp-2.3:12699): 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://freedesktop.org/Software/icon-theme/releases
jpeg-load: found EXIF block (5231 bytes)


file_save_dialog_check_uri: URI = file:///home/tom/web-backups/gimp-test.jpg
file_save_dialog_check_uri: basename = gimp-test.jpg
file_save_dialog_check_uri: selected save_proc: NULL
file_save_dialog_check_uri: URI save_proc: JPEG image
file_save_dialog_check_uri: basename save_proc: JPEG image

file_save_dialog_check_uri: no save_proc was selected from the list
file_save_dialog_check_uri: use URI's proc 'JPEG image' so indirect saving works
jpeg-save: saving EXIF block (5892 bytes)
jpeg-load: found EXIF block (5887 bytes)
jpeg-save: saving EXIF block (673 bytes)
/usr/local/gimp-2.3.0/lib/gimp/2.0/plug-ins/jpeg2.3.0: fatal error: Segmentation
fault
/usr/local/gimp-2.3.0/lib/gimp/2.0/plug-ins/jpeg2.3.0 (pid:12707): [E]xit,
[H]alt, show [S]tack trace or [P]roceed: S
  • #0 IA__g_on_error_stack_trace
  • #1 IA__g_on_error_query
  • #2 gimp_plugin_sigfatal_handler
    at gimp.c line 1481
  • #3 <signal handler called>
  • #4 IA__g_object_unref
    at gobject.c line 1580
  • #5 pango_item_free
    at pango-item.c line 91
  • #6 free_run
    at pango-layout.c line 2357
  • #7 pango_layout_line_unref
  • #8 pango_layout_clear_lines
  • #9 pango_layout_finalize
  • #10 IA__g_object_unref
    at gobject.c line 571
  • #11 gtk_label_clear_layout
    at gtklabel.c line 1720
  • #12 gtk_label_recalculate
    at gtklabel.c line 1132
  • #13 IA__gtk_label_set_text
  • #14 background_jpeg_save
    at jpeg-save.c line 131
  • #15 g_idle_dispatch
  • #16 IA__g_main_context_dispatch
  • #17 g_main_context_iterate
  • #18 IA__g_main_loop_run
    at gmain.c line 2768
  • #19 gimp_dialog_run
    at gimpdialog.c line 528
  • #20 save_dialog
    at jpeg-save.c line 1000
  • #21 run
  • #22 gimp_main
  • #23 main
    at jpeg.c line 62
  • #0 IA__g_on_error_stack_trace
  • #1 IA__g_on_error_query
  • #2 gimp_plugin_sigfatal_handler
    at gimp.c line 1481
  • #3 <signal handler called>
  • #4 *__GI___libc_free
    at malloc.c line 3386
  • #5 IA__g_free
    at gmem.c line 187
  • #6 gimp_drawable_detach
  • #7 destroy_preview
    at jpeg-save.c line 663
  • #8 make_preview
    at jpeg-save.c line 622
  • #9 IA__g_cclosure_marshal_VOID__VOID
  • #10 IA__g_closure_invoke
  • #11 signal_emit_unlocked_R
  • #12 IA__g_signal_emit_valist
  • #13 IA__g_signal_emit
  • #14 IA__gtk_toggle_button_toggled
  • #15 gtk_toggle_button_clicked
  • #16 IA__g_cclosure_marshal_VOID__VOID
  • #17 g_type_class_meta_marshal
  • #18 IA__g_closure_invoke
  • #19 signal_emit_unlocked_R
  • #20 IA__g_signal_emit_valist
  • #21 IA__g_signal_emit
  • #22 IA__gtk_button_clicked
    at gtkbutton.c line 782
  • #23 gtk_toggle_button_released
  • #24 IA__g_cclosure_marshal_VOID__VOID
  • #25 g_type_class_meta_marshal
  • #26 IA__g_closure_invoke
  • #27 signal_emit_unlocked_R
  • #28 IA__g_signal_emit_valist
  • #29 IA__g_signal_emit
  • #30 IA__gtk_button_released
    at gtkbutton.c line 774
  • #31 gtk_button_button_release
  • #32 _gtk_marshal_BOOLEAN__BOXED
  • #33 g_type_class_meta_marshal
  • #34 IA__g_closure_invoke
  • #35 signal_emit_unlocked_R
  • #36 IA__g_signal_emit_valist
  • #37 IA__g_signal_emit
  • #38 gtk_widget_event_internal
  • #39 IA__gtk_propagate_event
  • #40 IA__gtk_main_do_event
    at gtkmain.c line 1383
  • #41 gdk_event_dispatch
  • #42 IA__g_main_context_dispatch
  • #43 g_main_context_iterate
  • #44 IA__g_main_loop_run
    at gmain.c line 2768
  • #45 gimp_dialog_run
    at gimpdialog.c line 528
  • #46 save_dialog
    at jpeg-save.c line 1000
  • #47 run
  • #48 gimp_main
  • #49 main
    at jpeg.c line 62

----------------END----------------------

Let me know if there is any other information I can provide or if there is
anything you need me to do.
Comment 1 Sven Neumann 2005-05-22 22:33:03 UTC
That's a duplicate of bug #304352, isn't it? This problem has been fixed in CVS
already.
Comment 2 Tom Williams 2005-05-23 02:21:15 UTC
Looks like it is a dupe even though I'm getting crashes clicking on different
settings, other than the "Show Preview" setting.

If the stack traces match the other bug report, I'm satisfied with this being
closed as a dupe of the other.

Peace...
Comment 3 weskaggs 2005-05-23 16:10:25 UTC
Yes, the stack trace shows that this is the same problem.

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