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 607960 - Crash with xy graph
Crash with xy graph
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other All
: Normal critical
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-01-24 18:50 UTC by Morten Welinder
Modified: 2010-01-25 07:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
might fix the crash (593 bytes, patch)
2010-01-24 18:59 UTC, Jean Bréfort
none Details | Review

Description Morten Welinder 2010-01-24 18:50:21 UTC
xy graph loaded from .gnumeric.  (File not available.)

When the sheet on which the graph resides is shown, I get...

Program received signal SIGSEGV, Segmentation fault.
0xb7ce50b4 in goc_graph_do_tooltip (graph=<value optimized out>)
    at goc-graph.c:285
285		view = gog_view_find_child_view (view, GOG_OBJECT (l->data));
(gdb) where
  • #0 goc_graph_do_tooltip
    at goc-graph.c line 285
  • #1 goc_graph_timer
    at goc-graph.c line 353
  • #2 g_timeout_dispatch
    at gmain.c line 3396
  • #3 g_main_dispatch
    at gmain.c line 1960
  • #4 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #5 g_main_context_iterate
    at gmain.c line 2591
  • #6 IA__g_main_loop_run
    at gmain.c line 2799
  • #7 IA__gtk_main
    at gtkmain.c line 1216


(gdb) p view
$1 = 0x81f5a80 [GogGraphView]


(gdb) p gog_object_get_children (chart, gog_object_find_role_by_name (chart, "Plot"))
$3 = 0x0


Chances are that the file is damanged by previous save.  (I have minute-
for-minute backups to verify that.)
Comment 1 Jean Bréfort 2010-01-24 18:59:23 UTC
Created attachment 152169 [details] [review]
might fix the crash
Comment 2 Jean Bréfort 2010-01-25 07:29:39 UTC
Commited a slightly modified patch. Fixed.