For the last month or so, my mac has been randomly logging out overnight. When I come back in the morning, it's at the login screen and all my applications need to restart. I know it's not a full reboot because my uptime steadily increases and when I run last reboot or last shutdown they are days ago.

I've tried examining the logs, and it looks like perhaps com.apple.WindowServer is crashing. I'm not sure if that's a consistent symptom though (or why it would crash, and only overnight - never while I'm actively working).

Running on an iMac, using macOS Mojave (although also happened on High Sierra).

Logs: https://pastebin.com/1nnZPNcC

Of note, the point where the logout happens starts with:

Oct 18 05:26:02 Christophers-iMac com.apple.xpc.launchd[1] (com.apple.WindowServer[99537]): Service exited due to SIGABRT

Oct 18 05:26:02 Christophers-iMac com.apple.xpc.launchd[1] (com.apple.ViewBridgeAuxiliary[98359]): Service exited with abnormal code: 2

Oct 18 05:26:04 Christophers-iMac com.apple.xpc.launchd[1] (com.apple.ViewBridgeAuxiliary): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.

Oct 18 05:26:04 Christophers-iMac sessionlogoutd[98360]: DEAD_PROCESS: 99533 console

  • who send the SIGABRT ? that is a process killer. – Ruskes Oct 26 '18 at 17:25
  • try this in terminal to see more info sudo log show --start "2018-10-25 23:45:17" --end "2018-10-26 23:45:47" --info --debug --signpost | grep -i Sigabrt – Ruskes Oct 26 '18 at 17:37
  • The grep doesn't show anything, even when I extended the start date back a few days. There are plenty of logs about WindowServer (4.7M lines), but none of them contain SIGABRT apparently. – Chris R Oct 26 '18 at 18:39
  • so your ASL Sender Statistics (Apple System Log) confused the WindowServer and ended up with SIGABRT. ASL monitors/reports remote connections. – Ruskes Oct 26 '18 at 19:01

You must log in to answer this question.

Browse other questions tagged .