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 477052 - Crash in cairo_set_operator()
Crash in cairo_set_operator()
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: Graphing / Charting
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-09-14 21:45 UTC by sum1
Modified: 2007-09-15 11:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (564 bytes, patch)
2007-09-15 07:19 UTC, Jean Bréfort
committed Details | Review

Description sum1 2007-09-14 21:45:29 UTC
Version: r1873
OS: Ubuntu Gutsy

Steps to reproduce:
- Run Gnumeric
- Insert > Chart
- Leave "XY" selected and press Insert
- Draw the chart into Sheet1
- Click in A1 to remove the chart selection
- Edit > Select > Select All
- With all the cells selected, Format > Column > Hide
- View > New View
- Press OK in the view dialog
- In the new view, press the Undo button to crash Gnumeric

Backtrace:
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 5243)

  • #1 gog_renderer_update
    at gog-renderer.c line 1366
  • #0 cairo_set_operator
    from /usr/lib/libcairo.so.2
  • #1 gog_renderer_update
    at gog-renderer.c line 1366
  • #2 gog_control_foocanvas_update
    at gog-control-foocanvas.c line 170
  • #3 foo_canvas_item_invoke_update
    at foo-canvas.c line 428
  • #4 foo_canvas_group_update
    at foo-canvas.c line 1379
  • #5 foo_canvas_item_invoke_update
    at foo-canvas.c line 428
  • #6 foo_canvas_group_update
    at foo-canvas.c line 1379
  • #7 foo_canvas_item_invoke_update
    at foo-canvas.c line 428
  • #8 do_update
    at foo-canvas.c line 2931
  • #9 idle_handler
    at foo-canvas.c line 2966

Comment 1 Jean Bréfort 2007-09-15 07:17:24 UTC
Thanks for reporting.
Comment 2 Jean Bréfort 2007-09-15 07:19:13 UTC
Created attachment 95624 [details] [review]
Proposed patch

Not sure it is the better way to fix it. Anyway, the issue comes from the fact that the size did not change, but the pixbuf is NULL.
Comment 3 Jean Bréfort 2007-09-15 11:16:12 UTC
patch applied.