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 152511 - crash when adding a xy plot over a pie plot
crash when adding a xy plot over a pie plot
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: High major
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-09-13 15:53 UTC by Adrian Custer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adrian Custer 2004-09-13 15:53:57 UTC
When an xy plot series is placed over a plot series, gnumeric crashes

1) new gnumeric
2) click on graph guru icon
3) select a pie chart
4) click on forward button
5) slect the chart element in the hiearch
6) Add -> plot -> xyplot -> first sub-type
==> crash

gdb gives:
** (gnumeric:4897): CRITICAL **: file gog-axis.c: line 1819
(gog_axis_bound_changed): assertion `GOG_AXIS (axis) != NULL' failed

** (gnumeric:4897): CRITICAL **: file gog-axis.c: line 1819
(gog_axis_bound_changed): assertion `GOG_AXIS (axis) != NULL' failed

** (gnumeric:4897): CRITICAL **: file gog-axis.c: line 723 (gog_axis_map_new):
assertion `GOG_AXIS (axis) != NULL' failed

** (gnumeric:4897): CRITICAL **: file gog-axis.c: line 723 (gog_axis_map_new):
assertion `GOG_AXIS (axis) != NULL' failed

Program received signal SIGSEGV, Segmentation fault.

Thread 1092934432 (LWP 4897)

  • #0 gog_axis_map_is_valid
    at gog-axis.c line 703
  • #1 gog_view_render
    at gog-view.c line 492
  • #2 gog_view_render_real
    at gog-view.c line 307
  • #3 gog_outlined_view_render
    at gog-outlined-object.c line 148
  • #4 gog_view_render
    at gog-view.c line 488
  • #5 gog_view_render_real
    at gog-view.c line 307
  • #6 gog_outlined_view_render
    at gog-outlined-object.c line 148
  • #7 gog_view_render
    at gog-view.c line 492
  • #8 gog_renderer_pixbuf_update
    at gog-renderer-pixbuf.c line 807
  • #9 gog_control_foocanvas_update
    at gog-control-foocanvas.c line 199
  • #10 foo_canvas_item_invoke_update
    at foo-canvas.c line 433
  • #11 foo_canvas_group_update
    at foo-canvas.c line 1383
  • #12 foo_canvas_item_invoke_update
    at foo-canvas.c line 433
  • #13 foo_canvas_expose
    at foo-canvas.c line 2872
  • #14 gtk_marshal_VOID__UINT_STRING
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
    from /usr/lib/libglib-2.0.so.0
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
    from /usr/lib/libgobject-2.0.so.0
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 foo_canvas_focus_out
    at foo-canvas.c line 2845

Comment 1 Emmanuel Pacaud 2004-09-14 15:09:14 UTC
Commited a fix from Morten. Should not crash anymore, but it does not solve the
real problem.
Comment 2 Emmanuel Pacaud 2004-09-20 13:40:20 UTC
The real problem is we allow user to add incompatible plot to the same chart.

See bug:

http://bugzilla.gnome.org/show_bug.cgi?id=153144