You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stockfish crashes immediately if users enter a wrong file name (or even an existing folder name) for debug log file. It may be hard for users to find out since it prints nothing. If they enter the string via a chess GUI, the chess GUI may remember and auto-send to Stockfish next time, makes Stockfish crashes all the time.
Tested with the latest Stockfish (211019, cloned from GitHub), 64 bit on a macOS.
Log:
$ ./stockfish
Stockfish 211019 64 by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
setoption name Debug Log File value /nofolder/a.txt
isready
(crashed)
The text was updated successfully, but these errors were encountered:
vondele
added a commit
to vondele/Stockfish
that referenced
this issue
Oct 21, 2019
Stockfish crashes immediately if users enter a wrong file name (or even an existing
folder name) for debug log file. It may be hard for users to find out since it prints
nothing. If they enter the string via a chess GUI, the chess GUI may remember and
auto-send to Stockfish next time, makes Stockfish crashes all the time. Bug report by
Nguyen Hong Pham in this issue: #2365
This patch avoids the crash and instead prefers to exit gracefully with a error
message on std:cerr, like we do with the fenFile for instance.
Closes#2366
No functional change.
Stockfish crashes immediately if users enter a wrong file name (or even an existing folder name) for debug log file. It may be hard for users to find out since it prints nothing. If they enter the string via a chess GUI, the chess GUI may remember and auto-send to Stockfish next time, makes Stockfish crashes all the time.
Tested with the latest Stockfish (211019, cloned from GitHub), 64 bit on a macOS.
Log:
The text was updated successfully, but these errors were encountered: