Open tissatussa opened 3 years ago
According to the log the engine received position command, but did not received go command. There are still more time left, so something is wrong with the engine-cutechess communication. Do you have the cutechess log? Does it happen when ponder is off?
The move Re7 is done by SF asmFish it has nothing to do with HeadsUp. I believe while True is fine.
i have no cutechess log, the pgn is my only cutechess output .. i searched the cutechess install folder for any newly touched file with "log" or "debug" in its name .. and i don't see a way to set logging ON in cutechess ? (did i ever see a log file of my cutechess?) I find https://gist.github.com/zz4032/7af71a696cb2a0f2bc6116a3d27cb0bb as some cutechess debug log, but where on my Linux can i find such file ?
yes, i use ponder .. i almost never have problems with cutechess with the many different engines i use .. exception is Ethereal, many versions : it often breaks the connection, most of the time at the end of the game, when its lost (!?) .. I can try with ponder OFF but i don't want to wait until a connection DOES stall then ..
is there a next step ? is there a problem anyhow ? when it sometimes occurs, suddenly, it can hardly be tested ? Indeed a good log file would help ..
thanks for the other info.
We're lucky : i just did another game in cutechess against the same engine and now the error occurs very quickly .. i saved the debug log text from its window pane (should THAT be the only way in cutechess?) .. what do you say ?
[Event "?"]
[Site "?"]
[Date "2021.08.01"]
[Round "?"]
[White "HeadsUp"]
[Black "Andscacs v0.95-123"]
[Result "0-1"]
[FEN "3qr2k/pp1b1p1p/4pNpB/4P3/1PrpR3/5N2/5PP1/3R2K1 b - - 0 3"]
[GameDuration "00:04:28"]
[PlyCount "5"]
[SetUp "1"]
[Termination "stalled connection"]
[TimeControl "720+5"]
1... Ba4 {+1.27/26 57s} 2. Ng5 {+0.01/40 91s} Qc7 {+0.57/30 57s} 3. Rh4 {9.2s}
a6 {+0.01/30 40s, White's connection stalls} 0-1
and here's my cfg file .. the SF binary is a newly compiled version 14 with default NNUE, also Berserk .. should i set more options ? btw. i'm now testing with ponder OFF ..
Cutechess GUI only shows log in view->engine debug.
I see the log on conn_stalls_andscacs.zip. It does not say HeadsUp stalled or White stalled. Which version of Cutechess did you use?
Another way to test is by using cutechess-cli. Here you can save the cutechess log in a file. Also save the HeadsUp log file. Lets see them.
Note I have not tested this in Linux, only tested this in Windows.
Cute Chess 1.2.0 Using Qt version 5.12.8 Running on Ubuntu 20.04.2 LTS/x86_64
must be the latest (stable) version .. i know the -cli version exists but i never used it .. what's wrong with the debug log of the GUI ? I think it will be the same as a -cli log ? Can we be sure a stalled message is UCI output by the engine ? Is that normal / optional ?
In cutechess-cli log, it should mention the stalled message.
a few times i used HeadsUp to play engine-vs-engine in CuteChess (on Linux) .. HeadsUp seems to work fine, but once stopped with a "White's connection stalls" message .. see game PGN and log below. Could some extra / other settings be needed ? I use a simple cfg.
NOTE: the CuteChess comment of the last move shows the other engine took 108 sec to return its best move Re7 and this is the longest thinking time in this game : was HeadsUp still idle to receive UCI commands ? btw. in the Python code i see a simple infinite "while True" construction .. is this a common / robust way ?
log_headsup.zip