I'm studying on gnugo for my school and I found a bug when I try the mode gtp.
It's not an important bug, but I want to know if my proposition to correct it is good.
After using the command trymove, if I want to play a move this message appear :
trymove B D4
=
black Q16
***assertion failure:
board.c:911 - stackp == 0 near Q16***
B:D4
A B C D E F G H J K L M N O P Q R S T
19 . . . . . . . . . . . . . . . . . . . 19
18 . . . . . . . . . . . . . . . . . . . 18
17 . . . . . . . . . . . . . . . . . . . 17
16 . . . + . . . . . + . . . . . + . . . 16
15 . . . . . . . . . . . . . . . . . . . 15
14 . . . . . . . . . . . . . . . . . . . 14
13 . . . . . . . . . . . . . . . . . . . 13
12 . . . . . . . . . . . . . . . . . . . 12
11 . . . . . . . . . . . . . . . . . . . 11 WHITE (O) has captured 0 stones
10 . . . + . . . . . + . . . . . + . . . 10 BLACK (X) has captured 0 stones
9 . . . . . . . . . . . . . . . . . . . 9
8 . . . . . . . . . . . . . . . . . . . 8
7 . . . . . . . . . . . . . . . . . . . 7
6 . . . . . . . . . . . . . . . . . . . 6
5 . . . . . . . . . . . . . . . . . . . 5
4 . . . X . . . . . + . . . . . + . . . 4
3 . . . . . . . . . . . . . . . . . . . 3
2 . . . . . . . . . . . . . . . . . . . 2
1 . . . . . . . . . . . . . . . . . . . 1
A B C D E F G H J K L M N O P Q R S T
(;GM[1]FF[4]SZ[19]KM[0.0]GN[GNU Go 3.6 stepped on a bug])
gnugo 3.6 (seed 1147046375): You stepped on a bug.
Please mail this message, including the debug output above, to [EMAIL PROTECTED]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I search why I've got this message and I try to add the function popgo(); in the functions gtp_play, gtp_playwhite and gtp_playblack.
This seems to correct this bug but I'm not sure if it doesn't dangerous for the rest.
Thank you to tell me if I'm right and I hope this can help you for contining GnuGo.
Christophe
_______________________________________________ gnugo-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnugo-devel

