Help - illegal move

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

User avatar
Werner
Posts: 2864
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Help - illegal move

Post by Werner »

This is the game:
[Event "Wbnimzo"]
[Site "AGANDO_HP_PC"]
[Date "2012.09.28"]
[Round "7"]
[White "WbNimzo 2000b"]
[Black "NanoSzachy 4.0 x64"]
[Result "1-0"]
[BlackElo "2200"]
[ECO "E90"]
[Opening "Klassisches System (Königsindische Verteidigung)"]
[Time "13:39:46"]
[Variation "5.Nf3 O-O 6.h3 c5 7.d5 e6 8.Bd3 Na6 9.O-O"]
[WhiteElo "2200"]
[TimeControl "40/480:40/480:40/480"]
[Termination "rules infraction"]
[PlyCount "129"]
[WhiteType "program"]
[BlackType "program"]

1. e4 d6 2. d4 Nf6 3. Nc3 g6 4. f4 Bg7 5. Nf3 O-O 6. Bd3 Na6 7. O-O c5 8.
d5 Bg4 9. Bxa6 {-0.15/11 10} bxa6 {+0.06/12 8} 10. Rb1 {+0.11/11 15} Nh5
{+0.18/13 21} 11. Qd3 {+0.13/11 17} Rb8 {+0.12/14 31} 12. Be3 {+0.19/11 31}
Bxf3 {+0.21/14 20} 13. Rxf3 {-0.02/12 11} Qa5 {+0.08/14 21} 14. Bd2
{+0.15/11 5} Bd4+ {+0.03/13 22} 15. Kh1 {+0.39/12 15} Nf6 {-0.07/14 20} 16.
a3 {+0.93/12 10} Rfc8 {-0.27/14 23} 17. Ne2 {+1.09/12 7} Qb5 {-0.46/16 26}
18. c4 {+1.17/13 8} Qb6 {-0.41/13 4} 19. b3 {+1.11/12 12} Rc7 {-0.53/14 11}
20. Nxd4 {+1.55/12 5} cxd4 {-0.94/13 4} 21. e5 {+1.43/12 10} dxe5 {-1.00/15
18} 22. fxe5 {+1.98/12 6} Nd7 {-1.48/14 10} 23. Re1 {+2.38/12 12} e6
{-1.43/14 17} 24. d6 {+2.24/12 11} Rcc8 {-1.94/16 38} 25. Qe4 {+2.95/11 5}
Rc5 {-2.04/13 9} 26. Qf4 {+2.89/12 18} Rf8 {-2.69/14 9} 27. Bb4 {+3.15/12
7} f6 {-2.74/16 16} 28. Bxc5 {+3.72/13 11} Qxc5 {-2.68/14 4} 29. Qg4
{+3.83/12 7} f5 {-2.41/14 3} 30. Qf4 {+3.88/13 19} Rf7 {-3.15/15 15} 31.
Rd3 {+4.28/13 11} Qxa3 {-3.04/16 10} 32. Qxd4 {+3.91/12 5} Nc5 {-2.92/16
18} 33. Ra1 {+4.19/11 7} Qb4 {-2.91/15 5} 34. Rf3 {+4.13/11 14} Qb6
{-2.93/16 17} 35. Qf2 {+4.16/11 9} Rb7 {-2.92/14 9} 36. Qe1 {+4.01/11 24}
Ne4 {-2.93/15 12} 37. Qe3 {+4.06/10 8} Nc5 {-2.94/15 13} 38. Qf2 {+4.05/10
7} a5 {-2.87/13 8} 39. Qd4 {+3.84/10 8} g5 {-2.82/13 10} 40. Rc3 {+3.75/10
11} h6 {-2.73/12 6} 41. Rac1 {+3.54/12 58} Kg7 {-2.66/14 16} 42. Rd1
{+3.53/12 72} Qc6 {-2.67/13 10} 43. Rf3 {+3.58/12 56} Kh7 {-2.70/14 36} 44.
Qd2 {+3.66/12 43} Qb6 {-2.80/14 22} 45. Re3 {+3.62/12 45} Rb8 {-2.76/13 22}
46. Qe2 {+3.56/12 44} Kg6 {-2.75/13 9} 47. Rh3 {+3.45/12 37} g4 {-2.79/13
5} 48. Rc3 {+3.37/13 94} Qb4 {-2.76/14 9} 49. Qc2 {+3.69/10 2} Kg7
{-2.75/13 11} 50. Re3 {+3.69/10 3} Qb6 {-2.90/14 17} 51. Qc3 {+3.51/9 2}
Rb7 {-2.82/13 12} 52. Qd4 {+3.78/10 3} Kg6 {-2.94/14 14} 53. h3 {+3.71/10
2} h5 {-2.86/14 17} 54. Qd2 {+3.73/9 3} Qd8 {-2.66/13 13} 55. Rb1 {+3.60/10
5} Qb6 {-2.67/12 8} 56. Qe1 {+3.76/9 4} Qd8 {-2.69/13 10} 57. Qc3 {+3.70/9
2} a4 {-2.70/13 9} 58. b4 {+3.58/11 4} Qg5 {-2.69/13 15} 59. Kg1 {+3.76/10
3} Rb8 {-2.76/12 9} 60. b5 {+3.89/10 3} f4 {-2.80/13 9} 61. Ree1 {+3.82/11
3} gxh3 {-2.89/13 11} 62. Qxh3 {+3.65/10 2} Rf8 {-2.92/14 16} 63. Qc3
{+3.79/10 3} Nd7 {-3.07/12 10} 64. c5 {+4.76/10 3} Kg7 {-4.02/12 8} 65. c6
{+5.66/10 4 Arena Entscheidung. Illegaler Zug!} 1-0

