gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Crash: GNU Go 3.6 pre 2


From: Trevor Morris
Subject: [gnugo-devel] Crash: GNU Go 3.6 pre 2
Date: Thu, 23 Sep 2004 15:00:09 -0400

I just found a crash when running regress.pl on GNU Go 3.6 pre 2:

perl regress.pl --goprog "..\\interface\\gnugo.exe --mode gtp --quiet
-t -w -d0x1000" --verbose 1 -a 1

Here's the stack trace: (notice bogus move value passed to owl_reasons)

test_owl_attack_move(int 4453113, int 37, int 38, int 0) line 4564 + 56 bytes
owl_reasons(int 4314407) line 4680 + 48 bytes
collect_move_reasons(int 2) line 296
do_genmove(int *, int, float, int *) line 424

I believe the crash is on blunder:21, though running blunder.tst alone 
doesn't cause the crash.  The crash is on the following DEBUG line, so the
problem probably requires appropriate debug flags to reproduce:

    DEBUG(DEBUG_OWL, "owl: %1m attacks %1m (%s) at move %d\n",
          pos, dr, result_to_string(DRAGON2(pos).owl_attack_code),
          movenum+1);

I've not attempted to diagnose the problem further.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]