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 555757 - Null pointer crash in gog_contour_view_render()
Null pointer crash in gog_contour_view_render()
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: Graphing / Charting
unspecified
Other All
: Normal critical
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-10-10 04:49 UTC by sum1
Modified: 2008-10-10 09:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2008-10-10 04:49:32 UTC
Version: r2231
OS: Ubuntu Hardy

Steps to reproduce:
- Import gnumeric/samples/chart-tests.gnumeric
- Select the "Contour" sheet
- Select columns E through L
- Press Delete
- Select columns B and C
- Press Delete
- Select column D
- Press Delete to crash Gnumeric


Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread 3061660256 (LWP 30004)

  • #0 gog_contour_view_render
    at gog-contour.c line 375
  • #1 gog_view_render
    at gog-view.c line 787
  • #2 plot_render
    at gog-chart.c line 1126
  • #3 gog_chart_view_render
    at gog-chart.c line 1167
  • #4 gog_view_render
    at gog-view.c line 787
  • #5 gog_view_render_real
    at gog-view.c line 561
  • #6 gog_outlined_view_render
    at gog-outlined-object.c line 158
  • #7 gog_graph_view_render
    at gog-graph.c line 819
  • #8 gog_view_render
    at gog-view.c line 782
  • #9 gog_renderer_update
    at gog-renderer.c line 1118
  • #10 gog_control_foocanvas_update
    at gog-control-foocanvas.c line 191
  • #11 foo_canvas_item_invoke_update
    at foo-canvas.c line 428
  • #12 foo_canvas_group_update
    at foo-canvas.c line 1382
  • #13 foo_canvas_item_invoke_update
    at foo-canvas.c line 428
  • #14 foo_canvas_group_update
    at foo-canvas.c line 1382
  • #15 foo_canvas_item_invoke_update
    at foo-canvas.c line 428
  • #16 do_update
    at foo-canvas.c line 2934
  • #17 idle_handler
    at foo-canvas.c line 2969
  • #18 g_idle_dispatch
    at /build/buildd/glib2.0-2.16.4/glib/gmain.c line 4090
  • #19 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.16.4/glib/gmain.c line 2012
  • #20 g_main_context_iterate
    at /build/buildd/glib2.0-2.16.4/glib/gmain.c line 2645
  • #21 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.16.4/glib/gmain.c line 2853
  • #22 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #23 main
    at main-application.c line 473

Comment 1 Jean Bréfort 2008-10-10 06:12:16 UTC
Thanks for reporting. The surface plots might be affected too.
Comment 2 Jean Bréfort 2008-10-10 09:19:00 UTC
Just added
if (!data)
    return;

and no more crash. 
Surface plots were also affected.