Bug 1325013 - [abrt] stockfish: Position::gives_check(): stockfish killed by SIGABRT
Summary: [abrt] stockfish: Position::gives_check(): stockfish killed by SIGABRT
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: stockfish
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f1e8193195860f997bfd2804275...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 20:56 UTC by Alex Wood
Modified: 2016-04-23 17:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-21 11:54:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (14.94 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: cgroup (148 bytes, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: core_backtrace (5.78 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: dso_list (592 bytes, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: environ (2.07 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: limits (1.29 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: maps (3.56 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: mountinfo (3.52 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: namespaces (85 bytes, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: open_fds (157 bytes, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: proc_pid_status (1.07 KB, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details
File: var_log_messages (314 bytes, text/plain)
2016-04-07 20:56 UTC, Alex Wood
no flags Details

Description Alex Wood 2016-04-07 20:56:13 UTC
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

Comment 1 Alex Wood 2016-04-07 20:56:15 UTC
Created attachment 1144885 [details]
File: backtrace

Comment 2 Alex Wood 2016-04-07 20:56:16 UTC
Created attachment 1144886 [details]
File: cgroup

Comment 3 Alex Wood 2016-04-07 20:56:17 UTC
Created attachment 1144887 [details]
File: core_backtrace

Comment 4 Alex Wood 2016-04-07 20:56:18 UTC
Created attachment 1144888 [details]
File: dso_list

Comment 5 Alex Wood 2016-04-07 20:56:19 UTC
Created attachment 1144889 [details]
File: environ

Comment 6 Alex Wood 2016-04-07 20:56:19 UTC
Created attachment 1144890 [details]
File: limits

Comment 7 Alex Wood 2016-04-07 20:56:20 UTC
Created attachment 1144891 [details]
File: maps

Comment 8 Alex Wood 2016-04-07 20:56:21 UTC
Created attachment 1144892 [details]
File: mountinfo

Comment 9 Alex Wood 2016-04-07 20:56:22 UTC
Created attachment 1144893 [details]
File: namespaces

Comment 10 Alex Wood 2016-04-07 20:56:23 UTC
Created attachment 1144894 [details]
File: open_fds

Comment 11 Alex Wood 2016-04-07 20:56:24 UTC
Created attachment 1144895 [details]
File: proc_pid_status

Comment 12 Alex Wood 2016-04-07 20:56:24 UTC
Created attachment 1144896 [details]
File: var_log_messages

Comment 13 Alex Wood 2016-04-15 20:36:44 UTC
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\""

Comment 14 Raphael Groner 2016-04-21 11:54:28 UTC
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


Note You need to log in before you can comment on or make changes to this bug.