lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.77k stars 2.28k forks source link

Stockfish 10 evaluation fails to load, spins endlessly, after puzzle is solved and user goes back a few moves #5674

Closed BradleyPelton closed 5 years ago

BradleyPelton commented 5 years ago

After completing the daily puzzle (id = 32255), I went back to move 11.rhg1 and the stockfish evaluation never loaded. After 10 minutes, it is still loading.

Reproducible: Unknown at this time. This happened to me last week during my first attempt to solve the puzzle, but any attempt to reproduce always fails

Pic of bug: image

Gif of bug: https://gyazo.com/f760afe66f7e57cd191aa3d16c594e55

niklasf commented 5 years ago

Thanks for reporting. This issue should automatically go away in December or January, whenever PNaCl support ends.

The problem is that PNaCl is currently in a limbo where it's hard to reliably detect support.

Instead, a variable in local storage is used to remember that the engine did not load. When reloading the page it should chose a different method and start working. And the variable lives for about 1 week, which explains why you can reproduce it only at intervals.