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 700742 - Crash (Segfault) when selecting existing file during save of image
Crash (Segfault) when selecting existing file during save of image
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: Normal critical
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-05-20 20:04 UTC by Andreas J. Guelzow
Modified: 2013-05-22 03:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2013-05-20 20:04:43 UTC
I create a new chart, right click it to save as an image. In the file selector I click on an existing eps image.
boom:

Program received signal SIGSEGV, Segmentation fault.
gdk_cairo_set_source_pixbuf (cr=0xb70dc520, pixbuf=0x0, pixbuf_x=0, pixbuf_y=0)
    at /build/buildd/gtk+3.0-3.2.0/./gdk/gdkcairo.c:258
258	/build/buildd/gtk+3.0-3.2.0/./gdk/gdkcairo.c: No such file or directory.
	in /build/buildd/gtk+3.0-3.2.0/./gdk/gdkcairo.c

  • #0 gdk_cairo_set_source_pixbuf
    at /build/buildd/gtk+3.0-3.2.0/./gdk/gdkcairo.c line 258
  • #1 go_image_get_pixbuf_fb
    at utils/go-image.c line 465
  • #2 go_image_get_scaled_pixbuf_fb
    at utils/go-image.c line 486
  • #3 go_image_get_scaled_pixbuf
    at utils/go-image.c line 581
  • #4 update_preview_cb
    at gtk/goffice-gtk.c line 857
  • #5 g_cclosure_marshal_VOID__VOID
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #9 g_signal_emit_by_name
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  • #10 delegate_update_preview
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkfilechooserutils.c line 344
  • #11 g_cclosure_marshal_VOID__VOID
    from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0


This seems to be unrelated to which eps file I click on and whether the current file type is set to eps or svg.
Comment 1 Jean Bréfort 2013-05-21 08:02:51 UTC
It only occurs with eps for me.
Comment 2 Jean Bréfort 2013-05-21 08:58:22 UTC
This occurs because it seems that some icon themes don't have anymore the "missing_image" icon. Returning NULL instead results in criticals, so we need to decide which icon to use in such cases.
Comment 3 Morten Welinder 2013-05-22 02:43:22 UTC
You mean "unknown_image".

That used to be supplied by Gnumeric -- which from a dependency standpoint
is just plain wrong -- but recent re-org probably killed that.
Comment 4 Morten Welinder 2013-05-22 03:03:26 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.