Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Abrupt Random Logout in Leopard

I am having random unpredictable logout from leopard 10.5.2

All open apps close, and the login screen appears without warning.

Also described here:

http://echeng.com/journal/2008/01/25/mac-os-105-leopard-sudden-logoutlogin/
http://jimmitchell.org/2008/02/19/abrupt-logout-in-leopard-1052/

Any suggestions?

Macpro, Mac OS X (10.5.2)

Posted on Feb 24, 2008 12:03 PM

Reply
33 replies

Jul 30, 2008 4:32 PM in response to socokid

Add me to the list.
This is on my iBook G4. (10.5.4)

It's constant now. It happens sporadically but also predictably whenever I restart the computer, a few seconds later, it logs out. At first I thought it was crashing, but I created a new user and tried logging in on that one.
Result: User 1 still crashes after restart and login; user 2 doesn't crash.

I don't know if it's related, but at the exact same time, my Screen Share for Mobile Me went kaput and I have not been able to restore its use on either user.

I suspect some of the other discussion points referencing "random restart" are the same thing only they don't have another user identified.

When I review my crash log, it tells me there's a dozen screen share crashes but also:
SystemUIServer 2008-07-27-140834ibook-2.crash but admittedly I have no idea what "systemUIServer" is for.

Thoughts?

Message was edited by: flyontheweb

Aug 15, 2008 10:17 AM in response to AOH

Same here. Haven't been able to pinpoint it to a particular app, driver, or process. Seemingly random, 1 or twice a week. Running Leopard, latest version in Software Update. Not limited to just this machine but not present on all other machines with same set-up either. Below is the log from the crash earlier.

