gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] board.c:1190 - stackp == 0 near PASS******assertion failur


From: gd
Subject: [gnugo-devel] board.c:1190 - stackp == 0 near PASS******assertion failure:
Date: Sat, 11 Jun 2016 20:53:05 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

I did something stupid while trying to familiarize myself with gnogo in gtp mode. I tried out trymove without knowing what it does. I couldn't figure out how to get it off the stack, so I tried resetting the trymove_counter. That didn't pop it off so I tried a regular move to where I did the trymove. That didn't have the desired effect either, caused an assertion failure and core dump.

It does seem a little odd to me that the trymove counter can be reset independently of the stack, but like I said, I don't know what I'm doing. Anyway, I hope this is useful to you in some way.

trymove black e4
=

showboard
=
   A B C D E F G H J
 9 . . . . . . . . . 9
 8 . O O X . . X . . 8
 7 . X O X X . + . . 7
 6 X . X O . . X . . 6
 5 . X . . X X . . . 5
 4 . . . X X O X . . 4
 3 . . X O . . + . . 3
 2 . . O X . X X . . 2     WHITE (O) has captured 0 stones
 1 . . . . . . . . . 1     BLACK (X) has captured 1 stones
   A B C D E F G H J

genmove white
? genmove cannot be called when stackp > 0

dump_stack
B:E4  (variation 1020577)
=

reset_trymove_counter
=

showboard
=
   A B C D E F G H J
 9 . . . . . . . . . 9
 8 . O O X . . X . . 8
 7 . X O X X . + . . 7
 6 X . X O . . X . . 6
 5 . X . . X X . . . 5
 4 . . . X X O X . . 4
 3 . . X O . . + . . 3
 2 . . O X . X X . . 2     WHITE (O) has captured 0 stones
 1 . . . . . . . . . 1     BLACK (X) has captured 1 stones
   A B C D E F G H J

genmove white
? genmove cannot be called when stackp > 0

dump_stack
B:E4  (variation 1020577)
=

play black e4


***assertion failure:
board.c:1190 - stackp == 0 near PASS***

B:E4  (variation 1020577)
   A B C D E F G H J
 9 . . . . . . . . . 9
 8 . O O X . . X . . 8
 7 . X O X X . + . . 7
 6 X . X O . . X . . 6
 5 . X . . X X . . . 5
 4 . . . X X O X . . 4
 3 . . X O . . + . . 3
 2 . . O X . X X . . 2     WHITE (O) has captured 0 stones
 1 . . . . . . . . . 1     BLACK (X) has captured 1 stones
   A B C D E F G H J
(;GM[1]FF[4]SZ[9]KM[0.0]HA[9]GN[GNU Go 3.9.1 stepped on a bug]
AB[ec][cd][gd][ee][df][gf][dh][fh][gh]
;W[cb];B[gb];W[bd];B[bc];W[cc];B[be];W[dd];B[ad];W[bb];B[dc];B[db];W[ff]
;B[fe];W[ch];B[cg];W[dg]
)
gnugo 3.9.1 (seed 138366374): You stepped on a bug.
Please mail this message, including the debug output above, to address@hidden

Aborted (core dumped)




reply via email to

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