Description of problem: I have Stockfish configured as an engine under a version of ScidVsPC that I have build (https://copr.fedorainfracloud.org/coprs/awood/scid_vs_pc/). Stockfish will crash seemingly randomly. Version-Release number of selected component: stockfish-7-1.20160225gite1a7d13.fc23 Additional info: reporter: libreport-2.6.4 backtrace_rating: 4 cmdline: /usr/bin/stockfish crash_function: Position::gives_check executable: /usr/bin/stockfish global_pid: 28586 kernel: 4.4.2-301.fc23.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (5 frames) #4 Position::gives_check at /usr/src/debug/Stockfish-e1a7d135b2b1c6118ba514fa41c2104245bd1caf/src/position.cpp:613 #5 Search::RootMove::extract_ponder_from_tt at /usr/src/debug/Stockfish-e1a7d135b2b1c6118ba514fa41c2104245bd1caf/src/search.cpp:1634 #6 MainThread::search at /usr/src/debug/Stockfish-e1a7d135b2b1c6118ba514fa41c2104245bd1caf/src/search.cpp:380 #7 Thread::idle_loop at /usr/src/debug/Stockfish-e1a7d135b2b1c6118ba514fa41c2104245bd1caf/src/thread.cpp:114 #8 std::(anonymous namespace)::execute_native_thread_routine at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
Created attachment 1144885 [details] File: backtrace
Created attachment 1144886 [details] File: cgroup
Created attachment 1144887 [details] File: core_backtrace
Created attachment 1144888 [details] File: dso_list
Created attachment 1144889 [details] File: environ
Created attachment 1144890 [details] File: limits
Created attachment 1144891 [details] File: maps
Created attachment 1144892 [details] File: mountinfo
Created attachment 1144893 [details] File: namespaces
Created attachment 1144894 [details] File: open_fds
Created attachment 1144895 [details] File: proc_pid_status
Created attachment 1144896 [details] File: var_log_messages
This seems to be happening when the board state is in a checkmate and the engine is asked to analyze it. Engine: readyok Scid : position fen 4k3/8/4K2Q/8/8/8/8/8 w - - 3 8 Scid : go infinite [...] Engine analysis here Scid : stop Scid : isready Engine: readyok Engine: bestmove h6h8 Scid : position fen 4k3/8/4K2Q/8/8/8/8/8 w - - 3 8 moves h6h8 Scid : go infinite Engine: info depth 0 score mate 0 Scid : stop Scid : isready Engine: readyok Scid : position fen 4k3/8/4K2Q/8/8/8/8/8 w - - 3 8 moves h6h8 Scid : go infinite Engine: bestmove (none) Note: Engine terminated without warning. Note: Engine terminated without exit code: "\"$standard_error\""
This is a bug in ScidVsPC. Stockfish wants to inform about the checkmate but ScidVsPC ignores and sends the same move again after done it already. > Engine: info depth 0 score mate 0 > Engine: bestmove (none) Stockfish is not able to analyze invalid moves. http://support.stockfishchess.org/kb/advanced-topics/uci-protocol