And here the output I found in Arena 3.0 (F4):
2012-09-28 14:08:42,373<--1:move c5c6
2012-09-28 14:08:42,373*1*Zug gefunden:c5-c6
2012-09-28 14:08:42,514<--1:1 -848 0 0 a7a6
2012-09-28 14:08:42,514<--1:1 -273 0 0 f4f3
2012-09-28 14:08:42,514<--1:1 -480 0 0 f4f3
2012-09-28 14:08:42,529<--1:3 -452 0 0 f4f3
2012-09-28 14:08:42,529<--1:3 -467 0 0 f4f3 b1b2 d7b6
2012-09-28 14:08:42,529<--1:5 -512 0 0 f4f3
2012-09-28 14:08:42,529<--1:5 -513 0 0 f4f3 b1b2 d7b6 c6c7 g5g3
2012-09-28 14:08:42,529*2*Start calc, move no: 129
2012-09-28 14:08:42,529<--1:6 -488 0 0 f4f3
2012-09-28 14:08:42,529<--1:6 -473 0 0 f4f3 b1b2 d7b6 c3a5 f8a8 b2d2
2012-09-28 14:08:42,529<--1:7 -518 0 0 f4f3
2012-09-28 14:08:42,529<--1:7 -518 0 0 f4f3 b1b2 g5g3 b2f2
2012-09-28 14:08:42,545<--1:8 -563 0 0 f4f3
2012-09-28 14:08:42,545<--1:8 -563 0 0 f4f3 b1b2 d7b6 c3e3
2012-09-28 14:08:42,685<--1:8 -562 0 0 d7b6
2012-09-28 14:08:42,795-->2:time 15823
2012-09-28 14:08:42,795-->2:otim 7459
2012-09-28 14:08:42,795-->2:c5c6
2012-09-28 14:08:42,826<--2:1 -300 0 54 (1/4 37/37) f8c8
2012-09-28 14:08:42,826<--2:2 -334 0 184 (2/5 37/37) f8c8 b1a1
2012-09-28 14:08:42,826<--2:3 -360 0 605 (3/8 37/37) f8c8 b1a1 d7b6
2012-09-28 14:08:42,826<--2:4 -390 0 3126 (4/13 37/37) f8c8 c3h3 d7c5 d6d7
2012-09-28 14:08:42,826<--2:5 -361 0 13064 (5/13 37/37) f4f3 b1b2 d7b6 c6c7 g5g3
2012-09-28 14:08:42,826<--2:6 -395 0 23385 (6/16 37/37) f4f3 b1b2 g5g3 b2f2 d7b8 d6d7
2012-09-28 14:08:42,873<--2:7 -391 4 129590 (7/18 37/37) d7b6 b1b2 g7g8 c3h3 g5g6 b2b4 f4f3
2012-09-28 14:08:42,919<--2:8 -406 9 276115 (8/18 37/37) d7b6 b1b2 g7f7 b2f2
2012-09-28 14:08:43,169<--1:8 -562 100 0 d7b6 d6d7 f4f3 b1b2 g5e5
2012-09-28 14:08:43,216<--2:9 -425 39 923755 (9/23 37/37) d7b6 c3h3 g5g6 d6d7 f4f3
2012-09-28 14:08:43,653<--2:10 -447 82 2067235 (10/25 37/37) f4f3 b1b2
2012-09-28 14:08:43,840<--1:9 -578 200 0 d7b6 d6d7 f4f3 b1b2 g5g3 b2f2 b6d5 c6c7 d5c3 d7d8 f8d8
2012-09-28 14:08:43,933<--2:11 -456 110 2824566 (11/25 01/37) f4f3 b1b2 d7b6 b2f2 b6d5 c3a3 g5g3 d6d7 g3h4 e1f1
2012-09-28 14:08:44,011<--2:11 -455 118 3026405 (11/25 02/37) d7b6
2012-09-28 14:08:44,374<--2:11 -451 154 3877991 (11/25 02/37) d7b6 c3h3 b6c4 h3e6 f4f3 e6e7 g5e7 d6e7 f3f2 g1h2
2012-09-28 14:08:44,467<--1:move d7b6
2012-09-28 14:08:44,467*moveerror*engine's side not to move !...!
2012-09-28 14:08:44,467*1*---------> Arena:Illegaler Zug!: "d7b6 " ()
2012-09-28 14:08:44,467********Partie zuende: 1-0 {1-0 Arena Entscheidung. Illegaler Zug!}
2012-09-28 14:08:44,467********Letzte Partie gewann WbNimzo 2000b mit Weiss in 65 Zügen
2012-09-28 14:08:44,467********WbNimzo 2000b - NanoSzachy 4.0 x64:
2012-09-28 14:08:44,467******** 7 W 1 1,5:0,5 5,5:1,5 14:08:44 +5.66 65 11,121 :13,750 5-1-1
2012-09-28 14:08:44,483********Speichere Datei D:\Programme\Arena 3.0\Tournaments\Wbnimzo.pgn

