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 632439 - Crash when printing sheet objects
Crash when printing sheet objects
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Printing
1.10.x
Other Linux
: Normal critical
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
: 641103 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-10-18 09:57 UTC by Jon Kåre Hellan
Modified: 2011-02-01 06:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Valgrind output (26.71 KB, text/plain)
2010-10-18 13:33 UTC, Jon Kåre Hellan
Details

Description Jon Kåre Hellan 2010-10-18 09:57:30 UTC
Gnumeric crashes when printing sheet objects. This was reported to Ubuntu Launchpad as their bug 662539. I've confirmed in HEAD. See example document there. I tried a simple pie chart, but that didn't crash.

Backtrace: 

(gdb) bt
  • #0 ??
    from /lib/libc.so.6
  • #1 ??
  • #2 ??
    from /usr/lib/libcairo.so.2
  • #3 cairo_surface_finish
    from /usr/lib/libcairo.so.2
  • #4 cairo_surface_destroy
    from /usr/lib/libcairo.so.2
  • #5 cairo_pattern_destroy
    from /usr/lib/libcairo.so.2
  • #6 ??
    from /usr/lib/libcairo.so.2
  • #7 ??
    from /usr/lib/libcairo.so.2
  • #8 cairo_restore
    from /usr/lib/libcairo.so.2
  • #9 gnm_print_sheet_objects
    at print.c line 183
  • #10 print_page_cells
    at print.c line 199
  • #11 print_page
    at print.c line 582
  • #12 gnm_draw_page_cb
    at print.c line 1312

Looks like we need debug info on cairo to see what's going on.
Comment 1 Morten Welinder 2010-10-18 13:14:38 UTC
Original at https://bugs.launchpad.net/ubuntu/+source/gnumeric/+bug/662539

I see no problems on OpenSuSE 11.2.

Jon Kaare: could you please try running under valgrind:

G_SLICE=always-malloc ../libtool --mode=execute valgrind ./ssconvert ~/Download/MTH\ 243\ Homework\ 6.gnumeric /tmp/mmm.pdf

(And, if that shows nothing, the same thing with the gui.)
Comment 2 Jon Kåre Hellan 2010-10-18 13:33:24 UTC
Created attachment 172607 [details]
Valgrind output

ssconvert also segfaults. Here's output from valgrind.
Comment 3 Morten Welinder 2010-10-18 14:37:18 UTC
http://git.gnome.org/browse/gnumeric/commit/?id=67b055a781b2c558817f076eed6832d718c73296

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 4 Andreas J. Guelzow 2011-02-01 06:01:28 UTC
*** Bug 641103 has been marked as a duplicate of this bug. ***