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 539808 - g_date criticals
g_date criticals
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-06-23 19:29 UTC by sum1
Modified: 2008-06-23 20:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2008-06-23 19:29:28 UTC
Version: r16656
OS: Ubuntu Hardy

Steps to reproduce:
- In A1, enter "=workday(,1/33/2008)" (no quotes)
- Edit > Recalculate


Console output:

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

(gnumeric:12853): GLib-CRITICAL **: g_date_get_weekday: assertion `d->julian' failed

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

(gnumeric:12853): GLib-CRITICAL **: g_date_get_julian: assertion `d->julian' failed

(gnumeric:12853): GLib-CRITICAL **: g_date_set_julian: assertion `g_date_valid_julian (j)' failed
Comment 1 Morten Welinder 2008-06-23 19:33:07 UTC
I don't see that.  Stack trace on first critical, please.
Comment 2 sum1 2008-06-23 19:46:08 UTC
Breakpoint 1, 0xb72c6e66 in g_log () from /usr/lib/libglib-2.0.so.0
(gdb) bt
  • #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_weekday
    from /usr/lib/libglib-2.0.so.0
  • #4 gnumeric_workday
    at functions.c line 1069
  • #5 function_call_with_exprs
    at func.c line 1247
  • #6 gnm_expr_eval
    at expr.c line 1321
  • #7 gnm_expr_top_eval
    at expr.c line 2839
  • #8 gnm_cell_eval_content
    at dependent.c line 1450
  • #9 dependent_eval
    at dependent.c line 1546
  • #10 workbook_recalc
    at dependent.c line 2582
  • #11 workbook_recalc_all
    at dependent.c line 2614
  • #12 cb_edit_recalc
    at wbc-gtk-actions.c line 481

(gnumeric:5198): GLib-CRITICAL **: g_date_update_julian: assertion `g_date_valid_dmy (d->day, d->month, d->year)' failed
Comment 3 Morten Welinder 2008-06-23 20:32:05 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.