Steven Atkinson
Joined: 13 Oct 2010
Posts: 447
Location: Australia

PostPosted: Thu May 30, 2013 8:46 am Post subject: Stockfish bug

This seems a bug on my linux 64 bit system. Current git and Stockfish 3 erroneously gives a score of 0 at the end pos of this game (A curtailed game from Naka vs Topalov).
If you merely set fen to the position, there is no problem.

[pgnend][Event "Makedonia Palace GP"]
[Site "Thessaloniki GRE"]
[Date "2013.05.29"]
[Round "7"]
[White "Nakamura, Hi"]
[Black "Topalov, V."]
[Result "1-0"]
[WhiteElo "2775"]
[BlackElo "2793"]
[ECO "B92"]
[EventDate "2013.05.22"]
[PlyCount "147"]

1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6 6.Be2 e5 7.Nb3 Be7 8.O-O
O-O 9.Be3 Be6 10.Qd3 Nbd7 11.Nd5 Bxd5 12.exd5 Nc5 13.Nxc5 dxc5 14.Bf3 Qc7
15.c4 g6 16.Rae1 h5 17.Bg5 Ne8 18.Bxe7 Qxe7 19.Qe3 Nd6 20.b3 Rfc8 21.Qxe5
Qxe5 22.Rxe5 Re8 23.Rxe8+ Rxe8 24.Rc1 a5 25.Kf1 Kg7 26.h4 b6 27.g3 Kf6 28.
Be2 Re7 29.Rc3 Re8 30.Ke1 Ra8 31.Bd1 Re8+ 32.Kf1 Ke5 33.Bc2 Kf6 34.f3 Re7
35.Kf2 Re8 36.Re3 Rxe3 37.Kxe3 Kg7 38.Kf4 f6 39.g4 a4 40.Bd3 axb3 41.axb3
Kh6 42.g5+ Kg7 43.gxf6+ Kxf6 44.Ke3 g5 45.hxg5+ Kxg5 46.f4+ Kh6 47.Kf3 Kg7
48.Kg3 Kh6 49.Kh4 Ne8 50.f5 Nd6 51.f6 Nf7 52.Be2 Nd6 53.Bxh5 b5 54.cxb5
Nxb5 55.Be2 Nd4 56.Bh5 1-0[/pgnend]

Its draw or not ?

[fen]8/8/5P1k/2pP3B/3n3K/1P6/8/8 b - - 0 56[/fen]