In the following position, in MPV mode, Stockfish 2.0 traps with the message "Stockfish 2.0 JA caused an exception"
Here MPV is set to 3 or more.
The reason seems obvious: bad protection, side to move only has 2 legal moves, MPV is set to more...
...nothing earthshaking!
[D]1k1r4/2p3pp/p2NQp2/N3p3/8/4B2P/5PP1/1q4K1 w - - 0 40
Stockfish 2.0: small trap in MPV mode (reproducible)
Moderators: hgm, Rebel, chrisw
-
- Posts: 2041
- Joined: Wed Mar 08, 2006 8:30 pm
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Stockfish 2.0: small trap in MPV mode (reproducible)
Yes, my OS X build also crashes:
Code: Select all
Stockfish 2.0 64bit by Tord Romstad, Marco Costalba, Joona Kiiski
Good! CPU has hardware POPCNT.
uci
id name Stockfish 2.0 64bit
id author Tord Romstad, Marco Costalba, Joona Kiiski
option name Use Search Log type check default true
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Best Book Move type check default false
option name Mobility (Middle Game) type spin default 100 min 0 max 200
option name Mobility (Endgame) type spin default 100 min 0 max 200
option name Pawn Structure (Middle Game) type spin default 100 min 0 max 200
option name Pawn Structure (Endgame) type spin default 100 min 0 max 200
option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
option name Space type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name Check Extension (PV nodes) type spin default 2 min 0 max 2
option name Check Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Single Evasion Extension (PV nodes) type spin default 2 min 0 max 2
option name Single Evasion Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Pawn Push to 7th Extension (PV nodes) type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Endgame Extension (PV nodes) type spin default 2 min 0 max 2
option name Pawn Endgame Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Minimum Split Depth type spin default 7 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 5 min 4 max 8
option name Threads type spin default 16 min 1 max 16
option name Use Sleeping Threads type check default true
option name Hash type spin default 1024 min 4 max 8192
option name Clear Hash type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name Emergency Move Horizon type spin default 40 min 0 max 50
option name Emergency Base Time type spin default 200 min 0 max 60000
option name Emergency Move Time type spin default 70 min 0 max 5000
option name Minimum Thinking Time type spin default 20 min 0 max 5000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
uciok
setoption name MultiPV value 3
position fen 1k1r4/2p3pp/p2NQp2/N3p3/8/4B2P/5PP1/1q4K1 w - - 0 40
go depth 16
info depth 1
info depth 1 seldepth 1 multipv 1 score cp 290 time 642 nodes 134 nps 208 pv g1h2
info depth 2
info depth 2 seldepth 10 multipv 1 score cp 290 time 642 nodes 287 nps 447 pv g1h2 c7d6 a5c6 b8c7 c6d8 c7d8 e6d6 d8c8 d6a6 c8d7
info depth 2 seldepth 1 multipv 2 score cp -626 time 642 nodes 287 nps 447 pv e3c1
info depth 2 seldepth 10 multipv 1 score cp 290 time 642 nodes 456 nps 710 pv g1h2 c7d6 a5c6 b8c7 c6d8 c7d8 e6d6 d8c8 d6a6 c8d7
info depth 2 seldepth 6 multipv 2 score cp -642 time 642 nodes 456 nps 710 pv e3c1 b1c1 g1h2 c1f4 h2g1 d8d6
info depth 3
Segmentation fault
-
- Posts: 24
- Joined: Sun Mar 21, 2010 10:48 pm
- Location: Sofia, Bulgaria
Re: Stockfish 2.0: small trap in MPV mode (reproducible)
The Stockfish team is aware of that, and v2.0.1 will contain the fix. In the meantime, here is a patch by me which fixes this crash, for those of you doing their own compiles:
https://bitbucket.org/chessbomb/stockfi ... 8d65ee8add
https://bitbucket.org/chessbomb/stockfi ... 8d65ee8add
-
- Posts: 2016
- Joined: Sun Feb 17, 2008 4:19 pm
Re: Stockfish 2.0: small trap in MPV mode (reproducible)
Peter what is the bench command for Stockfish in Windows 7?
thanks
kburcham
thanks
kburcham
-
- Posts: 1833
- Joined: Thu Jun 22, 2006 12:07 am
Re: Stockfish 2.0: small trap in MPV mode (reproducible)
bench <hash> <threads> <depth>kgburcham wrote:Peter what is the bench command for Stockfish in Windows 7?
thanks
kburcham
For example:
stockfish-20-64-ja.exe bench 128 1 20
-
- Posts: 2016
- Joined: Sun Feb 17, 2008 4:19 pm
Re: Stockfish 2.0: small trap in MPV mode (reproducible)
I tried that.
I am doing something wrong. wont work
I am doing something wrong. wont work
-
- Posts: 101
- Joined: Fri Jun 09, 2006 4:58 am
Re: Stockfish 2.0: small trap in MPV mode (reproducible)
You can only run it in Windows command prompt window. Not it the UCI window.kgburcham wrote:I tried that.
I am doing something wrong. wont work