AndyGrant / Ethereal

Ethereal, a UCI Chess Engine by Andrew Grant
GNU General Public License v3.0
343 stars 79 forks source link

Crashing/losing connection/etc #98

Closed iandoug closed 5 years ago

iandoug commented 5 years ago

Hi

Ran some mini-tournaments with 5 engines under CuteChess. Picking up some issue with Ethereal, so not sure if it's my setup, or something with CuteChess, or something with Ethereal. Don't have these issues with the other engines in the tests, but on the other hand, playing games between engines under PyChess does not produce same problems ... so I don't know.

Or maybe stockfish is somehow interfering with Ethereal?

Samples follow. Other games ended normally.

White "Ethereal"] [Black "stockfish"] [Result "0-1"] [FEN "1rbqkbr1/1nppppn1/2pppp2/8/8/2PPPP2/1NPPPPN1/1RBQKBR1 w - - 0 1"] [GameDuration "00:04:58"] [GameEndTime "2019-11-05T11:33:20.066 SAST"] [GameStartTime "2019-11-05T11:28:22.064 SAST"] [PlyCount "8"] [SetUp "1"] [Termination "time forfeit"] [TimeControl "40/240+5"]

  1. e4 {+0.07/25 17s} d5 {+0.08/27 23s} 2. d4 {+0.21/25 26s} Nd6 {-0.28/28 4.0s}
  2. e5 {+0.25/25 20s} fxe5 {0.00/25 10s} 4. dxe5 {+0.46/26 26s} Nc4 {+0.60/30 0s, White loses on time} 0-1

