lucasart / c-chess-cli

Command Line Interface for UCI Chess engines written in C
GNU General Public License v3.0
70 stars 9 forks source link

segfault when combining resign with sample #17

Closed lucasart closed 4 years ago

lucasart commented 4 years ago

adding -resign 3,500 to integration test crashes. removing -sample makes the crash go away.

lucasart commented 4 years ago

min repro:

$ ./c-chess-cli -each cmd=./test/engine depth=8 -engine name=e1 -engine name=e2 -sample 0.5,y,training.csv -resign 1,100 -games 965 -log
[1] e1 vs e2: 0-1 (adjudication)
Score of e1 vs e2: 0 - 1 - 0  [0.000] 1
Segmentation fault (core dumped)