GNOME Bugzilla – Bug 524190
Crash os.mkdirs() in sudoku_maker
Last modified: 2008-11-10 04:57:58 UTC
Version: 2.22.0 What were you doing when the application crashed? Copying lots of music files from my windows vista partition, about 20 gbs worth. Distribution: Ubuntu 8.04 (hardy) Gnome Release: 2.22.0 2008-03-17 (Ubuntu) BugBuddy Version: 2.22.0 System: Linux 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Human-Murrine 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 --------------------- start_game()
+ Trace 193244
main.start_game()
u = UI()
self.sudoku_maker = sudoku_maker.SudokuMaker()
self.load()
os.makedirs(self.pickle_to)
mkdir(name, mode)
-------------------------------------------------- Traceback (most recent call last): File "/usr/games/gnome-sudoku", line 58, in <module> start_game()
Does the problem continue to happen? Did you open two instances of sudoku at the same time?
Created attachment 108817 [details] [review] Just try to create the dir and handle the exception on EEXIST
Enough talk. Let's just fix it instead :) This could happen very rarely when two instances of the game are started at the same time. If the disk is under heavy load the risk of collision is greater. Fixed on trunk
*** Bug 532834 has been marked as a duplicate of this bug. ***
*** Bug 547888 has been marked as a duplicate of this bug. ***
*** Bug 548262 has been marked as a duplicate of this bug. ***
*** Bug 551893 has been marked as a duplicate of this bug. ***
*** Bug 551110 has been marked as a duplicate of this bug. ***
*** Bug 549934 has been marked as a duplicate of this bug. ***
*** Bug 549871 has been marked as a duplicate of this bug. ***
*** Bug 549189 has been marked as a duplicate of this bug. ***
The other exceptions were fixed for 2.24.2: http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8268 http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=8269
*** Bug 560023 has been marked as a duplicate of this bug. ***
*** Bug 560102 has been marked as a duplicate of this bug. ***