On Fri, 31 May 2013, Ian Shaw wrote:

I have managed to repeatably crash gnubg with the following error in a popup window.

**
ERROR:play.c:1653:NextTurn: assertion failed: (!fComputing)

I get the same behaviour with the GUI (but "gnubg -t" runs this fine), although I didn't notice any special slowness on the first "play" command.

The script begins:
set player 1 gnubg

set board 4HPhASLgc/ABMA
set turn 1
set dice 6 5
play                      << slow from file, normal from command line
set board 4HPhASLgc/ABMA
set turn 1
set dice 6 4         << appears to be successful
play                     << crash here

Note that this doesn't do exactly what you expect since after the first "play" the wrong player is on roll, so the second one is something like 43Z/skip his turn/64.

Maybe it's wrong that player 1 remains on roll after the "play" command completes, but still it doesn't bother the CLI and something like :

set player 1 gnubg

set matchid cAkAAAAAAAAA
set board 4HPhASLgc/ABMA
set turn 1
set dice 6 5
play

set matchid cAkAAAAAAAAA
set board 4HPhASLgc/ABMA
set turn 1
set dice 6 4
play

that sets the positions right, crashes as well.

_______________________________________________
Bug-gnubg mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to