[Computer-go] Gnugo built by Visual Studio problem
yss at bd.mbn.or.jp
Thu Nov 11 12:58:30 PST 2010
I run Gnugo-3.7.10-a1 on cgos 19x19, this gnugo is built by VC++6.0.
And this gnugo crushes in rare cases, maybe once in 3000 games.
I found a gnugo problem.
#define MAX_LIBERTIES 8
superstring_moves(int str, struct reading_moves *moves, int liberty_cap, int does_attack)
int ss_libs[MAX_LIBERTIES + 4];
find_superstring_liberties(str, &ss_liberties, ss_libs, liberty_cap);
'ss_liberties' is from 12 to 14 sometimes.
I changed from ss_libs[MAX_LIBERTIES + 4] to ss_libs[MAX_LIBERTIES + 40].
gnugo 3.8 built by VC 2008 also crushes.
gnugo 3.7.10 that built by gcc 4.1.2 on Linux, and gnugo 3.7.12 built
by gcc 3.4.4 on Cygwin don't crush.
These 5 sgf files make same problem.
/gnugo-3.8/interface$ ./gnugo -l c14 at 0041.sgf
black (X) move E1
More information about the Computer-go