https://bugs.kde.org/show_bug.cgi?id=475941
Albert Astals Cid <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/game | |s/ksirk/-/commit/a20ce299da | |79d56ff34816fa88ea1e115caf7 | |bd9 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Albert Astals Cid <[email protected]> --- Git commit a20ce299da79d56ff34816fa88ea1e115caf7bd9 by Albert Astals Cid, on behalf of Nemanja Hiršl. Committed on 21/10/2026 at 07:59. Pushed by aacid into branch 'master'. Fix crash and freeze when an AI player is deleted AIPlayer's destructor killed the running AI thread with QThread::terminate(). Players are deleted on quit, on new game and when a player is eliminated. Killed during an allocation the thread corrupts the heap; killed while holding a lock it freezes the game. Stop the thread with requestInterruption() and wait for it instead, keeping terminate() only as a fallback. M +3 -0 ksirk/GameLogic/aiColsonPlayer.cpp M +12 -7 ksirk/GameLogic/aiplayer.cpp M +1 -4 ksirk/GameLogic/aiplayer.h https://invent.kde.org/games/ksirk/-/commit/a20ce299da79d56ff34816fa88ea1e115caf7bd9 -- You are receiving this mail because: You are watching all bug changes.
