Contribute
Register

WindowServer causing random system crashes

Joined
Jul 11, 2016
Messages
4
Motherboard
Gigabyte Z170X-UD3
CPU
i7-7700k
Graphics
GTX 960
Hi all,

Quick summary: Recently over the past few months I've been getting random system crashes. I am not certain, but I suspect that WindowServer is triggering the crashes, based on what I can find in the system log. However I suppose I could be interpreting the log entries incorrectly.

Any brainstorming would be appreciated. I'm a video editor, not a programmer, so apologies for any lack of knowledge on my part. Thanks!

Details:

I've been happily editing videos full-time on my Hack for 18 months. The crashes started occurring regularly a few months ago. I wish I could say I recorded when they started happening so that I could possibly track down culprit software, but since I routinely thrash the system with heavy video and photo editing, at first I assumed that it was a natural consequence of my work.

It followed me from my original installation, El Capitan, through Sierra and into High Sierra 10.13.2 (current).

Recently, it has been happening more often, without any video or photo applications open. It often, but not always, happens when I have my Adobe CC software running. Sometimes it occurs when I have only Finder or Firefox running.

No crash logs whatsoever after any of these crashes (neither in Console nor in Finder).

NVIDIA drivers and CUDA all seem to work ok.

I have been able to reduce the frequency of crashes by minimizing the number of applications I have open at any given time, and by going to System Preferences > Accessibility > Displays > Reduce transparency. This last step has helped a lot, but has not stopped the problem completely.

I've gotten into the habit of interrogating the log in Terminal like so:
Code:
log show --style syslog --start '2018-02-03 11:16:00' --end '2018-02-03 11:20:00' --info
And for all of the crashes I've looked at, the last log entry always looks something like the following. I've only included the last few lines because this type of entry repeats in a loop for a few thousand lines in the 10 - 20 seconds right before the crash.
Code:
2018-02-03 11:17:54.167764-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process,   end] CompositeLoop
2018-02-03 11:17:54.167866-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, begin] CompositeLoop
2018-02-03 11:17:54.183589-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, event] ContributingPIDs PID: 365
PID: 2977
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
2018-02-03 11:17:54.183719-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process,   end] CompositeLoop
2018-02-03 11:17:54.184960-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, begin] CompositeLoop
2018-02-03 11:17:54.199706-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, event] ContributingPIDs PID: 2977
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
2018-02-03 11:17:54.199802-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process,   end] CompositeLoop
2018-02-03 11:17:54.199877-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, begin] CompositeLoop
2018-02-03 11:19:04.000000-0500  localhost timesync: === system boot: 9A2EDEBD-60AB-4768-B4AB-5152583C6764
I've searched "WindowServer crash" and "CompositeLoop" ad infinitum, both in the forums here and on Google, but can't find anything similar to this. I haven't seen abnormally high CPU usage from WindowServer, which is a separate issue that is well documented in the Apple forums.

I also haven't noticed any particular pattern in the processes named by PID in the WindowServer entries - it's tricky to track down PIDs from before the last reboot, but when I've been able to, it hasn't been any applications in particular.

Am I interpreting the log correctly - is this an issue with WindowServer? Any suggestions for where I go from here?
 
Joined
Apr 13, 2012
Messages
42
Mac
MacBook Pro, Mac mini
Mobile Phone
iOS
Also experiencing WindowServer crash.

Code:
Process:               WindowServer [13474]
Path:                  /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier:            WindowServer
Version:               600.00 (312.23.4)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           WindowServer [13474]
User ID:               88

Date/Time:             2018-02-03 13:54:02.540 -0500
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        D7A9324E-730B-B292-1566-B2B6D51EF30C

Sleep/Wake UUID:       08BAA702-DE48-4BBB-BEA7-BFB7B98530E4

Time Awake Since Boot: 48000 seconds
Time Since Wake:       250 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
StartTime:2018-02-01 10:52:57
GPU:NV
MetalDevice for accelerator(0x5067): 0x7fa204a20568 (MTLDevice: 0x7fa205848a00)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPP/GFX0@0/NVDA,Display-B@1/NVDA
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPP/GFX0@0/NVDA,Display-D@3/NVDA
Assertion failed: (false && "10 seconds of continuous GPU Driver unreadiness, relaunching WindowServer"), function IMGGraphicsStackReadinessFailure, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-312.23.4/SkyLight/Server/Windows/Updater.cc, line 3052.
 
Joined
Jan 19, 2017
Messages
15
Motherboard
Gigabyte GA-Z170X-UD3 ATX
CPU
i7-6700K
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
Android
Also experiencing WindowServer crash.

Code:
Process:               WindowServer [13474]
Path:                  /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier:            WindowServer
Version:               600.00 (312.23.4)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           WindowServer [13474]
User ID:               88

Date/Time:             2018-02-03 13:54:02.540 -0500
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        D7A9324E-730B-B292-1566-B2B6D51EF30C

Sleep/Wake UUID:       08BAA702-DE48-4BBB-BEA7-BFB7B98530E4

Time Awake Since Boot: 48000 seconds
Time Since Wake:       250 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
StartTime:2018-02-01 10:52:57
GPU:NV
MetalDevice for accelerator(0x5067): 0x7fa204a20568 (MTLDevice: 0x7fa205848a00)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPP/GFX0@0/NVDA,Display-B@1/NVDA
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPP/GFX0@0/NVDA,Display-D@3/NVDA
Assertion failed: (false && "10 seconds of continuous GPU Driver unreadiness, relaunching WindowServer"), function IMGGraphicsStackReadinessFailure, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-312.23.4/SkyLight/Server/Windows/Updater.cc, line 3052.
Same crash here... usually occurs when using certain apps like FCPX & Compressor during a render, OBS somewhat randomly, After Effects after prolonged load, but it seems to manifest when I click some other app (Discord, Safari, etc...). I've had this issue since 10.13.1's Web Drivers.
 
