Wrong adjudication?

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Wrong adjudication?

Postby vladstamate » 19 Aug 2009, 16:48

I saw this today. There are enough pieces on the board for Black to win on time properly, not to draw.

Regards,
Vlad

[Event "Computer Chess Game"]
[Site "VLAD-PC"]
[Date "2009.08.19"]
[Round "2"]
[White "Plisk 0.1.1"]
[Black "Plisk 0.1.2"]
[Result "1/2-1/2"]
[TimeControl "60"]
[Annotator "7. +1.58 7... +2.02"]

1. e4 e5 2. Nf3 Nf6 3. Nxe5 d6 4. Nf3 Nxe4 5. d4 d5 6. Bd3 Nc6 7. Nbd2
{+1.58/8 2.0} Bg4 {+2.02/8 2.0} 8. c3 {+1.75/8 2.0} Nxd2 {+1.89/8 1.9} 9.
Bxd2 {+2.13/8 1.9} Qf6 {+2.07/8 1.9} 10. h3 {+2.40/8 1.8} Bxf3
{+2.16/9 1.8} 11. Qxf3 {+2.18/8 1.8} Qxf3 {+2.02/10 1.8} 12. gxf3
{+2.06/10 1.7} O-O-O {+0.33/9 1.7} 13. O-O-O {+0.17/9 1.7} Bd6
{+2.01/10 1.7} 14. Bf5+ {+2.05/8 1.6} Kb8 {-0.65/10 1.6} 15. Bg5
{+1.99/9 1.5} Ne7 {+0.14/9 1.5} 16. Bd3 {+1.92/9 1.5} h6 {+2.20/9 1.5} 17.
Bd2 {+1.89/9 1.4} a6 {+2.21/9 1.4} 18. Rhg1 {+1.79/9 1.4} g6 {+2.21/9 1.4}
19. f4 {+1.77/8 1.4} Nc6 {+0.14/9 1.3} 20. h4 {+2.20/9 1.3} Ne7
{+1.86/9 1.3} 21. f5 {-0.06/9 1.3} Nxf5 {+1.91/10 1.3} 22. Bxf5
{+1.93/10 1.2} gxf5 {+0.00/11 1.2} 23. Rg7 {+0.90/10 1.2} f4 {+1.95/9 1.2}
24. Rxf7 {+1.89/9 1.1} Rdf8 {-0.08/9 1.1} 25. Rxf8+ {+1.84/8 1.1} Rxf8
{+2.23/10 1.1} 26. Rg1 {+1.03/9 1.1} Rf5 {+0.48/9 1.0} 27. Rg6
{+2.00/9 1.0} Rh5 {+2.29/9 0.6} 28. Rg4 {+2.10/10 1.0} Rf5 {+1.63/9 0.6}
29. Rg8+ {+2.08/8 1.0} Ka7 {-1.04/10 0.6} 30. Kc2 {+1.89/8 0.9} c6
{+0.35/8 0.6} 31. Rg6 {+2.02/9 0.9} Bf8 {+2.09/10 0.6} 32. a3 {+2.07/9 0.8}
h5 {+0.32/9 0.6} 33. Re6 {+1.91/10 0.8} Bg7 {+0.10/9 0.6} 34. Re7
{+1.90/10 0.8} Bf8 {+2.03/9 0.5} 35. Re1 {+1.93/9 0.8} f3 {+0.95/9 0.5} 36.
Bc1 {-0.15/8 0.8} Bd6 {+2.42/9 0.5} 37. Kd3 {+1.84/8 0.7} Bf4 {+2.55/9 0.5}
38. Be3 {+1.86/9 0.7} a5 {+2.59/9 0.5} 39. Rg1 {-0.14/10 0.7} a4
{+2.60/9 0.5} 40. Bxf4 {+1.70/9 0.7} Rxf4 {+0.32/10 0.5} 41. Rg3
{+1.41/10 0.6} Rxh4 {+3.08/10 0.5} 42. Rxf3 {-2.14/10 0.6} Rh1
{+2.52/10 0.5} 43. Rf5 {+0.21/8 0.6} h4 {+3.29/9 0.5} 44. f3 {+0.85/8 0.6}
h3 {+3.74/10 0.4} 45. Rh5 {+0.46/10 0.6} h2 {+1.45/10 0.4} 46. Kc2
{+0.57/10 0.5} b5 {+1.71/10 0.4} 47. Rh7+ {-0.04/9 0.5} Kb6 {+1.79/10 0.4}
48. f4 {+1.60/10 0.5} Ka6 {+0.66/10 0.4} 49. f5 {+1.64/10 0.5} Ka5
{+2.45/10 0.4} 50. f6 {+1.56/10 0.5} Kb6 {+1.48/8 0.4} 51. Rh5
{-0.28/8 0.4} Kc7 {+1.71/8 0.4} 52. Rh8 {+1.83/8 0.4} Kd7 {+1.64/8 0.4} 53.
f7 {+1.71/9 0.4} Rf1 {+2.53/8 0.4} 54. f8=Q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3.03/9 0.2} 82. Ra1
{-1.01/10 0.2} c4+ {+3.32/10 0.2} 83. Kc2 {-2.52/11 0.2} Kc6 {+5.15/12 0.2}
84. Ra2 {-2.30/9 0.2} Kd7 {+4.86/12 0.2} 85. Ra1 {-2.91/9 0.1} Kc6
{+4.48/11 0.2} 86. Ra2 {-2.30/9 0.1} Kd7 {+4.86/11 0.2} 87. Ra1
{-1.01/9 0.1} Ke7 {+3.03/10 0.2} 88. Re1+ {-2.43/7 0.1} Kd6 {+2.51/11 0.2}
89. Ra1 {-2.17/8 0.1} Kc7 {+4.64/10 0.2} 90. Ra2 {-2.14/9 0.1} Kd8
{+3.11/10 0.2} 91. Ra1 {-2.53/9 0.1} Kc8 {+5.11/9 0.2} 92. Ra2
{-2.06/9 0.1} Kc7 {+4.67/11 0.2} 93. Ra1 {-2.65/9 0.1} Kd6 {+5.03/11 0.2}
94. Ra2 {-2.83/8 0.1} Ke7 {+4.99/10 0.2} 95. Ra1 {-2.67/9 0.1} Kd6
{+4.48/10 0.2} 96. Ra2 {-2.91/8 0.1} Ke6 {+4.95/10 0.2} 97. Ra1
{-2.83/8 0.1} Kf7 {+4.95/8 0.1} 98. Rf1+ {-1.54/7 0.1} Kg6 {+2.95/7 0.2}
99. Rg1+ {-0.71/7 0.1} Kf6 {+2.72/8 0.2} 100. Rf1+ {-0.71/7 0.1} Ke6
{+2.86/7 0.2} 101. Re1+ {-0.68/6 0.1} Kf6 {+2.63/9 0.1} 102. Rf1+
{-0.62/7 0.1} Ke6 {+2.86/7 0.1} 103. Ra1 {-0.71/7 0.1} Kf7 {+2.86/8 0.1}
104. Rf1+ {-1.54/7 0.1} Ke7 {+2.78/7 0.1} 105. Ra1 {-0.55/6 0.1} Kd8
{+4.48/9 0.1} 106. Rh1 {-2.04/8 0.1} Rxa3 {+5.19/9 0.1} 107. Rh5
{-0.76/7 0.1} Kc7 {+5.19/7 0.1} 108. Rxd5 {-1.70/7 0.1} Kb6 {+5.17/7 0.1}
109. Rd6+ {-0.98/7 0.1} Ka5 {+2.60/8 0.1} 110. Rd7 {-0.98/6 0.1} Ra2+
{+3.41/8 0.1} 111. Kd1 {-3.15/7 0.1} a3 {+4.15/8 0.1} 112. Ra7+
{-3.07/6 0.1} Kb6 {-0.66/2 0.1} 113. Ra8 {-1.26/6 0.1} Kc6 {+3.76/7 0.1}
114. {-1.33/5 0.1}
{Black wins on time but bare king} 1/2-1/2
vladstamate
 
