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 751871 - Seg Fault on TABLE evaluation
Seg Fault on TABLE evaluation
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Analytics
git master
Other Linux
: Normal critical
: ---
Assigned To: Morten Welinder
Jody Goldberg
: 751852 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-07-03 03:39 UTC by Andreas J. Guelzow
Modified: 2015-07-03 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2015-07-03 03:39:35 UTC
new Gnumeric
in C9 type:
=table(E4,G4)
enter
boom:
** (/home/aguelzow/gnumeric/bin/gnumeric:29239): CRITICAL **: gnumeric_table_link: assertion 'eval_pos_is_array_context (ei->pos)' failed

** (/home/aguelzow/gnumeric/bin/gnumeric:29239): CRITICAL **: gnumeric_table_link: assertion 'eval_pos_is_array_context (ei->pos)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79149b5 in gnumeric_table (ei=0x7fffffffc7b0, argc=<optimized out>, argv=0xf7f7c0) at func-builtin.c:199
199		res = value_new_array (ei->pos->array->cols, ei->pos->array->rows);
(gdb) bt
  • #0 gnumeric_table
    at func-builtin.c line 199
  • #1 function_call_with_exprs
    at func.c line 1879
  • #2 gnm_expr_eval
    at expr.c line 1453
  • #3 gnm_expr_top_eval
    at expr.c line 3124
  • #4 gnm_cell_eval_content
    at dependent.c line 1665
  • #5 cell_dep_eval
    at dependent.c line 1250
  • #6 dependent_eval
    at dependent.c line 1755
  • #7 gnm_cell_eval
    at dependent.c line 1769
  • #8 gnm_rendered_value_new
    at rendered-value.c line 266
  • #9 gnm_cell_render_value
    at cell.c line 591
  • #10 gnm_cell_fetch_rendered_value
    at cell.c line 568
  • #11 row_calc_spans
    at cellspan.c line 438
  • #12 sheet_range_bounding_box
    at sheet.c line 3081
  • #13 scg_redraw_range
    at sheet-control-gui.c line 202
  • #14 sheet_redraw_partial_row
    at sheet.c line 1578
  • #15 sheet_cell_calc_span
    at sheet.c line 1706
  • #16 sheet_cell_set_text
  • #17 wbcg_edit_finish
    at wbc-gtk-edit.c line 386
  • #18 gnm_pane_key_mode_sheet
    at gnm-pane.c line 431
  • #19 gnm_pane_key_press
    at gnm-pane.c line 619
  • #20 _gtk_marshal_BOOLEAN__BOXED
    at /tmp/buildd/gtk+3.0-3.8.7~1+petra/./gtk/gtkmarshalers.c line 85
  • #21 g_closure_invoke
    at /build/buildd/glib2.0-2.38.1/./gobject/gclosure.c line 777
  • #22 signal_emit_unlocked_R
--
Comment 1 Andreas J. Guelzow 2015-07-03 03:40:26 UTC
*** Bug 751852 has been marked as a duplicate of this bug. ***
Comment 2 Andreas J. Guelzow 2015-07-03 03:46:24 UTC
Hmm,

if I type in A1  =table(G1,I1) I don't get a seg fault, but only 4 criticals:
CRITICAL **: gnumeric_table_link: assertion 'eval_pos_is_array_context (ei->pos)' failed
Comment 3 Morten Welinder 2015-07-03 15:24:13 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.