GNOME Bugzilla – Bug 553318
Sudoku crashes when started if there are too many saved games
Last modified: 2008-09-23 13:42:59 UTC
Steps to reproduce: 1. start a game, type something (so it will have some content) 2. exit the game 3. lather rinse repeat until the app crashes - should be somewhere around 10~20 times. Stack trace: I got this out of bugbuddy - obviously this app is written in python so its not a C stack track, I hope bugzilla will like it. Distribution: Ubuntu 8.04 (hardy) Gnome Release: 2.22.3 2008-07-09 (Ubuntu) BugBuddy Version: 2.22.0 System: Linux 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Human Icon Theme: Human Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ----------- .xsession-errors --------------------- if self.select_game():
+ Trace 207088
ret = fun(ui,*args,**kwargs)
choice = game_selector.NewOrSavedGameSelector().run_swallowed_dialog(self.swallower)
self.setup_dialog()
self.make_saved_game_model()
sudoku.sudoku_grid_from_string(g['game'].split('\n')[1].replace(' ','')).grid,
assert(len(s)<=GROUP_SIZE**2) AssertionError -------------------------------------------------- Traceback (most recent call last):
start_game()
main.start_game()
u = UI()
if self.select_game():
assert(len(s)<=GROUP_SIZE**2) AssertionError
Other information: To recover from the error I deleted ~/.sudoku . The main problem isn't that the app crashes actually - its the fact that one can't (easily) delete saved games that one is no longer interested in completing.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 537089 ***