Posts: 29
Joined: 28 Jun 2009, 23:10

Re: Wrong adjudication?

Postby vladstamate » 19 Aug 2009, 17:20

I forgot to say I am using 4.3.15m (Winboard_F).

Regards,
Vlad.
vladstamate
 
Posts: 29
Joined: 28 Jun 2009, 23:10

Re: Wrong adjudication?

Postby Teemu Pudas » 19 Aug 2009, 18:07

vladstamate wrote:114. {-1.33/5 0.1}

Is that legal PGN? Aquarium doesn't accept it, at least.
Teemu Pudas
 
Posts: 124
Joined: 16 Apr 2007, 14:03

Re: Wrong adjudication?

Postby H.G.Muller » 19 Aug 2009, 18:44

guess this is the same problem as was reported here:

viewtopic.php?f=19&t=50113&p=189784&hilit=bare+king#p189784

The explanation I conjectured was that it must have been a timing problem, the clock timing out while winboard had incremented the move number, but was still busy copying the board. So the test would be performed on an incomplete board.

fixed the order of the coping+movg and the increment of the move number now, but i haven't done any releases since then. We decided to merge 4.3.16 with 4.2.pre8 before it was finished, to make 4.4.0. And the release of 4.4.0 goes much slower than I had expected. Partly because we wait for much more beta testing then I was used to, partly because we want to provide an installer with it which is not yet finished.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Wrong adjudication?

Postby vladstamate » 19 Aug 2009, 18:57

I understand. I did look a bit before posting to search for a similar bug but nothing jumped at me. I guess I should have looked more. Thank you for the update HGM.

Regards,
Vlad.
vladstamate
 
Posts: 29
Joined: 28 Jun 2009, 23:10

Re: Wrong adjudication?

Postby H.G.Muller » 19 Aug 2009, 19:04

Teemu Pudas wrote:
vladstamate wrote:114. {-1.33/5 0.1}

Is that legal PGN? Aquarium doesn't accept it, at least.


I guess not, and it is in fact further evidence that my conjecture is correct (so thanks for pointing it out!):

Winboard 4.3.15 first increments ints internal ply counter, then starts copying the board before the move to the next board, and then performs the move on that new board and adds it to the move list. It was hit by the clock interrupt after doing the increment, so that there was an uninitialized board (causing the bare King judgement) and an uninitialized move (causing the PGN problem) at the end of the game. The PV info which goes into the comment was already there, as the engine does sent it even before it moves.

This should be fixed already in my current unreleased source (and very rare ayway).
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Wrong adjudication?

Postby H.G.Muller » 19 Aug 2009, 19:05

vladstamate wrote:I understand. I did look a bit before posting to search for a similar bug but nothing jumped at me. I guess I should have looked more. Thank you for the update HGM.

Regards,
Vlad.

Well, I had nearly forgotten about it myself (because it was fixed), and had in fact a very hard time finding the post back to read my own explanation! :D
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 6 guests