What happened? Which engine caused the error? Can it be seen?

Werner
mar
Posts: 2552
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Help - illegal move

Post by mar »

It seems that Nimzo played d7b6 instead of Nano (in case engine 1 is Nimzo) and Arena adjudicated the game to Nimzo instead of Nano :)
The only thing that is clear is that Nano did nothing wrong.
Can be a problem with either Nimzo or Arena.
I would probably replay/exclude this game.
User avatar
Werner
Posts: 2864
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Help - illegal move

Post by Werner »

Thanks Martin,
the problem is: I have around 10% of such results in the match. It happens randomly.
Seems to be a good trick to win a lot of games :wink:

Werner
Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: Help - illegal move

Post by Sven »

mar wrote:It seems that Nimzo played d7b6 instead of Nano (in case engine 1 is Nimzo) and Arena adjudicated the game to Nimzo instead of Nano :)
The only thing that is clear is that Nano did nothing wrong.
Can be a problem with either Nimzo or Arena.
I would probably replay/exclude this game.
Looks like a combination of a ponder bug in Nimzo and an Arena bug where an illegal move is adjudicated against the side to move even if it was the opponent who sent a move (while pondering).

But the root cause is probably Nimzo here. It should never send "move XXXX" while pondering.

Sven
User avatar
Werner
Posts: 2864
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Help - illegal move

Post by Werner »

Thanks Sven,
... I play ponder = off.
Perhaps another "veteran" remember that wbnimzo2000b has had such a bug?

Werner
tpetzke
Posts: 686
Joined: Thu Mar 03, 2011 4:57 pm
Location: Germany

Re: Help - illegal move

Post by tpetzke »

Hi Werner,

from the protocol it doesn't look like ponder is off

Code: Select all

2012-09-28 14&#58;08&#58;43,169<--1&#58;8 -562 100 0 d7b6 d6d7 f4f3 b1b2 g5e5
2012-09-28 14&#58;08&#58;43,216<--2&#58;9 -425 39 923755 &#40;9/23 37/37&#41; d7b6 c3h3 g5g6 d6d7 f4f3 
Both engines output search information at the same time.

Thomas...