dje-dev / Ceres

Ceres - an MCTS chess engine for research and recreation
GNU General Public License v3.0
153 stars 23 forks source link

crashing while running 1000 fixed node test #4

Closed masterkni6 closed 3 years ago

masterkni6 commented 3 years ago
stacktrace
masterkni6 commented 3 years ago

crashing at real TC 1sec+0.1

stacktrace
dje-dev commented 3 years ago

It seems that if a search exits immediately (e.g. time exhaustion) then the BestMove is null and this can be dereferenced. However no replication sequence of nodes is obvious. But Ceres should be more defensive in this situation. Related, when presented with a terminal position Ceres aborts upon a "go" command (albeit with a clear message). Consider how to handle this. LC0 responds by outputting an invalid move "bestmove a1a1" which does not seem idea either.

masterkni6 commented 3 years ago

This entire issue may just be a cutechess bug? The current position should have been adjudicated as draw but given to ceres anyways.

Capture
dje-dev commented 3 years ago

This issue is long since resolved.