Aug 15 11:21:47 Ros-MacMini-2 kernel[0]: AFP_VFS afpfs_mount: /Network/Library, pid 412
Aug 15 11:21:59 Ros-MacMini-2 LaserJet_5[416]: CMSCreateDataProviderOrGetInfo : Malformed colorspace
Aug 15 11:23:47 Ros-MacMini-2 LaserJet_5[424]: CMSCreateDataProviderOrGetInfo : Malformed colorspace
Aug 15 11:24:12 Ros-MacMini-2 LaserJet_5[430]: CMSCreateDataProviderOrGetInfo : Malformed colorspace
Aug 15 11:30:09 Ros-MacMini-2 Mail[118]: Couldn't create QTMovie object
Aug 15 12:03:21 Ros-MacMini-2 ReportCrash[497]: Formulating crash report for process WindowServer[58]
Aug 15 12:03:22 Ros-MacMini-2 ARDAgent[90]: HIToolbox: received notification of WindowServer event port death.
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[1] (com.apple.WindowServer[58]): Exited abnormally: Segmentation fault
Aug 15 12:03:22 Ros-MacMini-2 AppleVNCServer[97]: HIToolbox: received notification of WindowServer event port death.
Aug 15 12:03:22 Ros-MacMini-2 ARDAgent[90]: port matched the WindowServer port created in BindCGSToRunLoop
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x46046].com.apple.TextEdit[443]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x21021].com.apple.Preview[206]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x12012].jp.co.pfu.ScanSnap.V10L10[120]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x31031].com.dymo.dls.shell[291]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0xc00c].com.apple.finder[101]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x18018].com.apple.Safari[135]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x13013].com.microsoft.microsoftmousehelper[121]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x16016].com.apple.ImageCaptureExtension2[126]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] (com.apple.pboard[100]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x25025].com.apple.AppleSpell[233]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] (com.apple.AirPortBaseStationAgent[87]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x2c02c].com.apple.print.PrinterProxy[265]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0xa00a].com.apple.systemuiserver[98]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] (com.apple.UserEventAgent-Aqua[93]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x8008].com.apple.dock[95]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x27027].com.apple.print.PrinterProxy[246]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x43043].com.apple.print.PrinterProxy[422]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.RemoteDesktop.agent[90]: 2008-08-15 12:03:21.965 AppleVNCServer[97:10b] HIToolbox: received notification of WindowServer event port death.
Aug 15 12:03:22 Ros-MacMini-2 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[498]: Login Window Application Started
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x19019].org.mozilla.firefox[146]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x10010].com.apple.mail[118]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] (com.apple.Spotlight[92]): Exited: Terminated
Aug 15 12:03:22 Ros-MacMini-2 com.apple.launchd[71] ([0x0-0x11011].com.filemaker.filemakerpro[119]): Exited: Terminated
Aug 15 12:03:23 Ros-MacMini-2 ReportCrash[497]: Saved crashreport to /Library/Logs/CrashReporter/WindowServer 2008-08-15-120318Ros-MacMini-2.crash using uid: 0 gid: 0, euid: 0 egid: 0
Aug 15 12:03:23 Ros-MacMini-2 ARDAgent [503]: ******ARDAgent Launched ******
Aug 15 12:03:23 Ros-MacMini-2 kernel[0]: AFP_VFS afpfs_unmount: /Volumes/ScannedDocuments, flags 0, pid 508
Aug 15 12:03:23 Ros-MacMini-2 ARDAgent [503]: ******ARDAgent Ready ******
Aug 15 12:03:23 Ros-MacMini-2 loginwindow[498]: Login Window Started Security Agent
Aug 15 12:03:23 Ros-MacMini-2 authorizationhost[511]: MechanismInvoke 0x127700 retainCount 2
Aug 15 12:03:23 Ros-MacMini-2 SecurityAgent[514]: MechanismInvoke 0x101620 retainCount 1
Aug 15 12:03:23 Ros-MacMini-2 loginwindow[498]: Login Window - Returned from Security Agent
Aug 15 12:03:23 Ros-MacMini-2 authorizationhost[511]: MechanismDestroy 0x127700 retainCount 2
Aug 15 12:03:23 Ros-MacMini-2 SecurityAgent[514]: MechanismDestroy 0x101620 retainCount 1
Aug 15 12:03:23 Ros-MacMini-2 loginwindow[498]: USER_PROCESS: 498 console
Aug 15 12:03:23 Ros-MacMini-2 com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[504]): Exited: Terminated
Aug 15 12:03:23 Ros-MacMini-2 com.apple.launchd[71] (0x103780.AppleVNCServer[510]): Failed to add kevent for PID 510. Will unload at MIG return
Aug 15 12:03:24 Ros-MacMini-2 com.apple.launchctl.Aqua[515]: launchctl: Please convert the following to launchd: /etc/mach init_peruser.d/PCIESlotCheck.plist
Aug 15 12:03:24 Ros-MacMini-2 com.apple.launchctl.Aqua[515]: launchctl: Please convert the following to launchd: /etc/mach init_peruser.d/RemoteUI.plistAug 15 12:03:24 Ros-MacMini-2 com.apple.launchd[71] (0x103890.PCIESlotCheck): Failed to check-in! Aug 15 12:03:24 Ros-MacMini-2 ARDAgent [519]: ******ARDAgent Launched ****** Aug 15 12:03:24 Ros-MacMini-2 ARDAgent [519]: ******ARDAgent Ready ******Aug 15 12:03:24 Ros-MacMini-2 /System/Library/CoreServices/coreservicesd[59]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(Rochelle Nichols's Public Folder) returned -14135
Aug 15 12:03:25 Ros-MacMini-2 Dock[524]: Could not create a directory for <DOCKFolderTile: 0x821000> error = Error Domain=NSOSStatusErrorDomain Code=-35 "Operation could not be completed. (OSStatus error -35.)" (no such volume)Aug 15 12:08:46 Ros-MacMini-2 kernel[0]: AFPSleepWakeHandler: going to sleepAug 15 12:08:47 Ros-MacMini-2 configd[14]: AppleTalk shutdownAug 15 12:08:48 Ros-MacMini-2 kernel[0]: System SleepAug 15 12:08:47 Ros-MacMini-2 configd[14]: AppleTalk shutdown complete
Aug 15 12:08:49 Ros-MacMini-2 kernel[0]: System Wake
Aug 15 12:08:49 Ros-MacMini-2 kernel[0]: AFP_VFS afpfs_DoReconnect: doing reconnect on /Network/Library
Aug 15 12:08:49 Ros-MacMini-2 kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Network/Library
Aug 15 12:08:48 Ros-MacMini-2 configd[14]: setting hostname to "Ros-MacMini-2.local"
Aug 15 12:08:49 Ros-MacMini-2 kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Network/Library failed 65.

Aug 28, 2008 11:41 AM in response to AOH

I am also getting a com.apple.WindowServer segfault:

8/27/08 2:38:49 PM com.apple.launchd[1] (com.apple.WindowServer[70]) Exited abnormally: Segmentation fault

This has been happening about weekly. I am always running Entourage, so that might be it; I'm also always running FireFox.

This problem never (?) happened on my MacBook Pro or Powerbook running 10.2-10.4. It has happened weekly for the last two months since I bought the Mac Pro w/Leopart 10.5 preinstalled.

This is making me refrain from upgrading my other two macs to 10.5. Has anybody heard a peep from AAPL on this?

Sep 19, 2008 11:07 AM in response to AOH

This has to be a software issue. I cloned my MacPro and used the clone (a completely different MacPro machine) for a few days and the random logouts continued. Usually it happens after I've put the computer to sleep - when I wake it up I see that it has tried to logout. I've taken to leaving a few browser tabs open in Firefox or Safari so that the logout process is interrupted. I will note that it has happened while I'm logged in as well, just not all that frequently. Come on Apple, let's fix this issue!

Oct 24, 2008 5:26 PM in response to AOH

A colleague is having the identical problem with a MacBook Air and 10.5.5.

This issue is also discussed on this thread: WindowServer crashes

In our case the system log produces:

Oct 22 23:04:33 Kathys-MacBook-Air /usr/libexec/hidd[28]: IOHIDEventQueueEnqueue: Error enqueuing memory. (0xe00002e8)
Oct 22 23:04:35: --- last message repeated 134 times ---
Oct 22 23:04:35 Kathys-MacBook-Air ReportCrash[238]: Formulating crash report for process WindowServer[53]
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[1] (com.apple.WindowServer[53]): Exited abnormally: Segmentation fault
Oct 22 23:04:36 Kathys-MacBook-Air /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[239]: Login Window Application Started
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] (com.apple.AirPortBaseStationAgent[93]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] (com.apple.pboard[106]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x27027].com.adobe.Reader[208]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x17017].com.microsoft.Excel[132]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x12012].com.cesoft.qmpm[115]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0xc00c].com.apple.finder[103]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0xf00f].com.apple.Safari[110]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x15015].com.palm.desktop[123]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] (com.apple.UserEventAgent-Aqua[99]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x1b01b].com.microsoft.Word[140]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x11011].com.apple.iTunesHelper[113]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] (com.apple.ScreenSharing.server[96]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] (com.apple.Spotlight[98]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x18018].com.microsoft.DatabaseDaemon[133]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x9009].com.apple.dock[100]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0x14014].com.CESoftware.QMNetworker[119]): Exited: Terminated
Oct 22 23:04:36 Kathys-MacBook-Air com.apple.launchd[67] ([0x0-0xb00b].com.apple.systemuiserver[102]): Exited: Terminated
Oct 22 23:04:37 Kathys-MacBook-Air ReportCrash[238]: Saved crashreport to /Library/Logs/CrashReporter/WindowServer 2008-10-22-230431Kathys-MacBook-Air.crash using uid: 0 gid: 0, euid: 0 egid: 0
Oct 22 23:04:37 Kathys-MacBook-Air loginwindow[239]: Login Window Started Security Agent
Oct 22 23:04:58 Kathys-MacBook-Air authorizationhost[248]: MechanismInvoke 0x12f1d0 retainCount 2
Oct 22 23:04:58 Kathys-MacBook-Air SecurityAgent[249]: MechanismInvoke 0x101690 retainCount 1
Oct 22 23:04:58 Kathys-MacBook-Air SecurityAgent[249]: NSSecureTextFieldCell detected a field editor ((null)) that is not a NSTextView subclass designed to work with the cell. Ignoring...
Oct 22 23:04:58 Kathys-MacBook-Air loginwindow[239]: Login Window - Returned from Security Agent
Oct 22 23:04:58 Kathys-MacBook-Air SecurityAgent[249]: MechanismDestroy 0x101690 retainCount 1
Oct 22 23:04:58 Kathys-MacBook-Air authorizationhost[248]: MechanismDestroy 0x12f1d0 retainCount 2
Oct 22 23:04:58 Kathys-MacBook-Air loginwindow[239]: USER_PROCESS: 239 console
Oct 22 23:04:58 Kathys-MacBook-Air com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[244]): Exited: Terminated
Oct 22 23:04:58 Kathys-MacBook-Air com.apple.launchd[1] (com.apple.ScreenSharing.server[243]): Exited: Terminated
Oct 22 23:04:59 Kathys-MacBook-Air /System/Library/CoreServices/coreservicesd[46]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(supervisor's Public Folder) returned -14135
Oct 22 23:04:59 Kathys-MacBook-Air /System/Library/CoreServices/coreservicesd[46]: SFLSharePointsEntry::CreateDSRecord: dsCreateRecordAndOpen(Kathy Chernus's Public Folder) returned -14135

And the Crash Log (up to the binary images section) shows:

Process: WindowServer [53]
Path: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphic s.framework/Resources/WindowServer
Identifier: WindowServer
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [1]

Date/Time: 2008-10-22 23:04:31.000 -0400
OS Version: Mac OS X 10.5.5 (9F33)
Report Version: 6

Exception Type: EXC BADACCESS (SIGSEGV)
Exception Codes: KERN PROTECTIONFAILURE at 0x00000000bca93000
Crashed Thread: 0

Thread 0 Crashed:
0 ...ple.CoreServices.CarbonCore 0x9675dc36 UCKeyTranslate + 672
1 com.apple.CoreGraphics 0x91ac3ffb CGSUniCodeForKeyAndFlags + 152
2 com.apple.CoreGraphics 0x9183822a CGXCheckForHotKey + 499
3 com.apple.CoreGraphics 0x91804db2 sPostContinuation + 1759
4 com.apple.CoreGraphics 0x91803fa9 CGXFilterEvent + 71
5 com.apple.CoreGraphics 0x918042b8 CGXProcessHIDEvent + 157
6 com.apple.CoreGraphics 0x91804211 sHIDContinuation + 537
7 com.apple.CoreGraphics 0x91803fa9 CGXFilterEvent + 71
8 com.apple.CoreGraphics 0x91803cd3 CGXGetNextEvent + 152
9 com.apple.CoreGraphics 0x91803c00 CGXRunOneEventPass + 48
10 com.apple.CoreGraphics 0x91806131 eventNotificationHandler + 106
11 com.apple.CoreGraphics 0x918060aa CGXPostPortData + 158
12 com.apple.CoreGraphics 0x91805ea0 CGXRunOneServerPass + 556
13 com.apple.CoreGraphics 0x918024bf CGXRunOneServicesPass + 377
14 com.apple.CoreGraphics 0x9180d4a6 CGXServerLoop + 161
15 com.apple.CoreGraphics 0x9179c4f9 CGXGetRootAdminCredentials + 0
16 WindowServer 0x00001ff4 main + 24
17 WindowServer 0x00001fbe start + 54

Thread 1:
0 libSystem.B.dylib 0x94fb64a6 mach msgtrap + 10
1 libSystem.B.dylib 0x94fbdc9c mach_msg + 72
2 libSystem.B.dylib 0x950a0f23 mach msgreceive + 63
3 com.apple.framework.IOKit 0x90049fe1 __tickleThread + 41
4 libSystem.B.dylib 0x94fe76f5 pthreadstart + 321
5 libSystem.B.dylib 0x94fe75b2 thread_start + 34

Thread 2:
0 libSystem.B.dylib 0x94fb64a6 mach msgtrap + 10
1 libSystem.B.dylib 0x94fbdc9c mach_msg + 72
2 com.apple.CoreFoundation 0x93fff0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x93fffd54 CFRunLoopRun + 84
4 com.apple.CoreGraphics 0x917efe79 eventThread + 499
5 libSystem.B.dylib 0x94fe76f5 pthreadstart + 321
6 libSystem.B.dylib 0x94fe75b2 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x94fbd68e _semwaitsignal + 10
1 libSystem.B.dylib 0x94fe836d pthread condwait$UNIX2003 + 73
2 libGLProgrammability.dylib 0x92ea8b32 glvmDoWork + 162
3 libSystem.B.dylib 0x94fe76f5 pthreadstart + 321
4 libSystem.B.dylib 0x94fe75b2 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x94fbd68e _semwaitsignal + 10
1 libSystem.B.dylib 0x94fe836d pthread condwait$UNIX2003 + 73
2 com.apple.CoreGraphics 0x91a8be6d layer blitthread + 229
3 com.apple.CoreGraphics 0x91a8c392 layer blit_asyncthread + 95
4 libSystem.B.dylib 0x94fe76f5 pthreadstart + 321
5 libSystem.B.dylib 0x94fe75b2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xbfff6d28 ebx: 0x9183804b ecx: 0x00000000 edx: 0xbca93000
edi: 0x00a53000 esi: 0x00000006 ebp: 0xbfff6cd8 esp: 0xbfff6c80
ss: 0x0000001f efl: 0x00010246 eip: 0x9675dc36 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xbca93000

Note that the other thread says this has been reported to apple through a poster who has a developer connection membership, but Apple closed it as a duplicate and there haven't been any updates about it.

Dec 12, 2008 9:42 AM in response to AOH

Just adding myself to the list of people affected by this problem.

In my case it seems to happen occasionally (once a month perhaps) when using Excel 2004.

I will also note that my
"Logout after x minutes of inactivity"

security option is not checked so that's probably not the problem, as suggested by another post (at least not in my case).

Jan 23, 2009 2:36 PM in response to AOH

A "ditto" here. First time this has happened and I've been using OS X since ~ 2001. On 10.5.6 now. Open apps included Mail, Excel 2008, Navicat, OmniFocus, Safari, Filemaker, iCal.

The only recent changes I can think of are 1) upgraded to 10.5.6 yesterday; 2) just upgraded to Filemaker 10 this week. The other open apps are ones I run all the time and haven't been updated lately.

The console log entry that kicked off the forced logout was:

"01/23/2009 12:56:15 PM macbook-xx com.apple.launchd[1] Warning (com.apple.WindowServer[82]) Exited abnormally: Segmentation fault "

As others have noted, there's nothing else in the console log that provides useful clues.

Abrupt Random Logout in Leopard

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