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 537089 - Crashes on launch (except from Root Terminal)
Crashes on launch (except from Root Terminal)
Status: RESOLVED DUPLICATE of bug 516491
Product: gnome-games-superseded
Classification: Deprecated
Component: gnome-sudoku
2.22.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
: 553318 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-06-07 09:26 UTC by Paul
Modified: 2008-11-05 05:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Saved game causing crash (1.62 KB, application/octet-stream)
2008-07-03 21:11 UTC, J. Ali Harlow
Details

Description Paul 2008-06-07 09:26:19 UTC
Steps to reproduce:
1. Crashes on launch from Applications Menu
2. Crashes on launch from Terminal window
3. Does NOT crash when run from Root Terminal window


Stack trace:
Distribution: Ubuntu 8.04 (hardy)
Gnome Release: 2.22.2 2008-05-30 (Ubuntu)
BugBuddy Version: 2.22.0

System: Linux 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Glossy
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 58 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:
1. Crashes on launch from Applications Menu
2. Crashes on launch from Terminal window
3. Does NOT crash when run from Root Terminal window
4. Unable to get Stack trace by installing dbg package or using gdb command. Could be lack of linux knowledge on my part.
Comment 1 Paul 2008-06-07 09:32:31 UTC
Is anyone else whose sudoku is crashing able to run it from the root terminal window?
Comment 2 J. Ali Harlow 2008-07-03 19:16:29 UTC
You don't have to go that far. Just running it as follows will work:

$ HOME=/tmp gnome-sudoku

It seems there is something in the user's home directory that it doesn't like.
Comment 3 Jason Clinton 2008-07-03 19:29:24 UTC
Let us know if you identify the file causing this issue.
Comment 4 J. Ali Harlow 2008-07-03 21:11:11 UTC
Created attachment 113949 [details]
Saved game causing crash

Jason,

Seems to be a saved game (attached).
Comment 5 Jason Clinton 2008-07-07 15:50:30 UTC
Thanks for that, Ali.
Comment 6 Gianluca Borello 2008-09-23 13:42:59 UTC
*** Bug 553318 has been marked as a duplicate of this bug. ***
Comment 7 Robert Ancell 2008-11-05 05:56:21 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 516491 ***