[computer-go] CGOS bug

Don Dailey drd at mit.edu
Mon Aug 7 11:28:38 PDT 2006


It has come to my attention that there is a minor bug in CGOS,
occasionally a bot will lose a game on the first move due to an illegal
move that is not really the fault of the program.   The illegal move is
always, "ping."

It affects very few games but it's annoying when it happens I'm sure.

A workaround is to just use the perl script cgos.pl instead of the
cgosGtp.tcl script for communicating with the server.   

The actual problem is that there is an experimental feature in CGOS that
was designed to help debug a problem with a certain program that would
time-out a lot between games.   I put a ping command just to see what
would happen, but it looks like I introduced a race condition where the
final ping might occur after a game actually started.   

A workaround is to just use the perl script cgos.pl instead of the
cgosGtp.tcl script for communicating with the server.  The perl script
does not have the ping stuff there and it's not needed.   

If you want to fix the problem in the cgosGtp.tcl client, just take out
the ping code (there is one line that says "set pingable 1", change it
to say, "set pingable 0" and it will be fixed.

I'm working on a new server, so I'm not going to try to fix this
directly in the server - the workaround will do the job for now.

- Don




More information about the computer-go mailing list