Stuck at Desktop during Logout

I've had this happen a few times already. Once was during a restart and the most recent was a simple logout action.

The most recent I was debugging a Keychain issue. I was logged into 3 of the accounts on my machine. I had been swapping between accounts trying to understand the keychain behaviour. I decided to logout the account with the Keychain issue and experienced what had happened a few previous times. All applications quite - including the Finder it seems, the desktop is still on screen and the arrow is still movable, but the account never completes logout and remains stuck here. I had to powerdown to get out of it.

The machine was still alive (to some degree) since I was able to go to another Leopard machine and "screen share" and see the stuck desktop - so some services are still running and the machine didn't seem to be overly tasked.

I've now enabled "Remote Login" on the machine in case it happens again so I can login and run "top" or something to see what's happening.

Any ideas out there?

Sean

12 PB Rev C (1.33 GHz G4) & PowerMac G5 Dual 2.0, Mac OS X (10.5.1)

Posted on Dec 9, 2007 2:48 PM

Reply
13 replies

Dec 17, 2007 7:05 PM in response to Sean Butler1

Seems strange that I'm the only one experiencing this.

Rebooted my desktop tonight - stuck at desktop picture and grey spinner. Tried to ssh into the box but was refused so maybe that service was already shutdown. Had to hard power off the machine.

Second time tonight was when my parental controlled account was logged out (I think that is what it does). However, there was an unsaved document still open at the time - maybe this caused the issue(?). This time I had a spinning beach ball at a blue screen. I could make the machine go to sleep with the press of the power button when it woke up - still had the blue screen and spinning ball). I could ssh into the machine (top showed nothing and the user load was low). Had to hard reboot this as well. Booted from the Leopard disk and checked permissions which passed.

It's getting to a point where I'm afraid of directory issues because of the hard reboots.

Sean

Mar 20, 2008 2:52 PM in response to Jason Creasey

I've got the same problem here on my macbook pro santa rosa under 10.5.2. From time to time, it takes exactly 5 minutes to logout. If you restart your computer, everything becomes fine again. Then 3 days later, you can have the same problem. I've checked the logs and I'm puzzled with this one :

Mar 20 16:20:43 chgass SyncServer[1332]: Handling SIGTERM in kqueue callback from runloop
Mar 20 16:25:43 chgass WindowServer[1364]: Timeout waiting for IOKit to be quiet

So it seems related with IOKit. Don't know what it is.

Francois

Apr 2, 2008 8:37 PM in response to Sean Butler1

I'm seeing this too with my August 2006 Mac Pro 3.0GHz Quad Xeon. Waiting 5 minutes allows the logout to complete normally; if I can't wait that long I ssh in from my MacBook Pro and restart the Mac Pro via "sudo shutdown -r now" which works as well.

My system.log shows the following entries for this 5-minute wait period:
2008-04-02 10:54:05 PM /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[99494] Login Window Application Started
2008-04-02 10:59:06 PM WindowServer[99495] Timeout waiting for IOKit to be quiet
2008-04-02 10:59:06 PM WindowServer[99495] IOHIDEventQueueCreateWithToken: Error mapping memory. queueBuffer=0x0 (0x10000003)
2008-04-02 10:59:08 PM loginwindow[99494] USER_PROCESS: 99494 console


I log all odd events with my systems, and these hangs (which occur about half the time on logout) started right after upgrading (via the Combo updater) to 10.5.2, so I think that the 10.5.2 update introduced an IOKit bug...

Hopefully 10.5.3 will fix it!

Apr 8, 2008 11:47 AM in response to Federico Parodi

Federico Parodi wrote:
Hi, I've the same problem on logout, not on shut down or restart.
Any solution?


Just a suggestion. With leopard, I have found that things speed up when the network interfaces are all down. Unplug the ethernet cable and turn airport off and see if the problem persists.

I've had logout timeout with a dialog telling me that Application X cancelled logout, and I can easily verify that no instance of X is running (Terminal e.g.) with Activity Monitor.

Apr 9, 2008 6:01 AM in response to Sean Butler1

How many people here have EyeTV 3 (specifically 3.0.1 here) installed?

It appears that I can eliminate the 5-minute hang at logout/restart/shutdown by using Activity Monitor to kill the "EyeTV Helper" process. So far in about a dozen logouts/restarts/shutdowns, if I first kill the "EyeTV Helper" process with Activity Monitor the logout/restart/shutdown occurs normally (without any unusual delay).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Stuck at Desktop during Logout

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.