WB 4.41 bug with missing time info

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

Moderators: hgm, Andres Valverde

WB 4.41 bug with missing time info

Postby Guenther Simon » 06 Nov 2009, 18:51

Hello HG,

I noticed that with the lastest WB 4.41 the time infos for both players is missing
for the last move before the cut at least in my time controls of 40 moves/x minutes.
(so it is missing in moves 40/80/120 and so on for both...)
If you need an example or debug I have all here.

Guenther
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: WB 4.41 bug with missing time info

Postby H.G.Muller » 06 Nov 2009, 22:48

Weird. I know we had such a problem before, but that was solved long ago. I just tried 10 moves / 30 sec, (to have more critical moves) and then the times are all there (see below). If the time is 0, I do not save it, however. Could what you see be caused by the engines happened to move very fast on the last move, because they both had lousy timemanagement?

Code: Select all
[Event "Computer Chess Game"]
[Site "CHESS_LAPTOP"]
[Date "2009.11.06"]
[Round "-"]
[White "Fairy-Max 4.8L"]
[Black "Fairy-Max 4.8L"]
[Result "1-0"]
[TimeControl "10/30"]
[Annotator "1. +0.27   1... +0.17"]

1. Nf3 {+0.27/7 4} c5 {+0.17/7 4} 2. d4 {+0.12/6 2.0} f5 {+0.03/6 2.2} 3.
c3 {+0.26/6 1.9} Na6 {-0.01/6 1.1} 4. Bf4 {+0.07/6 2.2} Nf6 {+0.06/6 1.7}
5. Nbd2 {+0.02/6 1.7} Nh5 {+0.31/7 1.1} 6. Bg3 {-0.42/7 1.0} Nxg3
{+0.36/7 4} 7. hxg3 {-0.29/7 2.3} g6 {+0.45/7 8} 8. e3 {-0.37/6 3} b6
{+0.37/5 1.3} 9. Bc4 {-0.09/6 0.9} cxd4 {+0.17/5 0.6} 10. Ne5 {+0.86/6} e6
{-0.84/7} 11. Nxg6 {+0.61/8 6} Rg8 {-0.82/8 3} 12. Nxf8 {+0.82/7 1.5} dxe3
{-0.94/8 4} 13. Nxh7 {+0.88/7 2.0} exd2+ {-1.03/8 4} 14. Qxd2 {+0.93/7 2.5}
d5 {-1.02/7 3} 15. Bb5+ {+1.05/6 1.9} Ke7 {-1.13/7 5} 16. Ng5 {+0.99/7 4}
Rh8 {-0.89/7 1.3} 17. O-O-O {+1.04/7 2.4} Qg8 {-0.79/6 1.5} 18. Rxh8
{+1.43/8 1.5} Qxh8 {-1.47/8 0.8} 19. Nxe6 {+1.47/8 2.6} Bxe6 {-1.54/8 1.3}
20. Qg5+ {+1.66/8} Qf6 {-1.70/9} 21. Qxf6+ {+1.70/10 1.6} Kxf6
{-1.55/10 13} 22. Bxa6 {+1.56/10 28} Rh8 {-1.66/9 17} 23. Kc2 {+1.60/6 0.7}
Rh2 {-1.60/6 0.4} 24. Rg1 {+1.63/7 1.0} Kg5 {-1.64/6 0.5} 25. a3
{+1.70/7 1.3} f4 {-1.59/7 0.7} 26. gxf4+ {+1.77/8 1.2} Kxf4 {-1.70/7 0.4}
27. a4 {+1.76/7 0.8} Bf5+ {-1.67/6 0.4} 28. Bd3 {+1.66/8 1.1} Be4
{-1.52/7 0.5} 29. Bxe4 {+1.56/9 1.5} dxe4 {-1.54/8 0.6} 30. Kd2 {+1.56/9}
a6 {-1.55/8} 31. b3 {+1.63/9 1.5} b5 {-1.56/10 2.5} 32. Ke2 {+1.61/10 1.9}
bxa4 {-1.63/10 1.8} 33. g3+ {+1.61/11 2.4} Kg4 {-1.54/11 1.9} 34. bxa4
{+1.50/11 2.7} Rh5 {-1.53/10 1.3} 35. c4 {+1.53/10 1.4} Ra5 {-1.52/10 2.0}
36. Ra1 {+1.52/10 1.3} Rc5 {-1.54/11 1.6} 37. Rc1 {+1.60/11 3} Kf5
{-1.56/10 1.3} 38. Ke3 {+1.64/11 4} Ke5 {-1.61/10 1.8} 39. Rc2
{+1.63/11 1.9} Kf5 {-1.63/11 2.1} 40. Kd4 {+2.06/11} Rc7 {-2.04/11} 41. c5
{+2.03/11 2.2} Rd7+ {-2.01/11 2.4} 42. Kc4 {+2.00/11 2.3} Rc7 {-2.04/11 4}
43. Rb2 {+2.04/10 2.7} Rc8 {-2.09/10 2.3} 44. a5 {+2.21/10 2.5} Rc7
{-2.20/10 2.1} 45. Rb6 {+2.20/10 2.2} Rd7 {-2.23/10 2.6} 46. Rxa6
{+2.23/10 2.4} Rd2 {-2.34/11 3} 47. Ra8 {+2.81/11 2.7} Rc2+ {-2.80/11 3}
48. Kd4 {+2.91/11 3} Rd2+ {-2.93/12 3} 49. Kc3 {+2.93/12 2.6} Rd1
{-3.52/12 12} 50. a6 {+3.00/10} Rc1+ {-3.53/8} 51. Kb2 {+5.01/11 5} Rxc5
{-5.11/10 1.7} 52. a7 {+5.18/11 4} Ra5 {-5.19/11 1.5} 53. Rf8+ {+5.24/12 3}
Kg4 {-5.31/12 4} 54. a8=Q {+5.26/12 1.9} Rxa8 {-5.93/13 2.4} 55. Rxa8
{+5.96/12 1.6} Kf3 {-6.13/12 3} 56. Rf8+ {+6.19/13 6} Kg4 {-6.20/13 2.7}
57. Rf4+ {+6.20/12 2.0} Kg5 {-6.24/13 2.6} 58. Kc3 {+6.22/12 1.7} Kg6
{-6.21/13 3} 59. g4 {+6.21/12 2.7} Kg5 {-6.17/14 2.2} 60. Rxe4 {+6.78/13}
Kh4 {-6.57/13} 61. Kd4 {+7.38/13 3} Kg5 {-7.34/13 2.1} 62. Ke5
{+7.51/13 2.7} Kg6 {-13.82/14 2.7} 63. f4 {+13.80/13 2.0} Kf7
{-79.94/14 2.0} 64. Kf5 {+79.94/14 1.8} Kg7 {-79.95/18 2.3} 65. Re7+
{+79.95/18 1.9} Kf8 {-79.96/24 1.9} 66. Kf6 {+79.96/28 1.6} Kg8
{-79.97/28 0.2} 67. Kg6 {+79.97/28 0.1} Kf8 {-79.98/28 0.2} 68. Re6
{+79.98/28 0.1} Kg8 {-79.99/28 0.2} 69. Re8# {+79.99/28 0.1}
{White mates} 1-0
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: WB 4.41 bug with missing time info

