sumproduct issues
Submitted by sum1
Link to original bug (#533507)
Description
Version: r16573 + Attachment 110945 (from Bug 533247) OS: Ubuntu Hardy
Steps to reproduce:
- Enter '=sumproduct(Q1:P141,D119,1)' (no quotes) into A1
Console output:
** (gnumeric:28222): CRITICAL **: value_area_get_width: assertion `v' failed
** (gnumeric:28222): CRITICAL **: value_area_get_height: assertion `v' failed
** (gnumeric:28222): CRITICAL **: value_release: assertion `value != NULL' failed
Backtrace: Breakpoint 1, 0xb72aae66 in g_log () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb72aae66 in g_log () from /usr/lib/libglib-2.0.so.0
#1 0xb72ab0eb in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
#2 0xb7cbfbd3 in value_area_get_width (v=0x0, ep=0xbf8f9b4c) at value-sheet.c:92
#3 0xb55eea91 in gnumeric_sumproduct (ei=0xbf8f9ab0, argc=3, argv=0x83e0208) at functions.c:3221
#4 0xb7c248cb in function_call_with_exprs (ei=0xbf8f9ab0, flags=GNM_EXPR_EVAL_SCALAR_NON_EMPTY)
at func.c:1044
#5 0xb7c19ab0 in gnm_expr_eval (expr=0x82bdb10, pos=0xbf8f9b4c, flags=GNM_EXPR_EVAL_SCALAR_NON_EMPTY)
at expr.c:1319
#6 0xb7c1d261 in gnm_expr_top_eval (texpr=0x84a7ce0, pos=0xbf8f9b4c,
flags=GNM_EXPR_EVAL_SCALAR_NON_EMPTY) at expr.c:2837
#7 0xb7c12ff3 in gnm_cell_eval_content (cell=0x84d9278) at dependent.c:1450
#8 0xb7c6fe27 in gnm_rendered_value_new (cell=0x84d9278, mstyle=0x82b81a0, allow_variable_width=1,
context=0x82b1e90, zoom=1) at rendered-value.c:210
#9 0xb7bf3331 in gnm_cell_render_value (cell=0x84d9278, allow_variable_width=1) at cell.c:469
#10 0xb7bf4edc in row_calc_spans (ri=0x84a99e8, row=0, sheet=0x82cd030) at cellspan.c:411
#11 0xb7c7ae85 in sheet_range_bounding_box (sheet=0x82cd030, bound=0xbf8f9d44) at sheet.c:2250
#12 0xb7c86079 in scg_redraw_range (sc=0x83f4800, r=0xbf8f9dcc) at sheet-control-gui.c:147
#13 0xb7c8537d in sc_redraw_range (sc=0x83f4800, r=0xbf8f9dcc) at sheet-control.c:89
#14 0xb7c78390 in sheet_redraw_partial_row (sheet=0x82cd030, row=0, start_col=0, end_col=0)
at sheet.c:1010
#15 0xb7c78647 in sheet_cell_calc_span (cell=0x84d9278, flags=GNM_SPANCALC_SIMPLE) at sheet.c:1102
#16 0xb7c7ac10 in sheet_cell_set_text (cell=0x84d9278, text=0x84d18b8 "=sumproduct(Q1:P141,D119,1)",
markup=0x0) at sheet.c:2144
#17 0xb7bfd4ac in cmd_set_text_redo (cmd=0x84b1510, wbc=0x82a3038) at commands.c:851
#18 0xb7bfcff2 in command_push_undo (wbc=0x82a3038, obj=0x84b1510) at commands.c:742
#19 0xb7bfdc72 in cmd_set_text (wbc=0x82a3038, sheet=0x82cd030, pos=0x83f2990,
new_text=0x84d7540 "=sumproduct(Q1:P141,D119,1)", markup=0x0) at commands.c:1030
#20 0xb7cdbeaa in wbcg_edit_finish (wbcg=0x82a3038, result=WBC_EDIT_ACCEPT, showed_dialog=0x0)
at wbc-gtk-edit.c:222
#21 0xb7d6f3cd in cb_gee_key_press_event (entry=0x83ac8c0, event=0x84b1850, gee=0x83e0810)
at gnumeric-expr-entry.c:507
Version: git master