Mk-Chan / WyldChess

A UCI/Xboard compatible chess engine in C
GNU General Public License v3.0
6 stars 0 forks source link

Rare Crash of Wyldchess 1.5 #46

Open olithink opened 4 years ago

olithink commented 4 years ago

This one hurts: Wyldchess 1.5 crashed after having played over 100.000s games altogether. (Same happened to Murka3 64 once, btw). So it's a very very rare bug. I hope you can fix this.

[code] Terminating process of engine WyldChess(34266) Finished game 18982 (WyldChess vs OliThink 5.9.1): 0-1 {White's connection stalls} [/code]

[Event "?"] [Site "?"] [Date "2020.11.15"] [Round "678"] [White "WyldChess"] [Black "OliThink 5.9.1"] [Result "0-1"]

`1. Nf3 d6 2. a3 c6 3. c4 Nf6 4. Nc3 e5 5. e4 c5 6. Be2 Nc6 7. d3 Be7 8. O-O Nd4

  1. b4 O-O 10. bxc5 Nxf3+ 11. Bxf3 dxc5 12. Rb1 b6 13. Re1 Bd7 14. Nd5 Nxd5
  2. exd5 Bd6 16. Qd2 f6 17. Bb2 Kh8 18. Qe2 b5 19. cxb5 Qa5 20. Be4 Rae8 21. a4 f5 22. Bf3 Qxa4 23. Bc3 Rb8 24. Ra1 Qxb5 25. Rxa7 Ra8 26. Rea1 Rxa7 27. Rxa7 Rd8
  3. Qd1 Qb8 29. Qa1 Bb5 30. Be2 Be8 31. f4 c4 32. Kh1 Bc5 33. Ra2 Bd4 34. Bxd4 exd4 35. dxc4 Qxf4 36. Bd3 g6 37. Qf1 Qg5 38. Ra7 Qe3 39. Rb7 h5 40. Ra7 Qd2
  4. Re7 Kg8 42. c5 Bf7 43. d6 Qc3 44. Rc7 Be6 45. Bb5 Ra8 46. Re7 Ra1 47. Rxe6 d3 48. Bxd3 Rxf1+ 49. Bxf1 Qc1 50. Kg1 Qxc5+ 51. Kh1 Qc1 52. Kg1 Kf7 53. d7 Qd2
  5. Re1 Qxd7 55. Kh1 Qd5 56. h3 Kf6 57. Rc1 Qd2 58. Ra1 Kg5 59. Rb1 Kh4 60. Ba6 g5 61. Bb5 f4 62. Rg1 Kg3 63. Bc6 g4 64. Rf1 Qe2 65. Kg1 Qe6 66. Bf3 Qb6+
  6. Kh1 Qa6 68. Kg1 gxh3 0-1`
Mk-Chan commented 4 years ago

Well this should be fun to debug :x

olithink commented 4 years ago

I have some more information. I repeated a 40.000 games series with Wyldchess and OliThink and couldn't reproduce a crash. But Wyldchess ran out of time once. Cutechess-Cli can be tricky when an engine runs out of time and doesn't reply immediately. I think Wyldchess ran out of time in that game in my former post. grep "on time" nohup.out Finished game 12428 (OliThink 5.8.0 vs WyldChess): 1-0 {Black loses on time}

Mk-Chan commented 4 years ago

What was the time control like? Any non-default UCI options you used?

olithink commented 4 years ago

Time Control was 40/12 (12 seconds for 40 moves). Standard UCI Option, Tourneymanager Cutechess-cli

Mk-Chan commented 4 years ago

Was it Windows or Linux? I guess that's the only question left