Closed Theowoll closed 2 years ago
Thank you for reporting the issue! I have fixed that problem yesterday. It seems you have additional issue. Somehow it is not finiding scorpio.ini which should be in the same directory as the scorpio binary. I do not generally recommend compiling scorpio from source but installing it following the steps in INSTALL.md. Scorpio has lots of dependencies: egbbdll, libnnprobe, libnnueprobe, libnncpuprobe and many others..
If you have to compile from source and test it first thing i would do is disable many of these options and run it like
./scorpio use_nn 0 use_nnue 0 montecarlo 0 go quit
Or run the run_tests.sh
script under tests/ directory which I use for github actions. It uses the bare minimum scorpio configuration to run a couple of tests.
Compiling Scorpio from source under openSUSE Tumbleweed (without
DEFINES += -DHAS_POPCNT
andCXXFLAGS += -mavx2
insrc/Makefile
) results in a segmentation fault as of commit 76515ca (NUMA aware pawn/eval hashtable allocation). Running the binary with./build.sh && bin/scorpio go quit
gives the following output:After compiling with
./build.sh DEBUG=2
and running the binary withgdb
, I get this backtrace:Valgrind also outputs "Invalid read of size" messages, which first appear after the earlier commit 4a73976 (Support uci hashfull):