[White "stockfish"] [Black "Ethereal"] [Result "1-0"] [FEN "1rbqkbr1/1nppppn1/2pppp2/8/8/2PPPP2/1NPPPPN1/1RBQKBR1 w - - 0 1"] [GameDuration "00:07:02"] [GameEndTime "2019-11-05T11:40:33.065 SAST"] [GameStartTime "2019-11-05T11:33:30.068 SAST"] [PlyCount "27"] [SetUp "1"] [Termination "time forfeit"] [TimeControl "40/240+5"]

  1. d4 {+0.47/27 28s} e5 {-0.08/25 18s} 2. e4 {+0.51/27 2.0s} Ne6 {-0.19/25 8.2s}

  2. e3 {+0.29/26 0.41s} Ra8 {-0.28/25 18s} 4. Nd3 {+0.48/28 9.2s} c5 {-0.27/26 14s} 5. d5 {+0.75/22 4.1s} Ng7 {-0.35/24 22s} 6. c4 {+1.27/22 7.6s} Na5 {-0.30/23 3.2s} 7. Nb2 {+1.46/24 4.7s} e6 {-0.53/22 7.9s}

  3. Ra1 {+1.50/26 28s} c6 {-0.28/24 39s} 9. d3 {+1.76/20 4.0s} Bb7 {-0.58/23 21s}

  4. dxe6 {+1.37/24 14s} Nxe6 {-0.61/23 6.2s} 11. Bd2 {+1.56/23 0s} d5 {-0.79/24 22s} 12. Rh1 {+1.58/21 8.3s} Qb6 {-0.90/24 9.3s}

  5. Qc1 {+1.96/23 7.0s} Qd8 {-0.81/23 22s}

  6. Nh4 {+1.80/27 0s, Black loses on time} 1-0

    [White "komodo-10-linux"] [Black "Ethereal"] [Result "1-0"] [FEN "1rbqkbr1/1nppppn1/2pppp2/8/8/2PPPP2/1NPPPPN1/1RBQKBR1 w - - 0 1"] [GameDuration "00:26:01"] [GameEndTime "2019-11-05T14:54:11.068 SAST"] [GameStartTime "2019-11-05T14:28:09.071 SAST"] [PlyCount "153"] [SetUp "1"] [Termination "time forfeit"] [TimeControl "40/240+5"]

  7. d4 {+0.20/22 11s} e5 {-0.08/25 19s} 2. Rh1 {0s} d5 {0.00/24 22s}

  8. Nd3 {+0.21/24 15s} e4 {-0.05/25 21s} 4. fxe4 {+0.31/22 13s} dxe4 {-0.16/26 16s} 5. Nc5 {0s} d5 {0.00/25 12s} 6. c4 {+0.57/23 1.1s} e5 {-0.10/24 14s} 7. Nxb7 {0s} Bxb7 {-0.01/25 13s} 8. Bb2 {+0.41/22 3.4s} Qd6 {0.00/24 16s} 9. c5 {+0.81/21 12s} Qe6 {-0.61/23 7.8s}

  9. Bc3 {+0.87/22 1.9s} Qf5 {-1.23/25 33s} 11. d3 {+1.15/20 9.3s} Ne6 {-0.76/24 21s} 12. Rb4 {+1.24/19 8.9s} Ng5 {-1.13/25 17s}

  10. Qb1 {+1.42/22 15s} Qc8 {-1.15/27 2.5s} 14. Qb2 {+1.40/22 18s} f5 {-1.51/25 20s} 15. Rh5 {0.001s} Be7 {-1.97/24 20s} 16. dxe5 {0.002s} Bxc5 {-2.00/24 16s} 17. Rb3 {0.003s} Bb6 {-1.76/24 16s} 18. Nf4 {+1.75/22 12s} Ne6 {-1.51/24 5.1s} 19. Rxf5 {+1.90/21 4.5s} c5 {-1.52/23 12s}

  11. Nh5 {+1.24/19 19s} Rg1 {-1.35/22 16s} 21. Nf6+ {+0.74/21 31s} Ke7 {-0.87/22 8.6s} 22. dxe4 {+0.50/21 7.1s} Ng7 {0.00/25 11s}

  12. Rf3 {+0.40/23 3.7s} dxe4 {0.00/27 8.0s} 24. Rg3 {+0.28/22 6.1s} Rxg3 {2.5s}

  13. fxg3 {+0.28/22 5.1s} Bc6 {0.00/29 2.8s} 26. g4 {0.00/23 20s} Qh8

  14. Bg2 {+0.25/22 13s} Ne6 28. Nh5 {-0.86/21 15s} Qh6 {+2.01/26 12s}

  15. Qc1 {-0.82/23 8.9s} Rg8 {+1.69/28 9.9s} 30. Nf6 {-1.57/26 30s} Rh8

  16. Nh5 {-2.07/24 13s} Qg5 {+3.47/27 9.2s} 32. Kf1 {-2.09/26 3.1s} Qxg4 {+3.49/27 4.0s} 33. Nf6 {-2.48/27 36s} Qf5+ 34. Kg1 {-2.07/24 4.4s} Qg5 {+3.69/31 1.9s} 35. Qe1 {-2.08/26 12s} Ba7 {+4.90/28 13s}

  17. Kf1 {-3.08/22 21s} c4 {+5.33/29 10.0s} 37. Bb4+ {-2.76/23 9.9s} Kd8

  18. Ra3 {-3.06/24 10s} Nf4 {+5.50/29 1.8s} 39. Qf2 {-3.13/26 13s} Bxe3 {+5.62/31 3.4s} 40. Nh7 {-3.30/26 9.4s} Qxg2+ {+5.59/30 7.0s} 41. Qxg2 {0s} Nxg2 {+5.71/31 13s} 42. Kxg2 {0.002s} Bd2 {+5.92/31 39s} 43. Ra6 {-3.14/27 11s} Bxb4 {+5.96/30 4.8s} 44. Rxc6 {-3.22/29 11s} Rxh7 {+5.98/30 10s}

  19. Rxc4 {0.001s} Ba5 {+6.00/29 35s} 46. Rxe4 {0.002s} Ke7 {+6.01/28 11s}

  20. Kg3 {-3.43/26 10s} Ke6 {+6.13/26 18s} 48. Re3 {-3.50/27 9.9s} Bb6 {+6.29/28 36s} 49. Rd3 {0.001s} Rh5 {+6.24/27 10s} 50. c4 {-3.83/26 15s} Rh1 {+6.47/25 11s} 51. Rf3 {-3.76/24 14s} Rg1+ {+7.03/26 9.2s}

  21. Kf4 {-4.04/27 0.28s} Rc1 {+7.16/26 17s} 53. Kg3 {-4.01/26 8.8s} Rxc4 {+7.48/26 5.5s} 54. Rf6+ {-4.33/26 2.8s} Kxe5 {+7.73/25 7.8s}

  22. Rxf7 {-3.28/22 4.8s} Re4 {+7.93/25 8.6s} 56. Rf8 {-3.99/24 13s} Kd5 {+10.03/25 31s} 57. Rd8+ {-4.23/26 8.4s} Kc4 {+11.19/24 15s} 58. Rd7 {0s} Rxe2 {+11.66/27 16s} 59. Kf3 {-11.87/27 15s} Re1 {+12.37/24 15s}

  23. Kg4 {-16.58/32 2.2s} c5 {+14.38/23 11s} 61. Rb7 {-17.03/34 12s} Kb5 {+22.73/23 11s} 62. Rb8 {-250.00/33 14s} c4 {1.1s} 63. Rc8 {-250.00/31 45s} Re3 64. Ra8 {-250.00/29 11s} c3 {+34.32/21 14s} 65. Ra2 {26s} Re1

  24. Kf5 {-250.00/24 9.3s} Kb4 {+31.10/23 15s} 67. Kg6 {-250.00/26 15s} Kb3 {+M35/25 15s} 68. Ra8 {23s} c2 {+M29/23 10s} 69. Rc8 {0.001s} Be3 {+M33/20 8.7s} 70. Kf5 {-M28/20 1.00s} c1=Q {+M23/9 5.0s} 71. Rxc1 {0s} Bxc1 {+M23/18 5.0s} 72. Kg6 {0.001s} Rf1 {+M17/18 5.0s} 73. Kh5 {-M16/30 1.7s} Rg1 {3.3s} 74. Kh4 {0.002s} Kc4 {+M13/19 6.7s} 75. Kh3 {0s} Kd3 {+M11/32 5.0s}

  25. Kh2 {-M10/99 1.8s} Be3 {3.2s} 77. Kh3 {0s, Black loses on time} 1-0

[White "Ethereal"] [Black "xiphos-sse"] [Result "0-1"] [FEN "1rbqkbr1/2nppn2/1pppppp1/8/8/1PPPPPP1/2NPPN2/1RBQKB1R b - - 1 1"] [GameDuration "00:29:21"] [GameEndTime "2019-11-05T01:08:02.075 SAST"] [GameStartTime "2019-11-05T00:38:40.885 SAST"] [PlyCount "209"] [SetUp "1"] [Termination "stalled connection"] [TimeControl "40/300"]

