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 533656 - opt_bs_delta() abort
opt_bs_delta() abort
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Analytics
git master
Other All
: Normal critical
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-05-18 02:31 UTC by sum1
Modified: 2008-05-20 00:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2008-05-18 02:31:13 UTC
Version: r16577
OS: Ubuntu Hardy

Steps to reproduce:
- Enter '=opt_bs_delta(B156,2/5/2008,-1,G72,Q118,2,1)' (no quotes) into A1

Backtrace:

**
** ERROR:(options.c:278):opt_bs_delta1: code should not be reached

Program received signal SIGABRT, Aborted.

Thread 3061942880 (LWP 27038)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 g_assertion_message
    from /usr/lib/libglib-2.0.so.0
  • #4 opt_bs_delta1
    at options.c line 278
  • #5 opt_bs_delta
    at options.c line 294
  • #6 function_call_with_exprs
    at func.c line 1247
  • #7 gnm_expr_eval
    at expr.c line 1319
  • #8 gnm_expr_top_eval
    at expr.c line 2837
  • #9 gnm_cell_eval_content
    at dependent.c line 1450
  • #10 gnm_rendered_value_new
    at rendered-value.c line 210
  • #11 gnm_cell_render_value
    at cell.c line 469
  • #12 row_calc_spans
    at cellspan.c line 411
  • #13 sheet_range_bounding_box
    at sheet.c line 2250
  • #14 scg_redraw_range
    at sheet-control-gui.c line 147
  • #15 sc_redraw_range
    at sheet-control.c line 89
  • #16 sheet_redraw_partial_row
    at sheet.c line 1010
  • #17 sheet_cell_calc_span
    at sheet.c line 1102
  • #18 sheet_cell_set_text
  • #19 cmd_set_text_redo
    at commands.c line 851
  • #20 command_push_undo
    at commands.c line 742
  • #21 cmd_set_text
  • #22 wbcg_edit_finish
    at wbc-gtk-edit.c line 222
  • #23 cb_gee_key_press_event
    at gnumeric-expr-entry.c line 507

Comment 1 Morten Welinder 2008-05-20 00:34:53 UTC
The code needs some TLC, but I am not the one to do it.  For now, just
remove the assert and let it return its NaN.



This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.