[Bug 396354] New: Empty .gconfd/saved_state file causes X to hang
https://bugzilla.novell.com/show_bug.cgi?id=396354 Summary: Empty .gconfd/saved_state file causes X to hang Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: grant@napc.com QAContact: qa@suse.de Found By: Customer After a power outage, my desktop for my primary user would launch, run for a minute or two, and then hang (typically after launching an application). After some debugging, I came to the realization that the saved_state file in /.gconfd folder was empty (the one for the user that I was using to debug was not). I moved this file out of the way, and everything began working just fine. There did not seem to be any indications in any of the logs that this was the case, nor did an strace of the X process indicate this (X was running at 99.6% CPU). Honestly, it was just by luck I discovered this, basically by doing an 'ls -alrt' in the home folder of the user, and then looking into that folder. I will make sure I can reproduce this, but i suspect that I can. Grant M. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396354
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c1
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=396354
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c2
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=396354
User gmongardi@napc.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c3
Grant M.
Hrm, I can't reproduce. Grant, can you?
Unfortunately, no. But definitively, moving the saved_state file out of the way resolved the issue. I had tried: o repowering & re-logging in o logging in as another user and switching to the problem user o launching various applications (tried thunderbird, firefox, pidgeon, gedit) Note: a newly-created user worked just fine. All produced the same behavior of the desktop becoming unresponsive. Not until I moved the saved_state file out of the way did it work. Could it be that there were some combination of files that caused the issue, and that moving the saved_state file caused it to ignore later files in a chain? Dunno. If it doesn't make sense, just close this. The primary reason I opened it is that I've had other problems with the desktop prior that I wasn't able to resolve, and ended up just deleting the user completely and using a different user, and at one point having to re-install my OS completely (not a happy time for me). Thanks, Grant M. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396354
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c4
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=396354
User gmongardi@napc.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c5
--- Comment #5 from Grant M.
Well, it's really hard to know why this happened :/ If you deleted the user, then we won't be able to get further details about what went wrong (I would have asked you to keep saved_state but move .gconf around, and other stuff). So, let's close the bug. We'll reopen it if someone can see this too.
I didn't delete the user - I'm using it right now to type this. I did create a new user as a test (to make sure that it wasn't the entire system), but that is not this user. Again, the only thing that I did to correct the issue was to move the saved_state file out of the way. Otherwise, this user remains unchanged. Thanks, Grant M. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396354
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c6
--- Comment #6 from Vincent Untz
(In reply to comment #4 from Vincent Untz)
Well, it's really hard to know why this happened :/ If you deleted the user, then we won't be able to get further details about what went wrong (I would have asked you to keep saved_state but move .gconf around, and other stuff). So, let's close the bug. We'll reopen it if someone can see this too.
I didn't delete the user - I'm using it right now to type this.
Ah sorry, I misread what you wrote then.
I did create a new user as a test (to make sure that it wasn't the entire system), but that is not this user. Again, the only thing that I did to correct the issue was to move the saved_state file out of the way. Otherwise, this user remains unchanged.
And if you put back the saved_state file, it still works? How did you check saved_state was empty? Do you remember the permissions of the file? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396354
User grant@napc.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c7
--- Comment #7 from Grant M.
And if you put back the saved_state file, it still works? How did you check saved_state was empty? Do you remember the permissions of the file?
Not quite sure what you mean by that. Basically, after trying the things stated earlier, I just moved the saved_state aside, and rebooted and logged back in. The saved_state file was recreated as part of the login process. The 'broken' file had the same exact ownership and permissions as the newly-created one, except the newly-created one wasn't empty. Here are the perms: drwx------ 2 grant users 4096 2008-06-12 07:07 . drwxr-xr-x 52 grant users 4096 2008-06-11 16:37 .. -rwx------ 1 grant users 70264 2008-06-12 07:07 saved_state -rwx------ 1 grant users 0 2008-06-02 07:17 saved_state.bust -rw-r--r-- 1 grant users 0 2008-06-10 14:18 test That last file, 'test' shows as identical when diff'd against the .bust one. It was created using "cat /dev/null > ./test". I did that just to make sure it was a truly empty file, and there wasn't something weird with either the filesystem, or the file. Thanks, Grant M. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396354
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396354#c8
--- Comment #8 from Vincent Untz
participants (1)
-
bugzilla_noreply@novell.com