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.53k stars 2.27k forks source link

Puzzles move over to next puzzle freeze #16067

Closed dersiedler92 closed 2 weeks ago

dersiedler92 commented 1 month ago

Exact URL of where the bug happened

https://lichess.org/training/mix

Steps to reproduce the bug

  1. Solve or fail a puzzle in Lichess
  2. Go over to the next puzzle by going thumbs up or down
  3. Enjoy the sudden (consistently occurring) freeze of Firefox (130.0 (64-bit), Ubuntu 24.04)
  4. Puzzle position doesn't occur as puzzle-defining move is not played (restart of Firefox is necessary)

What did you expect to happen?

The puzzle-defining move (in the screenshot: 40.c5) to be played and Firefox not freezing. (mind the error message of Firefox in the upper part of the screenshot)

Screenshot from 2024-09-16 09-34-12

What happened instead?

Firefox froze, the puzzle-defining move wasn't played.

Operating system

Ubuntu 24.04

Browser and version (or alternate access method)

Firefox 130.0

Additional information

Tried the same with Vivaldi browser, Puzzles worked just fine, but it's mildly annoying to switch to a different browser just for puzzle solving. Firefox doesn't make any problem with other parts of Lichess or in general.

ornicar commented 1 month ago

I can't reproduce it, Firefox 130 / Linux.

If you have Firefox extensions installed, try disabling them to see if one of them causes it.

dersiedler92 commented 1 month ago

No extension currently enabled. Curiously, this behavior doesn't occur when I'm logged off. I'll try to tweak settings a bit to see if that helps.

niklasf commented 1 month ago

Could this be due to #16053? To be verified after it is deployed ...

dersiedler92 commented 1 month ago

@niklasf: Indeed that seems to be the issue! If I have Stockfish 17 running at the end of the previous puzzle, jumping to the subsequent causes freezes. Good to know, that's easy to resolve (for myself at least).

Dboingue commented 1 month ago

Puzzles • lichess org - Personal - Microsoft​ Edge-2024-09-21 00_21_59

on windows 10. using CDN (since yesterday to test, if relevant),. Microsoft​ Edge-2024-09-21 00_21_59 EST. Some puzzle, also having the engine on. the 17 version. Although the freeze was limited to existing tab. not the full browser. I could go back to other lichess page, on additionally created tabs as well. I could also kill the tab that was frozen. However, I am not sure if I tried those options in previous freezes. My recollection is that the browser stopped being responsive completely. I will keep reporting.

allanjoseph98 commented 2 weeks ago

Reopening because I can still reproduce (although not reliably). It happens when quickly going to the next puzzle while sf17 is still loading.