Summary: | Knights crashes everytime gnuchess vs Stockfish | ||
---|---|---|---|
Product: | [Applications] knights | Reporter: | 2ndemosthenes |
Component: | general | Assignee: | Alexander Semke <alexander.semke> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, kde-games-bugs, nicolas.fella |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/games/knights/commit/8ed2d95295db4d011eca6124f65571bb1db061a5 | Version Fixed In: | 21.12.1 |
Sentry Crash Report: |
Description
2ndemosthenes
2021-12-03 09:19:19 UTC
Works fine here https://i.imgur.com/G5lFJ06.gif Are you setting different options ? (In reply to Albert Astals Cid from comment #1) > Works fine here https://i.imgur.com/G5lFJ06.gif > > Are you setting different options ? No, I didn't change anything. I didn't notice it first but I tried again and it only happens when I enable "Use Time Control", when it's disabled, everything works fine (In reply to 2ndemosthenes from comment #2) > (In reply to Albert Astals Cid from comment #1) > > Works fine here https://i.imgur.com/G5lFJ06.gif > > > > Are you setting different options ? > > No, I didn't change anything. > I didn't notice it first but I tried again and it only happens when I enable > "Use Time Control", when it's disabled, everything works fine It's a "division by zero" bug. I'll fix it quickly. Thanks for reporting it! Git commit 8ed2d95295db4d011eca6124f65571bb1db061a5 by Alexander Semke. Committed on 05/12/2021 at 10:34. Pushed by asemke into branch 'release/21.12'. Avoid division by zero when calculation the number of moves to go in the UCI protocol with time control activated. FIXED-IN: 21.12.1 M +5 -3 src/proto/uciprotocol.cpp https://invent.kde.org/games/knights/commit/8ed2d95295db4d011eca6124f65571bb1db061a5 |