1... Bb7 {-0.14/21 9.1s} 2. Bb2 {+0.21/20 7.9s} Bg7 {-0.21/22 12s}

  1. e4 {+0.14/20 6.7s} e5 {-0.17/22 20s} 4. Bg2 {+0.11/20 8.8s} f5 {-0.17/25 13s}
  2. Ra1 {+0.09/22 8.0s} Ne6 {-0.05/23 0.95s} 6. Bh3 {+0.32/21 7.2s} f4 {-0.20/24 12s} 7. Bxe6 {+0.39/22 6.0s} dxe6 {-0.17/23 7.1s}
  3. gxf4 {+0.41/23 0.63s} exf4 {-0.16/22 5.6s} 9. d4 {+0.58/23 3.7s} Rh8 {-0.25/23 13s} 10. Rxh8+ {+0.69/22 9.5s} Bxh8 {-0.30/25 2.7s}
  4. e3 {+0.47/24 5.8s} fxe3 {-0.14/24 1.8s} 12. Nxe3 {+0.43/23 5.6s} Ra8 {-0.15/26 0.65s} 13. Ke2 {+0.44/25 5.8s} Rxa1 {-0.16/28 5.0s}
  5. Qxa1 {+0.53/26 13s} Qa8 {-0.20/28 1.8s} 15. Qxa8+ {+0.61/26 4.5s} Bxa8 {-0.20/26 3.3s} 16. Nd3 {+0.37/26 2.9s} g5 {-0.24/27 2.9s}
  6. Nc4 {+0.35/25 7.6s} b5 {-0.14/26 9.7s} 18. Nb6 {+0.58/27 11s} Bb7 {-0.05/24 5.4s} 19. c4 {+0.58/26 1.2s} bxc4 {-0.02/28 6.7s}
  7. bxc4 {+0.44/27 0.35s} Kd8 {-0.10/28 17s} 21. Bc3 {+0.41/29 6.9s} Kc7 {-0.20/23 0.72s} 22. Na4 {+0.63/29 8.6s} Bg7 {-0.17/24 0.22s}
  8. Kf2 {+0.61/24 9.5s} Ba6 {-0.22/27 2.2s} 24. Nab2 {+0.49/26 10s} Bc8 {-0.21/27 4.2s} 25. Nd1 {+0.58/25 7.7s} Nh6 {-0.20/25 4.1s}
  9. Ba5+ {+0.62/24 11s} Kd7 {0.00/35 7.3s} 27. Bc3 {+0.63/25 0.47s} Kc7 {0.00/42 6.1s} 28. Nb4 {+0.48/26 7.8s} Bd7 {-0.32/23 6.5s}
  10. Ne3 {+0.47/25 2.5s} Kb6 {-0.23/25 7.1s} 30. Nd3 {+0.47/24 11s} Be8 {-0.25/27 9.0s} 31. Nc5 {+0.52/27 2.4s} Bf7 {-0.22/27 7.7s}
  11. Kg3 {+0.45/28 19s} Kc7 {-0.29/30 9.6s} 33. Na6+ {+0.44/25 16s} Kb6 {-0.21/26 6.8s} 34. Nb4 {+0.44/26 0.59s} Bf6 {-0.31/28 7.4s}
  12. Nd3 {+0.44/27 2.5s} Bh5 {-0.41/28 16s} 36. Nb4 {+0.44/26 14s} Bf7 {0.00/42 7.3s} 37. Nd3 {+0.53/26 8.4s} Bh5 {0.00/50 8.4s}
  13. Bb2 {+0.43/25 7.2s} Bg6 {-0.03/26 13s} 39. Ba1 {+0.40/24 5.0s} Ka5 {-0.01/25 13s} 40. Bc3+ {+0.71/25 6.9s} Ka4 {-0.23/28 6.6s}
  14. Kh2 {+0.52/24 5.5s} Kb3 {0.00/28 19s} 42. Nc1+ {+0.48/29 7.0s} Ka4 {0.00/31 9.4s} 43. Kh3 {+0.39/27 16s} Bh5 {0.00/30 15s}
  15. Kg3 {+0.29/29 23s} Bg7 {-0.06/33 46s} 45. Ne2 {+0.40/24 13s} Kb3 {0.00/31 0.58s} 46. Nc1+ {+0.40/26 11s} Ka4 {0.00/66 5.4s}
  16. Nc2 {+0.40/25 16s} Ng8 {0.00/28 9.6s} 48. Nd3 {+0.33/25 14s} Nh6 {0.00/30 2.5s} 49. Nc1 {+0.20/26 15s} Ng8 {0.00/38 5.1s}
  17. d3 {+0.22/25 3.6s} Nh6 {0.00/28 5.8s} 51. Kf2 {0.00/24 0.45s} Be8 {+0.19/25 8.8s} 52. Bd2 {0.00/27 12s} Nf7 {+0.09/27 3.5s}
  18. Ne2 {0.00/27 2.1s} Bd7 {+0.15/25 2.4s} 54. Ke1 {0.00/28 9.5s} e5 {+0.22/27 12s} 55. d5 {0.00/28 7.0s} cxd5 {+0.22/27 14s}
  19. cxd5 {0.00/28 7.9s} g4 {+0.33/25 3.9s} 57. fxg4 {0.00/30 1.5s} Bxg4 {+0.25/24 2.4s} 58. Ne3 {0.00/31 5.6s} Bh3 {+0.35/25 1.6s}
  20. Kd1 {0.00/26 7.9s} Ng5 {+0.43/27 11s} 60. Nc4 {-0.13/26 14s} Bf6 {+0.40/28 5.1s} 61. Kc2 {-0.14/26 5.2s} Kb5 {+0.43/26 2.7s}
  21. Nc3+ {-0.15/27 2.7s} Ka6 {+0.53/24 4.9s} 63. Be3 {-0.19/26 0.55s} Nf3 {+0.38/24 10s} 64. Na2 {-0.20/28 0.64s} Nd4+ {+0.52/26 3.5s}
  22. Kc3 {-0.15/27 1.2s} Bg4 {+0.42/26 5.2s} 66. Nb4+ {-0.13/28 8.5s} Kb5 {+0.37/30 2.6s} 67. Bf2 {0.00/29 2.8s} Bg5 {+0.45/26 15s}
  23. Nc2 {0.00/31 6.2s} Ne2+ {+0.51/27 3.6s} 69. Kb3 {0.00/33 3.8s} Bf3 {+0.47/24 0.30s} 70. Nb4 {0.00/29 5.1s} Nd4+ {+0.52/24 3.7s}
  24. Bxd4 {0.00/34 3.4s} Bd1+ {0.00/34 4.7s} 72. Nc2 {0.00/37 5.7s} exd4 {0.00/40 3.2s} 73. Nb2 {0.00/39 3.7s} Bxc2+ {0.00/42 4.8s}
  25. Kxc2 {0.00/39 0.25s} Kb4 {0.00/42 5.1s} 75. Nc4 {0.00/41 27s} Kb5 {0.00/53 0.002s} 76. Kb3 {0.00/40 35s} Bf6 {0.00/54 8.3s}
  26. Na3+ {+0.19/30 2.0s} Ka5 {0.00/53 7.1s} 78. Nc2 {6.5s} Kb5 {0.00/65 13s}
  27. Nb4 Bg7 {0.00/51 9.7s} 80. Nc6 {+0.34/33 1.4s} e5 {0.00/59 16s} 81. Nd8 Bf8 {0.00/55 10s} 82. Ka2 {+0.34/29 23s} Kb4 {0.00/35 9.3s}
  28. Kb2 {+0.34/28 59s} Bh6 {0.00/71 35s} 84. Ne6 {13s} Bd2 {0.00/50 6.6s}
  29. Kc2 {+0.34/22 46s} Be3 {0.00/56 16s} 86. Nf8 {21s} Kb5 {0.00/47 6.1s}
  30. Kb2 {27s} Kb4 {0.00/82 72s} 88. Kc2 {+0.34/21 3.9s} Bg5 {0.00/85 0.099s}
  31. Ne6 {+0.34/26 28s} Be3 90. Ng7 {+0.34/18 3.7s} Bg5 {0.00/63 14s}
  32. Kb2 {+0.34/18 3.7s} Bf4 {0.00/56 4.1s} 92. Kc2 {+0.34/30 3.4s} Bg5 {0.00/99 0.050s} 93. Kb2 {+0.34/31 20s} Bf4 {0.00/71 8.4s}
  33. Nf5 {+0.34/31 2.4s} Kc5 {0.00/42 5.6s} 95. Kb3 {9.8s} Bg5 {0.00/49 3.8s}
  34. Ng7 {+0.34/27 13s} Bf6 {0.00/59 4.5s} 97. Ne6+ {+0.34/33 9.8s} Kb5 {0.00/72 8.8s} 98. Nc7+ Kc5 {0.00/72 15s} 99. Ka4 Bh4 {0.00/46 2.6s}
  35. Ne8 {5.0s} Bd8 {0.00/62 26s} 101. Ng7 {+0.34/36 0.74s} Kb6 {0.00/42 2.4s}
  36. Kb4 {+0.34/32 0.67s} Be7 {0.00/63 1.8s} 103. Ne6 {+0.34/36 0.65s} Bh4 {0.00/71 2.2s} 104. Nf8 {+0.34/37 5.4s} Be7 {0.00/69 2.9s} 105. Ne6 {1.5s} Bh4 {White's connection stalls} 0-1

=========================================================

[White "Ethereal"] [Black "stockfish"] [Result "0-1"] [FEN "1rbqkbr1/2nppn2/1pppppp1/8/8/1PPPPPP1/2NPPN2/1RBQKB1R b - - 1 1"] [GameDuration "00:02:23"] [GameEndTime "2019-11-05T02:26:01.063 SAST"] [GameStartTime "2019-11-05T02:23:37.139 SAST"] [PlyCount "15"] [SetUp "1"] [Termination "stalled connection"] [TimeControl "40/300"]

1... Bg7 {-0.14/24 15s} 2. Ra1 {+0.20/21 8.4s} d5 {0.00/24 5.7s}

  1. Bb2 {+0.32/20 6.7s} Nd6 {+0.46/22 2.0s} 4. e4 {+0.06/19 7.1s} Kf7 {+0.56/23 6.9s} 5. f4 {+0.19/22 33s} Rh8 {+0.80/23 6.0s}
  2. Rxh8 {0.00/21 6.0s} Qxh8 {+1.00/24 2.7s} 7. exd5 {+0.12/22 3.2s} exd5 {+0.68/27 19s} 8. e4 {-0.10/23 8.1s} c5 {+0.71/25 0s, White's connection stalls} 0-1

=====================================================

[White "stockfish"] [Black "Ethereal"] [Result "1-0"] [FEN "1rbqkbr1/2nppn2/1pppppp1/8/8/1PPPPPP1/2NPPN2/1RBQKB1R b - - 1 1"] [GameDuration "00:07:24"] [GameEndTime "2019-11-05T02:33:31.063 SAST"] [GameStartTime "2019-11-05T02:26:06.067 SAST"] [PlyCount "32"] [SetUp "1"] [Termination "time forfeit"] [TimeControl "40/300"]

1... Bg7 {-0.24/20 15s} 2. e4 {+0.73/25 24s} Ra8 {-0.20/19 11s}

  1. Bg2 {+0.71/22 6.2s} Bb7 {-0.24/22 4.9s} 4. Bb2 {+0.49/22 14s} e5 {-0.22/24 5.8s} 5. Kf1 {+0.46/20 1.1s} Ra2 {0.00/22 7.1s}
  2. d4 {+0.77/22 4.3s} exd4 {+0.27/21 6.5s} 7. cxd4 {+0.48/22 0.50s} f5 {+0.21/19 5.4s} 8. Qc1 {+0.24/25 36s} Nb5 {+0.23/22 17s}
  3. Kg1 {+0.55/20 6.1s} e6 {+0.15/22 9.9s} 10. e3 {+0.07/23 18s} Ra8 {+0.24/23 5.1s} 11. Nb4 {+0.31/23 15s} Qe7 {+0.42/21 8.6s}
  4. Nbd3 {+0.28/23 2.2s} Rh8 {0.00/22 8.8s} 13. Rxh8+ {+0.40/20 2.1s} Bxh8 {0.00/24 7.7s} 14. Bf1 {+0.60/24 5.9s} Ng5 {0.00/23 13s}
  5. Kg2 {+0.70/23 8.4s} fxe4 {0.00/24 15s} 16. Nxe4 {+0.17/26 1.8s} Nxe4 {-0.20/23 4.9s} 17. fxe4 {+0.09/24 0s, Black loses on time} 1-0

=============================================

[White "Ethereal"] [Black "stockfish"] [Result "0-1"] [FEN "1rbqkbr1/1pnppnp1/2pppp2/8/8/2PPPP2/1PNPPNP1/1RBQKBR1 w - - 0 1"] [GameDuration "00:16:12"] [GameEndTime "2019-11-04T22:50:56.069 SAST"] [GameStartTime "2019-11-04T22:34:43.124 SAST"] [PlyCount "98"] [SetUp "1"] [Termination "time forfeit"] [TimeControl "40/300"]

  1. Rh1 {+0.29/18 8.5s} Ra8 {-0.21/25 23s} 2. e4 {+0.23/21 14s} g5 {-0.25/24 5.8s} 3. b4 {+0.52/19 9.4s} d5 {-0.08/21 5.1s}
  2. exd5 {+0.36/21 7.7s} exd5 {-0.22/25 2.3s} 5. Bb2 {+0.44/22 5.0s} e5 {-0.21/21 7.6s} 6. Ra1 {+0.41/22 14s} Rxa1 {-0.12/20 2.4s}
  3. Qxa1 {+0.30/22 3.2s} Rh8 {-0.29/25 12s} 8. Rxh8 {+0.36/23 8.3s} Nxh8 {-0.12/24 3.5s} 9. g3 {+0.37/22 5.9s} Ng6 {0.00/24 18s}
  4. e4 {+0.46/23 7.5s} d6 {-0.16/24 0s} 11. Qa7 {+0.60/32 217s} Bg7 {-0.25/32 0.001s} 12. Ne3 {+0.68/13 0s} Kf8 {-0.27/27 7.5s}
  5. Bh3 {+1.44/1 0s} Ne7 {-0.21/26 5.4s} 14. Bxc8 {+1.39/1 0s} Qxc8 {-0.31/24 6.5s} 15. Kd1 Ke8 {-0.21/25 6.9s} 16. Kc2 {+1.21/1 0s} Qa8 {-0.09/24 2.0s} 17. Qxa8+ {+2.11/1 0s} Nxa8 {0.00/27 3.9s} 18. b5 Nc7 {0.00/28 4.1s} 19. bxc6 {+1.41/1 0s} bxc6 {0.00/30 5.4s} 20. Ba3 Nb5 {+0.35/27 5.1s} 21. Bb4 {+0.94/1 0s} Kd7 {+0.19/28 8.9s}
  6. Ba5 {+0.80/1 0s} d4 {+0.19/28 4.5s} 23. Nc4 {+0.05/1 0s} f5 {+0.23/28 7.2s}
  7. Nb6+ {+0.57/1 0s} Ke6 {+0.25/27 4.5s} 25. Nc4 {+0.40/1 0s} f4 {+0.52/27 9.3s} 26. gxf4 {+0.91/1 0s} gxf4 {+0.38/28 16s} 27. Ng4 Ng6 {+0.33/28 5.8s} 28. Kd1 Bf6 {+0.50/27 9.5s} 29. Nxf6 {+0.67/1 0s} Kxf6 {+0.36/30 7.5s} 30. cxd4 Nxd4 {+0.09/35 9.2s} 31. Nxd6 Nxf3 {+0.09/36 4.9s}
  8. Ke2 {-0.20/1 0s} Nd4+ {+0.85/28 3.5s} 33. Kf2 {-1.04/1 0s} Nf8 {+0.92/32 3.9s} 34. Bd8+ {-0.07/1 0s} Ke6 {+0.94/36 7.5s} 35. Nc4 Nd7 {+0.88/38 11s} 36. Ba5 Nc5 {+0.89/38 5.4s} 37. Nb2 Ncb3 {+0.89/40 8.1s}
  9. Bb6 c5 {+0.85/36 15s} 39. Ke1 Nc6 {+0.55/37 14s} 40. Kd1 Nb4 {+0.54/37 11s}
  10. Bd8 {-0.42/31 1.6s} Nd4 {+0.54/37 7.1s} 42. Bc7 {-0.44/30 0.29s} Nb3 {+0.54/38 15s} 43. Bd8 {-0.43/32 7.3s} Nc6 {+0.54/40 0s}
  11. Bh4 {-0.43/32 10.0s} Kf7 {+0.79/34 16s} 45. Kc2 {-0.69/29 7.0s} Nbd4+ {+0.88/33 0s} 46. Kd1 {-0.74/26 5.9s} Ne6 {+0.61/35 24s}
  12. Bf2 {-0.58/29 9.3s} Kf6 {+1.03/34 13s} 48. Na4 {-0.83/31 5.2s} Nb4 {+1.07/38 5.0s} 49. Ke2 {-0.88/31 6.5s} Nd4+ {+1.07/45 0s, White loses on time} 0-1

===============================================

[White "stockfish"] [Black "Ethereal"] [Result "1-0"] [FEN "1rbqkbr1/1pnppnp1/2pppp2/8/8/2PPPP2/1PNPPNP1/1RBQKBR1 w - - 0 1"] [GameDuration "00:01:03"] [GameEndTime "2019-11-04T22:52:00.064 SAST"] [GameStartTime "2019-11-04T22:50:56.079 SAST"] [PlyCount "7"] [SetUp "1"] [Termination "stalled connection"] [TimeControl "40/300"]

  1. Rh1 {+0.74/25 11s} Ra8 {-0.26/18 8.5s} 2. b3 {+0.68/26 10s} b5 {-0.24/20 6.4s} 3. e4 {+0.90/23 6.0s} e5 {-0.20/20 7.2s}
  2. e3 {+1.00/24 0s, Black's connection stalls} 1-0

==============================================

AndyGrant commented 5 years ago

I'm going to take a guess and say the issue is not on Ethereal's end, because there are no problems at TCEC/CCC or with the 76,841,321 games played on OpenBench as of typing this. I'm not sure what to recommend to you. Based on your other engines not having issues, I would place the blame on the compile.

What OS are you running under? What compiler and what version did you use to build? What, if any, arguments did you pass to the makefile?

To remove the possibility of the other engine "interfering", you could run games of Ethereal vs Ethereal and see if a crash / timeloss is still produced.

If I had to take a guess, and its a wild one so its probably way off base -- I told you that Ethereal worked on Linux, but you could not build it, so you ran it inside WINE, which I imagine does not work, as I've made no effort to make that work since Ethereal is cross-platform.

I'm happy to try to help you work through this. I appreciate anyone who uses Ethereal.

iandoug commented 5 years ago

Hi Andy

Thanks for reply. Not running via Wine, using Linux version.

Linux trooper 4.19.44-gentoo #1 SMP Tue Jun 18 09:50:18 SAST 2019 x86_64 AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux

gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/gcc-8.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/8.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/8.3.0/python --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 8.3.0-r1 p1.1' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libmudflap --disable-libssp --disable-libmpx --disable-systemtap --enable-vtable-verify --enable-lto --without-isl --enable-default-pie --enable-default-ssp Thread model: posix gcc version 8.3.0 (Gentoo 8.3.0-r1 p1.1)

Hope that helps. Running another large test (306 games) and it did okay with the first game but not the second. Again it was Komodo. Has not played Stockfish yet. Will run H2H against itself when current test is done, which may take a while :-)

[White "Ethereal"] [Black "komodo-10-linux"] [Result "1/2-1/2"] [FEN "1rbqkbr1/1nppppn1/2pppp2/8/8/2PPPP2/1NPPPPN1/1RBQKBR1 w - - 0 1"] [GameDuration "00:13:26"] [GameEndTime "2019-11-05T19:01:27.332 SAST"] [GameStartTime "2019-11-05T18:48:01.072 SAST"] [PlyCount "105"] [SetUp "1"] [Termination "adjudication"] [TimeControl "180+5"]

[White "komodo-10-linux"] [Black "Ethereal"] [Result "1-0"] [FEN "1rbqkbr1/1nppppn1/2pppp2/8/8/2PPPP2/1NPPPPN1/1RBQKBR1 w - - 0 1"] [GameDuration "00:17:52"] [GameEndTime "2019-11-05T19:19:30.064 SAST"] [GameStartTime "2019-11-05T19:01:37.071 SAST"] [PlyCount "147"] [SetUp "1"] [Termination "stalled connection"] [TimeControl "180+5"]

Will revert later. Is there maybe a debug mode?

Thanks, Ian

AndyGrant commented 5 years ago

There is not really a "debug" mode for Ethereal, but there is a compile flag which enables a handful of asserts. You could try doing make debug, and then running from the command line ./Ethereal bench <depth> <threads> <hash>

Replace all the <XYZ> with your own options. Preferably the threads and hash values you are using in your games, and then start the depth at something small like 15. I don't think this will give us any information, but if it were to crash on the bench, that would mean something.

Last thing I can suggest is to pass the -debug flag to cutechess-cli (Not sure how to force debug logging in the GUI) and then upload that file somewhere after a crash. I'm really at a loss for advice, since I don't have anyone else reporting any issues.

Are you using Tablebases?

iandoug commented 5 years ago

Hi I did install games-board/tablebase-syzygy but I see that CuteChess option to use it was not ticked.

The test I was running eventually died due to engine List512 ... this engine was non-responsive at the start of every game, but looks like CuteChess finally got fed up with it and stopped the tournament.

The engines that gave problems are listed below. There were 18 engines in the tournament, these are the ones that ended abnormally.

I see it's a few have trouble with Ethereal, while Herman has other issues. I'm assuming that "time forfeit" means engine went away. I noticed some messages like this: Engine Ethereal(44): no response to ping (also for Herman).

Don't know if you know, but in S16 on TCEC, Stockfish died twice, both times against Allie, and the problem was traced to a 3rd-party DLL file. So possibly a 3rd-party .so file / whatever on my system is causing the issues.

Let me run a mini-test with Stockfish, Komodo, rofChade, Fire, Arminius and Ethereal using normal start position, and see how it goes. I have been testing a non-standard start position so I need to eliminate that as a cause.

komodo-10-linux Ethereal 1-0 stalled connection Ethereal Hermann_2.7.1_64 0-1 stalled connection Hermann_2.7.1_64 Ethereal 1-0 stalled connection Ethereal Fire_7.1_x64 0-1 time forfeit Fire_7.1_x64 Ethereal 1-0 time forfeit Ethereal Arminius_2017-01-01-modern_64 0-1 time forfeit Adachess laser 0-1 illegal move stockfish Ethereal 1-0 time forfeit Ethereal stockfish 0-1 time forfeit komodo-10-linux Hermann_2.7.1_64 1-0 stalled connection rofChade Ethereal 1-0 time forfeit Ethereal rofChade 0-1 time forfeit Adachess Hermann_2.7.1_64 1-0 stalled connection Hermann_2.7.1_64 Adachess 0-1 stalled connection Hermann_2.7.1_64 Fire_7.1_x64 0-1 stalled connection Fire_7.1_x64 Hermann_2.7.1_64 1-0 stalled connection gaviota-1.0-linux64 Ethereal 1-0 time forfeit Ethereal gaviota-1.0-linux64 0-1 time forfeit Adachess Ethereal 1-0 stalled connection

Cheers, Ian

AndyGrant commented 5 years ago

I have on thought, and its a silly one, but its possible that cutechess is this picky. I've made a new branch. As a part of the UCI specification, the GUI may send isready to engines. The expectation is that the engine responds with readyok. Technically, I think this command is a misnomer. Since if Ethereal is currently searching, Ethereal is NOT ready. However, In the branch I linked I tweaked Ethereal to always respond to pings. This could fix the issue.

Its also possible that there seems to be an issue with flushing the standard output. This work explain false "stalled connections", as well as "time forfeits". That would be harder to address as I do not have a machine running on your conditions, but I would expect this is not the case as I personally use Ubuntu 18 and do not have any issues.

iandoug commented 5 years ago

Hi Andy

Okay it looks like I've isolated the issue. The problems occur when I check the option in CuteChess GUI to allow "Thinking on opponent's time". So I guess that there's maybe a third-party library that some engines use and that gets tied in knots, or possibly a problem with CuteChess itself. Though I suspect it may be a library issue.

Anyway, FWIW, results of the tests, first was seven-engine round robin playing normal chess, the engines decided the opening books themselves I think. Second was a five-engine round robin using my non-standard setup, and thus no opening books.

Rank Name Elo +/- Games Score Draws 1 stockfish 191 144 12 75.0% 50.0% 2 komodo-10-linux 154 171 12 70.8% 41.7% 3 rofChade 89 165 12 62.5% 41.7% 4 Ethereal 89 132 12 62.5% 58.3% 5 Fire_7.1_x64 58 176 12 58.3% 33.3% 6 gaviota-1.0-linux64 -338 nan 12 12.5% 8.3% 7 Arminius_2017-01-01-rn_64 -417 nan 12 8.3% 0.0%

and Rank Name Elo +/- Games Score Draws 1 stockfish 255 286 8 81.3% 37.5% 2 Ethereal 137 241 8 68.8% 37.5% 3 Fire_7.1_x64 -44 216 8 43.8% 37.5% 4 komodo-10-linux -44 216 8 43.8% 37.5% 5 rofChade -338 nan 8 12.5% 0.0%

I'll post a query on the CuteChess repo and see what they think.

Thanks, Ian

AndyGrant commented 5 years ago

Well thats pondering, which might make it even more likely that the branch I suggested resolves the issue. If you don't mind, I would be interested to see if you can build the branch and see if it resolves the issue.

iandoug commented 5 years ago

Sorry, I somehow overlooked your reply from two hours ago. Hopefully my reply above will shed light in the correct direction if it is an issue. Okay will try the new branch later. Possibly Herman engine has the same issue. Will revert.

AndyGrant commented 5 years ago

Whether that resolved your issue or not, I have merged that branch with master at the same time as adding support for multiPV https://github.com/AndyGrant/Ethereal/commit/27eb02c70421870523325e5699d1625ce4ceab75 . I'm fairly sure that was the issue. Thank you for bringing this to my attention.

iandoug commented 4 years ago

Thanks, have downloaded your latest version. Here's an interesting mate for you. Who needs a free queen when you can have mate instead?.....

BTW it might be useful to add a "-v" switch to print out the version number.

[White "Ethereal 20191110"] [Black "Alaric707"] [Result "1-0"] [FEN "1rbqkbr1/1nppppn1/2pppp2/8/8/2PPPP2/1NPPPPN1/1RBQKBR1 w - - 0 1"] [GameDuration "00:12:15"] [GameEndTime "2019-11-12T22:17:05.121 SAST"] [GameStartTime "2019-11-12T22:04:50.062 SAST"] [PlyCount "85"] [SetUp "1"] [TimeControl "180+5"]

`1. e4 {+0.15/22 11s} d5 {-0.15/17 12s} 2. Ne3 {+0.25/23 18s} Rh8 {-0.12/17 15s}

  1. d4 {+0.39/23 11s} Nd6 {-0.04/16 10s} 4. d3 {+0.34/24 7.1s} Nh5 {-0.10/16 24s}
  2. Bd2 {+0.64/21 8.9s} Ra8 {0.00/16 10s} 6. c4 {+1.09/21 8.4s} dxe4 {-0.19/16 14s} 7. fxe4 {+1.02/23 8.8s} Bh6 {-0.28/16 14s}
  3. Ng2 {+1.70/23 16s} Bxd2+ {-0.10/16 14s} 9. Kxd2 {+1.40/23 16s} Ng7 {-0.18/16 10s} 10. e5 {+1.32/23 15s} Nb7 {-0.28/15 8.3s}
  4. e4 {+1.44/22 11s} Kf8 {0.00/14 8.2s} 12. Qg4 {+1.65/23 10s} d6 {+0.02/14 12s} 13. exf6 {+1.80/23 9.5s} exf6 {-0.14/16 8.0s}
  5. Ne3 {+1.85/24 7.3s} Ne8 {-0.22/16 9.1s} 15. Qf3 {+1.73/23 7.1s} e5 {-0.15/16 8.8s} 16. d5 {+1.85/24 6.6s} Bd7 {-0.35/16 19s}
  6. Rh1 {+3.63/23 13s} Rg8 {-0.56/15 7.0s} 18. Qh5 {+3.66/22 7.5s} Nc5 {-0.82/15 15s} 19. Bh3 {+3.86/22 8.1s} Bxh3 {-0.94/14 9.1s}
  7. Qxh3 {+6.10/20 10s} cxd5 {-1.20/13 7.8s} 21. Rhg1 {+7.97/22 12s} Ng7 {-2.18/14 11s} 22. cxd5 {+8.16/22 9.0s} c6 {-2.33/13 6.2s}
  8. Qh6 {+10.82/21 16s} Qa5+ {-2.59/12 6.2s} 24. Ke2 {+12.34/21 14s} cxd5 {-3.52/13 12s} 25. Nxd5 {+13.59/23 13s} Ne6 {-4.31/13 8.5s}
  9. Nc4 {+13.87/21 7.4s} Qd8 {-4.64/12 5.8s} 27. Nxf6 {+16.43/21 14s} Ra6 {-6.96/13 17s} 28. Kd2 {+18.93/20 10s} Rc6 {-8.18/13 5.3s}
  10. Ne3 {+23.00/21 14s} Rc8 {-8.48/12 5.3s} 30. Nxg8 {+24.69/18 5.4s} Qa5+ {-10.70/11 10s} 31. Kd1 {+28.26/18 5.0s} Qa2 {-12.12/12 5.5s}
  11. Rc1 {+29.75/18 5.0s} Rxc2 {-14.94/12 5.1s} 33. Rxc2 {+41.06/19 5.0s} Qb1+ {-19.92/11 5.0s} 34. Rc1 {+M27/26 5.0s} Qxd3+ {-19.92/11 5.0s}
  12. Ke1 {+M17/34 3.0s} Qa6 {-M20/11 5.0s} 36. Rxg7 {+M15/37 3.5s} Qa5+ {-M16/9 5.0s} 37. Kf1 {+M13/40 3.8s} Qb5+ {-M12/11 0.91s}
  13. Kg1 {+M11/45 3.5s} Qd7 {-M10/8 0.14s} 39. Nf6 {+M9/48 2.8s} Nxg7 {-M8/6 0.002s} 40. Qh8+ {+M7/70 2.8s} Ke7 {-M6/4 0.001s}
  14. Ned5+ {+M5/117 15s} Ke6 {-M4/4 0.001s} 42. Qh3+ {+M3/127 0.040s} Nf5 {-M2/3 0s} 43. exf5# {+M1/127 0.002s, White mates} 1-0`