Stockfish
Stockfish copied to clipboard
race conditions in the code.
current gensfen and learn commands are not correct multithreaded, several races remain. To check:
make clean && make -j2 ARCH=x86-64-modern sanitize=thread optimize=no debug=yes build > /dev/null && ../tests/instrumented_learn.sh --sanitizer-thread
@Sopel97 maybe you can test if this is fixed by adding that line to .travis.yml ?
@nodchip @Sopel97 this was auto-closed on merge, maybe we can explicitly add the line above to CI, to make sure it is fixed.
Right, not sure why this was closed straight up. There may still be issues in gensfen. I'd reopen this for now, later I'll try adding the CI tasks when I reduce the bench depth in valgrind.
doesn't look like I can reopen @nodchip should have the permission to do that.
github will auto-close issues if the commit message says fixes #1234 unfortunately also for 'maybe fixes' 'partially fixes' etc.
I reopened this issue.