Description of problem: Using Stockfish as analysis engine for SCID. Happened when analyzing a variation of a game. Not reproducible Version-Release number of selected component: stockfish-6-4.20150228git1e6d21d.fc21 Additional info: reporter: libreport-2.3.0 backtrace_rating: 4 cmdline: /usr/bin/stockfish crash_function: Position::gives_check executable: /usr/bin/stockfish kernel: 3.19.1-201.fc21.x86_64 runlevel: N 5 type: CCpp uid: 1001 Truncated backtrace: Thread no. 1 (6 frames) #4 Position::gives_check at /usr/src/debug/Stockfish-1e6d21dbb6918a2d5f2f09730b0c30e3a4895d5c/src/position.cpp:631 #5 Position::do_move at /usr/src/debug/Stockfish-1e6d21dbb6918a2d5f2f09730b0c30e3a4895d5c/src/position.cpp:693 #6 Search::RootMove::extract_ponder_from_tt at /usr/src/debug/Stockfish-1e6d21dbb6918a2d5f2f09730b0c30e3a4895d5c/src/search.cpp:1509 #7 Search::think at /usr/src/debug/Stockfish-1e6d21dbb6918a2d5f2f09730b0c30e3a4895d5c/src/search.cpp:279 #8 MainThread::idle_loop at /usr/src/debug/Stockfish-1e6d21dbb6918a2d5f2f09730b0c30e3a4895d5c/src/thread.cpp:272 #9 (anonymous namespace)::start_routine at /usr/src/debug/Stockfish-1e6d21dbb6918a2d5f2f09730b0c30e3a4895d5c/src/thread.cpp:39
Created attachment 1006215 [details] File: backtrace
Created attachment 1006216 [details] File: cgroup
Created attachment 1006217 [details] File: core_backtrace
Created attachment 1006218 [details] File: dso_list
Created attachment 1006219 [details] File: environ
Created attachment 1006220 [details] File: limits
Created attachment 1006221 [details] File: maps
Created attachment 1006222 [details] File: open_fds
Created attachment 1006223 [details] File: proc_pid_status
Hi Joachim, thanks for your report. Is it possible that stockfish tried to execute an illegal move? The call of gives_check in the backtrace indicates that a possible check move was done but not allowed and fails therefore in the assert condition. So stockfish seems not to be able to detect a deadlock situation in a smoother way than crashing. Could you try to provide the original game situation?
I am using stockfish as chess analysis engine for scid-4.5.2-6 and for chessx-1.2.2. I have reported this bug because of the report/abrt interface. The crash may occur when I change the position by clicking on a different move in the SCID game notation window. From your explanation I suspect that SCID may send sporadically a wrong FEN position to the engine and then an illegal move. I'll enable debug logging of the stockfish engine next time. In combination with chessx 1.2.2 (svn commit 1940) I have not yet encountered this problem.
stockfish-7-0.3.20150506git2e86d1f.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/stockfish-7-0.3.20150506git2e86d1f.fc21
Please try again with the new build. Can you reproduce any regression?
Package stockfish-7-0.3.20150506git2e86d1f.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing stockfish-7-0.3.20150506git2e86d1f.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7695/stockfish-7-0.3.20150506git2e86d1f.fc21 then log in and leave karma (feedback).
Thanks for providing the update. The new version from git2e86d1f apparently has resolved my issue. I didn't encounter any crashes after installation of stockfish-7-0.3.20150506git2e86d1f.fc21. But why gets the new package the version number 7? Upstream has not yet published a version 7 and I couldn't found any announcement in upstream's blog, github or Google discussion group https://groups.google.com/forum/?fromgroups=#!forum/fishcooking
Thanks for testing. (In reply to Joachim Katzer from comment #15) … > But why gets the new package the version number 7? > Upstream has not yet published a version 7 and I couldn't found any > announcement in upstream's blog, github or Google discussion group > https://groups.google.com/forum/?fromgroups=#!forum/fishcooking This is a prerelease of latest development snapshot from GitHub (as of 2015-05-06, commit 2e86d1febc163e076320a6a21060fc5a1c7c0dff). We assume that the futuristic major release should be with version 7, this build logic is already in Fedora22.
stockfish-7-0.3.20150506git2e86d1f.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.