GNOME Bugzilla – Bug 703335
gnome-sudoku crashes when attempt to start new game after another
Last modified: 2014-06-29 20:23:40 UTC
Note that the version of gnome-sudoku is actually 3.4.1. (That version wasn't available as an option.) It is running on python 2.7.3. After finishing a sudoku game, and choosing to run another via either the icon or the menu, it often but not always crashes. In the console, it displays : ---- (gnome-sudoku:19059): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_CONTAINER (container)' failed avertissement 123 Traceback (most recent call last): erreur-critique
+ Trace 232170
self.main_ui.gsd.cover_track()
self.grid.remove(*coord)
sh: bug-buddy : commande introuvable ---- bug-buddy is not installed. I have noticed that it doesn't seem to crash if the "apply" button at the bottom toward the right is dimmed. Otherwise it seems to crash every time. If the button is not dimmed, that usually (but not necessarily) means that the follow option was used, to display guesses in a different colour. In any case, an effective workaround to avoid a crash seems to be pressing the "apply" button it until it dims, whenever it is not already dimmed. Each time that button is pressed, and the current colour isn't black, all boxes of the current colour will be changed to black, and the current colour removed.
I'm mostly papering over this, but that's fine since this code has all been removed from the next version. Thanks for taking the time to report this bug. The following fix has been pushed: 62dd0cc Fix exception when starting new game
Created attachment 279560 [details] [review] Fix exception when starting new game