Hi Steve,
I was able to replicate your issue with PicoChess freezing. There is an error written to the log file:
2024-09-03 11:25:40.388 WARNING iface - get_san: [web] illegal move 0000 found - uci960: False fen: 1r6/p1R2p2/2R5/pP3k1N/6P1/5P2/P5P1/6K1 b - - 0 33
It occured right after PicoTutor said "That is a really good move. The engine is mate in 6." Then I saw the ...er0000 displayed on the web clock. Unfortunately I didn't have my log set to debug so will try it again. It does look like the engine sent a bad move but possibly it just crashed:
pi@picochess:~ $ systemctl status picochess
● picochess.service - PicoChess Chess Program
Loaded: loaded (/etc/systemd/system/picochess.service; enabled; preset: enabled)
Active: active (running) since Tue 2024-09-03 10:36:42 CDT; 1h 8min ago
Main PID: 1487 (python3)
Tasks: 18 (limit: 9119)
CPU: 25min 53.882s
CGroup: /system.slice/picochess.service
├─ 1487 /home/pi/.pyenv/versions/picochess-3.9.2/bin/python3 /opt/picochess/picochess.py
├─ 2208 /opt/picochess/engines/aarch64/patricia
├─ 2775 /home/pi/.pyenv/versions/picochess-3.9.2/lib/python3.9/site-packages/bluepy/bluepy-helper
└─12304 /opt/picochess/engines/aarch64/a-stockf
Sep 03 11:25:40 picochess python3[1487]: return future.result(timeout=FUTURE_POLL_TIMEOUT)
Sep 03 11:25:40 picochess python3[1487]: File "/home/pi/.pyenv/versions/3.9.2/lib/python3.9/concurrent/futures/_base.py", line 440, in result
Sep 03 11:25:40 picochess python3[1487]: return self.__get_result()
Sep 03 11:25:40 picochess python3[1487]: File "/home/pi/.pyenv/versions/3.9.2/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
Sep 03 11:25:40 picochess python3[1487]: raise self._exception
Sep 03 11:25:40 picochess python3[1487]: File "/home/pi/.pyenv/versions/3.9.2/lib/python3.9/concurrent/futures/thread.py", line 52, in run
Sep 03 11:25:40 picochess python3[1487]: result = self.fn(*self.args, **self.kwargs)
Sep 03 11:25:40 picochess python3[1487]: File "/home/pi/.pyenv/versions/picochess-3.9.2/lib/python3.9/site-packages/chess/uci.py", line 1024, in command
Sep 03 11:25:40 picochess python3[1487]: raise EngineTerminatedException()
Sep 03 11:25:40 picochess python3[1487]: chess.engine.EngineTerminatedException
Here is the game:
[White "Player"]
[Black "Patricia 3.1"]
[Result "*"]
[BlackElo "500"]
[Time "10:57:35"]
[WhiteElo "1500"]
1. f3 e5 2. Nc3 Nf6 3. e4 d5 4. d4 exd4 5. Qxd4 c6 6. Bd3 h6 7. Nge2 dxe4 8. Bxe4 Qa5 9. Bd2 Na6 10. Nd5 Nb4 11. Qe5+ Kd8 12. Bxb4 Bxb4+ 13. c3 Re8 14. cxb4 Rxe5 15. bxa5 Rxd5 16. Bxd5 cxd5 17. O-O Rb8 18. Rfd1 g6 19. Rac1 g5 20. Nd4 Ke7 21. b4 Ke8 22. Rc3 Be6 23. Rdc1 h5 24. h3 Kd8 25. b5 g4 26. Nxe6+ Ke8 27. Nc7+ Kd8 28. Nxd5 b6 29. Nxf6 Ke7 30. Nxh5 bxa5 31. Rc7+ Ke6 32. R1c6+ Kf5 33. hxg4+
It might be useful testing another engine as well. I was using my Chessnut Air+ and the latest Wine image on my Pi5 with PicoWatcher and PicoCoach (lift) enabled.
Randy