ddugovic/Stockfish

Syzygy crash

ddugovic opened this issue · 0 comments

SYZYGY_PATH='/home/lila/Stockfish/tb' ./get_bench.sh bench.log 'chess 1 1 8'

Thanks to https://gist.github.com/WOnder93/b5fcf9c989b4a1715684d5c82367cdbe for test scripts.

Thread 5 "stockfish" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6629700 (LWP 80805)]
0x000055555559a22e in Position::attackers_to(Square, unsigned long) const ()
(gdb) bt
#0  0x000055555559a22e in Position::attackers_to(Square, unsigned long) const ()
#1  0x000055555559f4e0 in Position::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, Variant, StateInfo*, Thread*) ()
#2  0x000055555559ff8e in Position::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Color, Variant, StateInfo*) ()
#3  0x0000555555576b4e in Tablebases::WDLScore (anonymous namespace)::probe_table<((anonymous namespace)::TBType)0, Tablebases::WDLScore>(Position const&, Tablebases::ProbeState*, Tablebases::WDLScore) [clone .isra.0] [clone .part.0] ()
#4  0x0000555555578262 in Tablebases::WDLScore (anonymous namespace)::search<false>(Position&, Tablebases::ProbeState*) [clone .part.0] [clone .lto_priv.0] ()
#5  0x000055555558ec21 in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)0>(Position&, Search::Stack*, Value, Value, int, bool) ()
#6  0x000055555558ddae in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)0>(Position&, Search::Stack*, Value, Value, int, bool) ()
#7  0x000055555558e86d in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)0>(Position&, Search::Stack*, Value, Value, int, bool) ()
#8  0x00005555555915bc in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)1>(Position&, Search::Stack*, Value, Value, int, bool) ()
#9  0x0000555555591163 in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)1>(Position&, Search::Stack*, Value, Value, int, bool) ()
#10 0x0000555555591163 in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)1>(Position&, Search::Stack*, Value, Value, int, bool) ()
#11 0x0000555555591163 in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)1>(Position&, Search::Stack*, Value, Value, int, bool) ()
#12 0x0000555555591163 in Value (anonymous namespace)::search<((anonymous namespace)::NodeType)1>(Position&, Search::Stack*, Value, Value, int, bool) ()
#13 0x000055555559351b in Thread::search() ()
#14 0x0000555555598354 in MainThread::search() ()
#15 0x000055555557f2be in run_idle_loop(void*) ()
#16 0x00007ffff7f89609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#17 0x00007ffff7b65103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95