GNOME Bugzilla – Bug 553047
Uninitialized value used in gnumeric_networkdays
Last modified: 2008-09-20 23:59:10 UTC
Version: r16813 OS: Ubuntu Hardy Steps to reproduce: - In A1, enter "=networkdays(,)" (no quotes) Valgrind output: ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x4146D34: value_new_float (value.c:106) ==19469== by 0x4146D02: value_new_int (value.c:100) ==19469== by 0x80035AD: gnumeric_networkdays (functions.c:1258) ==19469== by 0x40AF713: function_call_with_exprs (func.c:1247) ==19469== by 0x40A3E1F: gnm_expr_eval (expr.c:1339) ==19469== by 0x40A75D0: gnm_expr_top_eval (expr.c:2858) ==19469== by 0x409D2AC: gnm_cell_eval_content (dependent.c:1455) ==19469== by 0x40FA936: gnm_rendered_value_new (rendered-value.c:210) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x45C3FFA: go_format_value_gstring (go-format.c:3123) ==19469== by 0x40B1491: format_value_common (gnm-format.c:117) ==19469== by 0x40B157D: gnm_format_layout (gnm-format.c:151) ==19469== by 0x40FB1BF: gnm_rendered_value_new (rendered-value.c:407) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== by 0x4110244: sc_redraw_range (sheet-control.c:89) ==19469== by 0x4103243: sheet_redraw_partial_row (sheet.c:1018) ==19469== by 0x41034FA: sheet_cell_calc_span (sheet.c:1110) ==19469== by 0x4105AC3: sheet_cell_set_text (sheet.c:2152) ==19469== ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x462DD79: go_add_epsilon (go-math.c:200) ==19469== by 0x45C198B: go_format_execute (go-format.c:2200) ==19469== by 0x45C4081: go_format_value_gstring (go-format.c:3132) ==19469== by 0x40B1491: format_value_common (gnm-format.c:117) ==19469== by 0x40B157D: gnm_format_layout (gnm-format.c:151) ==19469== by 0x40FB1BF: gnm_rendered_value_new (rendered-value.c:407) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== by 0x4110244: sc_redraw_range (sheet-control.c:89) ==19469== by 0x4103243: sheet_redraw_partial_row (sheet.c:1018) ==19469== ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x462DD87: go_add_epsilon (go-math.c:200) ==19469== by 0x45C198B: go_format_execute (go-format.c:2200) ==19469== by 0x45C4081: go_format_value_gstring (go-format.c:3132) ==19469== by 0x40B1491: format_value_common (gnm-format.c:117) ==19469== by 0x40B157D: gnm_format_layout (gnm-format.c:151) ==19469== by 0x40FB1BF: gnm_rendered_value_new (rendered-value.c:407) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== by 0x4110244: sc_redraw_range (sheet-control.c:89) ==19469== by 0x4103243: sheet_redraw_partial_row (sheet.c:1018) ==19469== ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x462DD89: go_add_epsilon (go-math.c:200) ==19469== by 0x45C198B: go_format_execute (go-format.c:2200) ==19469== by 0x45C4081: go_format_value_gstring (go-format.c:3132) ==19469== by 0x40B1491: format_value_common (gnm-format.c:117) ==19469== by 0x40B157D: gnm_format_layout (gnm-format.c:151) ==19469== by 0x40FB1BF: gnm_rendered_value_new (rendered-value.c:407) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== by 0x4110244: sc_redraw_range (sheet-control.c:89) ==19469== by 0x4103243: sheet_redraw_partial_row (sheet.c:1018) ==19469== ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x45C372A: go_render_general (go-format.c:2922) ==19469== by 0x45C3503: go_format_execute (go-format.c:2808) ==19469== by 0x45C4081: go_format_value_gstring (go-format.c:3132) ==19469== by 0x40B1491: format_value_common (gnm-format.c:117) ==19469== by 0x40B157D: gnm_format_layout (gnm-format.c:151) ==19469== by 0x40FB1BF: gnm_rendered_value_new (rendered-value.c:407) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== by 0x4110244: sc_redraw_range (sheet-control.c:89) ==19469== by 0x4103243: sheet_redraw_partial_row (sheet.c:1018) ==19469== ==19469== Conditional jump or move depends on uninitialised value(s) ==19469== at 0x45C372C: go_render_general (go-format.c:2922) ==19469== by 0x45C3503: go_format_execute (go-format.c:2808) ==19469== by 0x45C4081: go_format_value_gstring (go-format.c:3132) ==19469== by 0x40B1491: format_value_common (gnm-format.c:117) ==19469== by 0x40B157D: gnm_format_layout (gnm-format.c:151) ==19469== by 0x40FB1BF: gnm_rendered_value_new (rendered-value.c:407) ==19469== by 0x407CB18: gnm_cell_render_value (cell.c:469) ==19469== by 0x407E6C3: row_calc_spans (cellspan.c:411) ==19469== by 0x4105D38: sheet_range_bounding_box (sheet.c:2258) ==19469== by 0x4110F40: scg_redraw_range (sheet-control-gui.c:147) ==19469== by 0x4110244: sc_redraw_range (sheet-control.c:89) ==19469== by 0x4103243: sheet_redraw_partial_row (sheet.c:1018)
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. (No-one should be proud of that code.)