I have been having different flavors of the WindowServer crashes with both 13.0 and 13.0.1. To be honest I think that the patch has made the issue even worse!
In general I get about 10 crashes a day, although they are not all from WindowServer. Docker Desktop Helper (Renderer) also crashes regularly despite updating to the latest version.
Here is my setup:
- MacBook Pro 2019
- Dell P2421D external monitor
- Initial connection: generic active USB-C to HDMI cable
- Current connection: Apple USB-C Digital AV Multiport Adapter + HDMI cable (with Ethernet)
What works:
- Just using the Mac seems to do the trick.
- Using the external monitor only, regardless if I use full screen apps or any number of browsers/code editors...
Patterns that I identified:
- when using the USB-C cable it used to crash even when closing the lid.
- using the apple AV adapter looked to have solved it, but clearly not for long.
- since 13.0.1, when coming back from sleep the os would try to restore the desktops or reconnect the external display, but it gets stuck in what looks like an infinite loop flickering the displays on/off alternatively. This did not lead to any crashes.. so nothing to send to Apple.
- in most cases the crashes happen when switching tabs with cmd+tab.
Crash frequency: It varies wildly, sometimes 3 times in a minute, sometimes after an hour or so.
Crash flavors:
- I have 2 of these although they seem to crash at a different point in the execution stack.
Crashed Thread: 13 com.apple.windowserver.root_queue Dispatch queue: com.apple.coreanimation.mtl_dealloc
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
2.
Crashed Thread: 0 ws_main_thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
3. this one looks different, could not get the exact thread that cause the crash.
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
4. another one that looks completely different
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":8022},