GNOME Bugzilla – Bug 703857
assertion failure after pressing Escape in save game alert
Last modified: 2013-07-09 13:58:13 UTC
To see the problem: 1. After at least one move has been played, press the New Game button. 2. gnome-chess will display a dialog "Save this game before starting a new one?" 3. Press Escape. gnome-chess will abort, with this on the console: ERROR:gnome-chess.c:4124:new_game_cb: assertion failed: (result == Gtk.ResponseType.NO) Aborted (core dumped)
Reproduced in 3.9.4, but fortunately not 3.8.3.
The following fix has been pushed: 0c38c0d Fix crash when new game dialog is deleted Thanks for your report!
Created attachment 248725 [details] [review] Fix crash when new game dialog is deleted
I don't think this fix is correct. With this change, Escape abandons the game. Instead, it should cancel the dialog, leaving the game intact. Reopening.
The following fix has been pushed: c05a881 Don't start new game if new game dialog is deleted That's correct; I did notice that but completely forgot to fix it. This needs fixed in gnome-3-8 as well.
Created attachment 248728 [details] [review] Don't start new game if new game dialog is deleted Fixup for the previous commit