GNOME Bugzilla – Bug 429351
Crash restoring corrupted game
Last modified: 2007-05-10 22:05:34 UTC
What were you doing when the application crashed? I was trying to play a saved game. I then clicked play to bring up the old game. CRASH!!! LInux....crash different. Distribution: Ubuntu 7.04 (feisty) Gnome Release: 2.18.0 2007-03-13 (Ubuntu) BugBuddy Version: 2.18.0 System: Linux 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 70200000 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 --------------------- ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default -------------------------------------------------- Traceback (most recent call last):
+ Trace 127454
fun(ui,*args,**kwargs)
saver.open_game(self,puzzl)
ui.gsd.load_game(jar['game'])
values = [int(c) for c in in_prog.split()]
This is a corrupt save file. Can you provide your copy of ~/.gnome2/gnome-sudoku/games_in_progress? Saved games are stored in a string like: '7 0 0 0 9 2 6 5 0 8 0 0 4 0 1 0 0 0 0 5 9 3 7 0 1 0 0 4 9 0 0 0 8 0 0 0 1 6 3 0 0 0 8 2 5 0 0 0 6 0 0 0 9 4 0 0 2 0 3 5 4 1 0 0 0 0 1 0 4 0 0 2 0 1 4 2 8 0 0 0 7\n7 0 0 0 9 2 6 5 0 8 0 0 4 0 1 0 0 0 0 5 9 3 7 0 1 0 0 4 9 0 5 0 8 0 0 0 1 6 3 0 4 0 8 2 5 0 0 0 6 0 3 0 9 4 0 0 2 0 3 5 4 1 0 0 0 0 1 0 4 0 0 2 0 1 4 2 8 0 0 0 7' in this case the game has been saved incorrectly as a 'None' has been inserted.
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 419388 ***