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 564502 - g_date criticals with coupncd
g_date criticals with coupncd
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Analytics
git master
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-12-14 17:11 UTC by sum1
Modified: 2008-12-14 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2008-12-14 17:11:41 UTC
Version: r17011
OS: Ubuntu Intrepid

Steps to reproduce:
- In A1, enter '=coupncd(1,27503*167011,1,)' (no quotes)

Console output:

GLib-CRITICAL **: g_date_update_julian: assertion `g_date_valid_dmy (d->day, d->month, d->year)' failed
GLib-CRITICAL **: g_date_get_julian: assertion `d->julian' failed


Backtrace:

  • #0 g_log
    from /usr/lib/libglib-2.0.so.0
  • #1 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #2 ??
    from /usr/lib/libglib-2.0.so.0
  • #3 g_date_get_julian
    from /usr/lib/libglib-2.0.so.0
  • #4 datetime_g_to_serial
    at datetime.c line 68
  • #5 coupncd
    at functions.c line 281
  • #6 func_coup
    at functions.c line 342
  • #7 gnumeric_coupncd
    at functions.c line 3674
  • #8 function_call_with_exprs
    at func.c line 1247
  • #9 gnm_expr_eval
    at expr.c line 1339
  • #10 gnm_expr_top_eval
    at expr.c line 2862
  • #11 gnm_cell_eval_content
    at dependent.c line 1452
  • #12 gnm_rendered_value_new
    at rendered-value.c line 210
  • #13 gnm_cell_render_value
    at cell.c line 469
  • #14 row_calc_spans
    at cellspan.c line 411
  • #15 sheet_range_bounding_box
    at sheet.c line 2259
  • #16 scg_redraw_range
    at sheet-control-gui.c line 149
  • #17 sc_redraw_range
    at sheet-control.c line 90
  • #18 sheet_redraw_partial_row
    at sheet.c line 1019
  • #19 sheet_cell_calc_span
    at sheet.c line 1111
  • #20 sheet_cell_set_text
  • #21 cmd_set_text_redo
    at commands.c line 854
  • #22 command_push_undo
    at commands.c line 745
  • #23 cmd_set_text
  • #24 wbcg_edit_finish
    at wbc-gtk-edit.c line 222
  • #25 cb_gee_key_press_event
    at gnumeric-expr-entry.c line 522

Comment 1 Morten Welinder 2008-12-14 20:46:00 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.