After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 553318 - Sudoku crashes when started if there are too many saved games
Sudoku crashes when started if there are too many saved games
Status: RESOLVED DUPLICATE of bug 537089
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
2.22.x
Other All
: Normal critical
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-22 21:42 UTC by Oded Arbel
Modified: 2008-09-23 13:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Oded Arbel 2008-09-22 21:42:52 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():
  • File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 64 in _
    ret = fun(ui,*args,**kwargs)
  • File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 214 in select_game
    choice = game_selector.NewOrSavedGameSelector().run_swallowed_dialog(self.swallower)
  • File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 191 in run_swallowed_dialog
    self.setup_dialog()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 76 in setup_dialog
    self.make_saved_game_model()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 151 in make_saved_game_model
    sudoku.sudoku_grid_from_string(g['game'].split('\n')[1].replace(' ','')).grid,
  • File "/var/lib/python-support/python2.5/gnome_sudoku/sudoku.py", line 232 in sudoku_grid_from_string
    assert(len(s)<=GROUP_SIZE**2) AssertionError -------------------------------------------------- Traceback (most recent call last):
  • File "/usr/games/gnome-sudoku", line 55 in <module>
    start_game()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/gnome_sudoku.py", line 21 in start_game
    main.start_game()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 1039 in start_game
    u = UI()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 200 in __init__
    if self.select_game():
  • File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 64 in _
    ret = fun(ui,*args,**kwargs)
  • File "/var/lib/python-support/python2.5/gnome_sudoku/main.py", line 214 in select_game
    choice = game_selector.NewOrSavedGameSelector().run_swallowed_dialog(self.swallower)
  • File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 191 in run_swallowed_dialog
    self.setup_dialog()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 76 in setup_dialog
    self.make_saved_game_model()
  • File "/var/lib/python-support/python2.5/gnome_sudoku/game_selector.py", line 151 in make_saved_game_model
    sudoku.sudoku_grid_from_string(g['game'].split('\n')[1].replace(' ','')).grid,
  • File "/var/lib/python-support/python2.5/gnome_sudoku/sudoku.py", line 232 in sudoku_grid_from_string
    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.
Comment 1 Gianluca Borello 2008-09-23 13:42:59 UTC
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 ***