[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] Uninitialized conditional jump
From: |
bump |
Subject: |
[gnugo-devel] Uninitialized conditional jump |
Date: |
Thu, 30 Sep 2004 04:36:13 -0700 |
Running GNU Go 3.6 pre2 with Valgrind reported the
following during strategy.tst:
==14509== Conditional jump or move depends on uninitialised value(s)
==14509== at 0x80D2879: break_in_goal_from_str (breakin.c:290)
==14509== by 0x80D2C03: break_in_goal (breakin.c:374)
==14509== by 0x80D2E01: break_territories (breakin.c:425)
==14509== by 0x80C9967: estimate_territorial_value (value_moves.c:2294)
(14509 is just the process number.)
Since Valgrind complained at line 290 but not at the earlier
line 285, I infer that goal[pos] is initialized but
goal[pos+delta[j]] is not. So this must be some problem
at the edge of the board.
Dan
- [gnugo-devel] Uninitialized conditional jump,
bump <=