Joined
Jan 2, 2016
Messages
2
Motherboard
Assus
CPU
Quad
Graphics
HD4600
Mac
Classic Mac
Mobile Phone
Hi all,

Quick summary: Recently over the past few months I've been getting random system crashes. I am not certain, but I suspect that WindowServer is triggering the crashes, based on what I can find in the system log. However I suppose I could be interpreting the log entries incorrectly.

Any brainstorming would be appreciated. I'm a video editor, not a programmer, so apologies for any lack of knowledge on my part. Thanks!

Details:

I've been happily editing videos full-time on my Hack for 18 months. The crashes started occurring regularly a few months ago. I wish I could say I recorded when they started happening so that I could possibly track down culprit software, but since I routinely thrash the system with heavy video and photo editing, at first I assumed that it was a natural consequence of my work.

It followed me from my original installation, El Capitan, through Sierra and into High Sierra 10.13.2 (current).

Recently, it has been happening more often, without any video or photo applications open. It often, but not always, happens when I have my Adobe CC software running. Sometimes it occurs when I have only Finder or Firefox running.

No crash logs whatsoever after any of these crashes (neither in Console nor in Finder).

NVIDIA drivers and CUDA all seem to work ok.

I have been able to reduce the frequency of crashes by minimizing the number of applications I have open at any given time, and by going to System Preferences > Accessibility > Displays > Reduce transparency. This last step has helped a lot, but has not stopped the problem completely.

I've gotten into the habit of interrogating the log in Terminal like so:
Code:
log show --style syslog --start '2018-02-03 11:16:00' --end '2018-02-03 11:20:00' --info
And for all of the crashes I've looked at, the last log entry always looks something like the following. I've only included the last few lines because this type of entry repeats in a loop for a few thousand lines in the 10 - 20 seconds right before the crash.
Code:
2018-02-03 11:17:54.167764-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process,   end] CompositeLoop
2018-02-03 11:17:54.167866-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, begin] CompositeLoop
2018-02-03 11:17:54.183589-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, event] ContributingPIDs PID: 365
PID: 2977
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
2018-02-03 11:17:54.183719-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process,   end] CompositeLoop
2018-02-03 11:17:54.184960-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, begin] CompositeLoop
2018-02-03 11:17:54.199706-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, event] ContributingPIDs PID: 2977
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
PID: 0
2018-02-03 11:17:54.199802-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process,   end] CompositeLoop
2018-02-03 11:17:54.199877-0500  localhost WindowServer[251]: (SkyLight) [spid 0xcaba71571cc0ffee, process, begin] CompositeLoop
2018-02-03 11:19:04.000000-0500  localhost timesync: === system boot: 9A2EDEBD-60AB-4768-B4AB-5152583C6764
I've searched "WindowServer crash" and "CompositeLoop" ad infinitum, both in the forums here and on Google, but can't find anything similar to this. I haven't seen abnormally high CPU usage from WindowServer, which is a separate issue that is well documented in the Apple forums.

I also haven't noticed any particular pattern in the processes named by PID in the WindowServer entries - it's tricky to track down PIDs from before the last reboot, but when I've been able to, it hasn't been any applications in particular.

Am I interpreting the log correctly - is this an issue with WindowServer? Any suggestions for where I go from here?
 
Joined
Jan 2, 2016
Messages
2
Motherboard
Assus
CPU
Quad
Graphics
HD4600
Mac
Classic Mac
Mobile Phone
Same issue for me since I upgraded to High Sierra 10.13.3 and the latest Nvidia Web Drivers. I have a 970GTX. Let me klnow if you find a solution. Kr
 
Joined
Aug 16, 2012
Messages
41
Motherboard
Z77x-UP5TH
CPU
i5-3570K
Graphics
GTX 670
Mac
MacBook Pro, Mac Pro
Same here, GTX670, just found my crashlog, it says the same thing as yours:
JavaScript:
Process:               WindowServer [642]
Path:                  /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier:            WindowServer
Version:               600.00 (312.23.4)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
Responsible:           WindowServer [642]
User ID:               88

Time Awake Since Boot: 81000 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
StartTime:2018-04-17 23:35:11
GPU:NV
MetalDevice for accelerator(0x439f): 0x7fcb0242dfc8 (MTLDevice: 0x7fcb0484e200)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/PEGP@0/NVDA,Display-B@1/NVDA
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/PEGP@0/NVDA,Display-A@0/NVDA
Assertion failed: (false && "10 seconds of continuous GPU Driver unreadiness, relaunching WindowServer"), function IMGGraphicsStackReadinessFailure, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-312.23.4/SkyLight/Server/Windows/Updater.cc, line 3052.
 
Joined
Feb 25, 2014
Messages
51
Mac
Classic Mac
Mobile Phone
Another similar crash, not exactly same. Happened when just wake up display.

Webdriver: 387.10.10.10.40.113 for 17G4015

Code:
Application Specific Information:
StartTime:2018-12-19 09:46:56
GPU:NV
MetalDevice for accelerator(0x3107): 0x7fea38018e68 (MTLDevice: 0x7fea3683d400)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/NVDA,Display-B@1/NVDA
abort() called
*** error for object 0x7fea413acd68: incorrect checksum for freed object - object was probably modified after being freed.
 

Attachments

Top