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 323762 - Segfault copying graph
Segfault copying graph
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.6.x
Other Linux
: High critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-12-10 23:56 UTC by Jon Kåre Hellan
Modified: 2006-10-15 01:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jon Kåre Hellan 2005-12-10 23:56:55 UTC
New gnumeric. 
Open sample spreadsheet from gnumeric web page. 
Mark graph.
Copy.
File/New.
Close sample spreadsheet.
File/Paste in the remaining window.
Result: Segfault
Comment 1 Jean Bréfort 2005-12-11 08:56:48 UTC
This is a duplicate of #321714
Comment 2 Jon Kåre Hellan 2005-12-11 18:46:00 UTC

*** This bug has been marked as a duplicate of 321714 ***
Comment 3 Jon Kåre Hellan 2006-10-10 10:52:37 UTC
321714 has been fixed, but this one is still a crasher. Reopening.

Command to open sample spreadsheet from gnumeric web page:
  gnumeric http://www.gnome.org/projects/gnumeric/images/gnumeric-sample.gnumeric

Stacktrace:

  • #0 link_range_dep
    at dependent.c line 854
  • #1 link_cellrange_dep
    at dependent.c line 930
  • #2 link_expr_dep
    at dependent.c line 986
  • #3 dependent_link
    at dependent.c line 1274
  • #4 dependent_set_sheet
    at dependent.c line 364
  • #5 gnm_go_data_set_sheet
    at graph.c line 156
  • #6 sog_data_set_sheet
    at sheet-object-graph.c line 128
  • #7 sog_datas_set_sheet
    at sheet-object-graph.c line 148
  • #8 gnm_sog_set_sheet
    at sheet-object-graph.c line 463
  • #9 sheet_object_set_sheet
    at sheet-object.c line 347
  • #10 paste_object
    at clipboard.c line 243
  • #11 clipboard_paste_region
    at clipboard.c line 281
  • #12 cmd_paste_copy_impl
    at commands.c line 2879
  • #13 cmd_paste_copy_redo
    at commands.c line 2921
  • #14 command_push_undo
    at commands.c line 774
  • #15 cmd_paste_copy
    at commands.c line 3041
  • #16 cmd_paste
    at cmd-edit.c line 344
  • #17 cmd_paste_to_selection
    at cmd-edit.c line 373
  • #18 cb_edit_paste
    at wbcg-actions.c line 336

Bug 323811 is closely related. In both cases, the clipboard refers to a sheet in a workbook which has been destroyed.
Comment 4 Jon Kåre Hellan 2006-10-10 11:01:42 UTC
Crasher, so upping priority/severity.
Comment 5 Morten Welinder 2006-10-13 19:51:19 UTC
Stuff needs to be added to the new gnm_app_clipboard_invalidate_sheet
to deal with objects in the clipboard.
Comment 6 Morten Welinder 2006-10-15 01:15:19 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.