Postby Guenther Simon » 07 Nov 2009, 00:20

H.G.Muller wrote:Weird. I know we had such a problem before, but that was solved long ago. I just tried 10 moves / 30 sec, (to have more critical moves) and then the times are all there (see below). If the time is 0, I do not save it, however. Could what you see be caused by the engines happened to move very fast on the last move, because they both had lousy timemanagement?

[Event "Computer Chess Game"]
[Site "CHESS_LAPTOP"]
[Date "2009.11.06"]
[Round "-"]
[White "Fairy-Max 4.8L"]
[Black "Fairy-Max 4.8L"]
[Result "1-0"]
[TimeControl "10/30"]
[Annotator "1. +0.27 1... +0.17"]

1. Nf3 {+0.27/7 4} c5 {+0.17/7 4} 2. d4 {+0.12/6 2.0} f5 {+0.03/6 2.2} 3.
c3 {+0.26/6 1.9} Na6 {-0.01/6 1.1} 4. Bf4 {+0.07/6 2.2} Nf6 {+0.06/6 1.7}
5. Nbd2 {+0.02/6 1.7} Nh5 {+0.31/7 1.1} 6. Bg3 {-0.42/7 1.0} Nxg3
{+0.36/7 4} 7. hxg3 {-0.29/7 2.3} g6 {+0.45/7 8} 8. e3 {-0.37/6 3} b6
{+0.37/5 1.3} 9. Bc4 {-0.09/6 0.9} cxd4 {+0.17/5 0.6} 10. Ne5 {+0.86/6} e6
{-0.84/7} 11. Nxg6 {+0.61/8 6} Rg8 {-0.82/8 3} 12. Nxf8 {+0.82/7 1.5} dxe3
{-0.94/8 4} 13. Nxh7 {+0.88/7 2.0} exd2+ {-1.03/8 4} 14. Qxd2 {+0.93/7 2.5}
d5 {-1.02/7 3} 15. Bb5+ {+1.05/6 1.9} Ke7 {-1.13/7 5} 16. Ng5 {+0.99/7 4}
Rh8 {-0.89/7 1.3} 17. O-O-O {+1.04/7 2.4} Qg8 {-0.79/6 1.5} 18. Rxh8
{+1.43/8 1.5} Qxh8 {-1.47/8 0.8} 19. Nxe6 {+1.47/8 2.6} Bxe6 {-1.54/8 1.3}
20. Qg5+ {+1.66/8} Qf6 {-1.70/9} 21. Qxf6+ {+1.70/10 1.6} Kxf6
{-1.55/10 13} 22. Bxa6 {+1.56/10 28} Rh8 {-1.66/9 17} 23. Kc2 {+1.60/6 0.7}
Rh2 {-1.60/6 0.4} 24. Rg1 {+1.63/7 1.0} Kg5 {-1.64/6 0.5} 25. a3
{+1.70/7 1.3} f4 {-1.59/7 0.7} 26. gxf4+ {+1.77/8 1.2} Kxf4 {-1.70/7 0.4}
27. a4 {+1.76/7 0.8} Bf5+ {-1.67/6 0.4} 28. Bd3 {+1.66/8 1.1} Be4
{-1.52/7 0.5} 29. Bxe4 {+1.56/9 1.5} dxe4 {-1.54/8 0.6} 30. Kd2 {+1.56/9}
a6 {-1.55/8} 31. b3 {+1.63/9 1.5} b5 {-1.56/10 2.5} 32. Ke2 {+1.61/10 1.9}
bxa4 {-1.63/10 1.8} 33. g3+ {+1.61/11 2.4} Kg4 {-1.54/11 1.9} 34. bxa4
{+1.50/11 2.7} Rh5 {-1.53/10 1.3} 35. c4 {+1.53/10 1.4} Ra5 {-1.52/10 2.0}
36. Ra1 {+1.52/10 1.3} Rc5 {-1.54/11 1.6} 37. Rc1 {+1.60/11 3} Kf5
{-1.56/10 1.3} 38. Ke3 {+1.64/11 4} Ke5 {-1.61/10 1.8} 39. Rc2
{+1.63/11 1.9} Kf5 {-1.63/11 2.1}
40. Kd4 {+2.06/11} Rc7 {-2.04/11} 41. c5
{+2.03/11 2.2} Rd7+ {-2.01/11 2.4} 42. Kc4 {+2.00/11 2.3} Rc7 {-2.04/11 4}
43. Rb2 {+2.04/10 2.7} Rc8 {-2.09/10 2.3} 44. a5 {+2.21/10 2.5} Rc7
{-2.20/10 2.1} 45. Rb6 {+2.20/10 2.2} Rd7 {-2.23/10 2.6} 46. Rxa6
{+2.23/10 2.4} Rd2 {-2.34/11 3} 47. Ra8 {+2.81/11 2.7} Rc2+ {-2.80/11 3}
48. Kd4 {+2.91/11 3} Rd2+ {-2.93/12 3} 49. Kc3 {+2.93/12 2.6} Rd1
{-3.52/12 12} 50. a6 {+3.00/10} Rc1+ {-3.53/8} 51. Kb2 {+5.01/11 5} Rxc5
{-5.11/10 1.7} 52. a7 {+5.18/11 4} Ra5 {-5.19/11 1.5} 53. Rf8+ {+5.24/12 3}
Kg4 {-5.31/12 4} 54. a8=Q {+5.26/12 1.9} Rxa8 {-5.93/13 2.4} 55. Rxa8
{+5.96/12 1.6} Kf3 {-6.13/12 3} 56. Rf8+ {+6.19/13 6} Kg4 {-6.20/13 2.7}
57. Rf4+ {+6.20/12 2.0} Kg5 {-6.24/13 2.6} 58. Kc3 {+6.22/12 1.7} Kg6
{-6.21/13 3} 59. g4 {+6.21/12 2.7} Kg5 {-6.17/14 2.2} 60. Rxe4 {+6.78/13}
Kh4 {-6.57/13} 61. Kd4 {+7.38/13 3} Kg5 {-7.34/13 2.1} 62. Ke5
{+7.51/13 2.7} Kg6 {-13.82/14 2.7} 63. f4 {+13.80/13 2.0} Kf7
{-79.94/14 2.0} 64. Kf5 {+79.94/14 1.8} Kg7 {-79.95/18 2.3} 65. Re7+
{+79.95/18 1.9} Kf8 {-79.96/24 1.9} 66. Kf6 {+79.96/28 1.6} Kg8
{-79.97/28 0.2} 67. Kg6 {+79.97/28 0.1} Kf8 {-79.98/28 0.2} 68. Re6
{+79.98/28 0.1} Kg8 {-79.99/28 0.2} 69. Re8# {+79.99/28 0.1}
{White mates} 1-0



well your own example shows the same behaviour ;-)
I only marked the 40ies, but it is in all 10th moves...
and no it happened for all games with plenty of time of course
due to my time controls.

Guenther
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: WB 4.41 bug with missing time info

Postby H.G.Muller » 12 Nov 2009, 21:47

OK, it is not that I am getting totally blind... :? I had been looking in the Comment popup window before I saved the file, because the problem occured already there last time, but there it was all OK. The bug ws in the saving, a regression cause by the wrong code getting deleted in a cleanup of conditional compiles.

The version I have now at http://home.hccnet.nl/h.g.muller/winboard.zip should fix this.
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 32 guests

cron