GNOME Bugzilla – Bug 433521
Pressing <ctrl> + a can crash sudoku
Last modified: 2010-04-09 21:03:48 UTC
What were you doing when the application crashed? rellenando todos los cuadrados Distribution: Ubuntu 7.04 (feisty) Gnome Release: 2.18.1 2007-04-11 (Ubuntu) BugBuddy Version: 2.18.1 System: Linux 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 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 --------------------- self.autofiller.perform()
+ Trace 130638
self.action(*self.action_args)
lambda *args: self.autofilled.append(self.gsd.auto_fill()),
self.add_value(coords[0],coords[1],val)
self.grid.add(x,y,val,True)
SudokuGrid.add(self,x,y,val,*args,**kwargs)
raise ConflictError(TYPE_COLUMN,(x,y),val)
-------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/gnome_sudoku/gnome_sudoku.py", line 665, in auto_fill_cb self.autofiller.perform()
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 430463 ***
*** This bug has been marked as a duplicate of 430893 ***
Jason Clinton wrote in another bug: I think this is a race condition. The callback is running twice over the top of itself. (Press CTRL-A twice quickly.) Use a mutex to lock the CTRL-A callback while it is running to keep it from running dups at the same time.
*** Bug 466228 has been marked as a duplicate of this bug. ***
*** Bug 515669 has been marked as a duplicate of this bug. ***
*** Bug 517138 has been marked as a duplicate of this bug. ***
*** Bug 524395 has been marked as a duplicate of this bug. ***
*** Bug 527019 has been marked as a duplicate of this bug. ***
*** Bug 530681 has been marked as a duplicate of this bug. ***
*** Bug 533575 has been marked as a duplicate of this bug. ***
*** Bug 539620 has been marked as a duplicate of this bug. ***
*** Bug 539798 has been marked as a duplicate of this bug. ***
*** Bug 546282 has been marked as a duplicate of this bug. ***
*** Bug 552995 has been marked as a duplicate of this bug. ***
*** Bug 558329 has been marked as a duplicate of this bug. ***
*** Bug 556436 has been marked as a duplicate of this bug. ***
*** Bug 552524 has been marked as a duplicate of this bug. ***
*** Bug 562092 has been marked as a duplicate of this bug. ***
*** Bug 579567 has been marked as a duplicate of this bug. ***
*** Bug 607536 has been marked as a duplicate of this bug. ***
Created attachment 152365 [details] [review] race condition fix? If this is a race condition with multiple solvers running at the same time as Thomas Andersen had suggested then this should block it.
Comment on attachment 152365 [details] [review] race condition fix? Thanks. Could you provide a patch created with git format-patch? Or a name so I can give you credit as the author.
Comment on attachment 152365 [details] [review] race condition fix? Oh well, I committed it with a reference to just your email: http://git.gnome.org/browse/gnome-games/commit/?id=212f40519e29d7afad05cd307980acfd2b355e60 Thanks ultramancool! :)