You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

WindowServer crashing repeatedly since upgrade to Ventura

Since I upgraded my MacBook Pro (14 inch, 2021, M1 Pro) to Ventura (macOS 13.0 22A380), I repeatedly get logged out of macOS. After logging in I see a crash report for WindowServer.


This happens seemingly at random. Sometimes I can work for hours without a problem and at other times the WindowServer crashes about every two minutes which is severely disrupting and renders the MacBook unusable. As far as I can tell so far, the crashes don't correlate with any particular pattern in user activity or app usage and appear to be completely random.


I am using the MacBook with an external 4K LG display and other users on Reddit report that disconnecting the external display and only using the internal display remedies the crashes. But obviously this cannot be a proper solution.


Is anybody else experiencing this and/or knows about a better workaround then to forgo the use of an external display?

Posted on Oct 28, 2022 4:34 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 5, 2022 4:13 AM

Yeah, sounds like a default "first responder" response (see also "Old Toads" reply in this thread: WindowServer crashing repeatedly since up… - Apple Community).


It's especially funny (or useless), because this problem seems to only affect Apple Silicon Macs and, according to Macworld, they don't have SMC and don't provide a mechanism to reset NVRAM manually: https://www.macworld.com/article/224955/how-to-reset-a-macs-nvram-pram-and-smc.html

Similar questions

97 replies
Question marked as Top-ranking reply

Dec 5, 2022 4:13 AM in response to dudeontour

Yeah, sounds like a default "first responder" response (see also "Old Toads" reply in this thread: WindowServer crashing repeatedly since up… - Apple Community).


It's especially funny (or useless), because this problem seems to only affect Apple Silicon Macs and, according to Macworld, they don't have SMC and don't provide a mechanism to reset NVRAM manually: https://www.macworld.com/article/224955/how-to-reset-a-macs-nvram-pram-and-smc.html

Dec 7, 2022 6:32 AM in response to reitermoritz

I just had a call with Apple Support. Of course the friendly staffer recommended the usual "first responder" stuff like starting in safe mode, reinstalling macOS... (I'm not blaming them, what else should they do?).


I explained that there are hundreds of users who reported the same the problem here in the forum and that I am am pretty convinced that we are dealing with an actual macOS bug and not some individual problem on a single machine that could be fixed with a re-insall. The staffer was quite sympathetic and ensured me to forward my feedback to their manager.


They also recommended me to provide a bug report at Product Feedback - Apple in order to increase chances that the responsible team will become aware of the problem. I filed it under the "MacBook Pro" category because that's the device I'm using, but actually the "macOS" category would probably have been more appropriate.


It seems like reports from that feedback form have a higher chance to actually get read by Apple staffers compared to the community support forum, so it would probably help if more of you could use it to report the problem :)

Nov 16, 2022 8:17 AM in response to reitermoritz

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:

  1. 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},

Oct 28, 2022 2:03 PM in response to reitermoritz

My 2020 Macbook Air kept crashing with sudden disconnection when using the USB-C docking station with an external display every so often (like once every 45 minutes to one hour) after I upgraded to Ventura OS. I suspect it may be due to the USB-C privacy protection feature from the new OS. The docking station I use is the Totu USB-C Dock TT-DC002A (https://www.amazon.com/TOTU-Upgraded-Universal-Charging-Extended/dp/B0838WTFD1/ref=sr_1_3_sspa?crid=10T4MHAMHEUDS&keywords=Totu%2BUSB-C%2BDock%2BTT-DC002A&qid=1666989763&qu=eyJxc2MiOiIwLjg3IiwicXNhIjoiMC4wMCIsInFzcCI6IjAuMDAifQ%3D%3D&s=electronics&sprefix=totu%2Busb-c%2Bdock%2Btt-dc002a%2Celectronics%2C890&sr=1-3-spons&th=1). I have tried using two different docking stations of the exact same model and reverted back to the Monterey OS without the disconnection, so I have confirmed the hardware is functional. I appreciate it if someone could have a solution to the issue. Thanks!

Nov 4, 2022 12:12 PM in response to Guillermo1984

I saw a reddit thread that said that it was related to command-tab and apps running in full-screen mode. I have a 16" 2019 MBP (i9), and have stopped running any apps in full-screen mode. I haven't had a window server crash since then.


To coin a phrase from another post, I'm cautiously optimistic :-)


Here's a link to the thread: https://www.reddit.com/r/MacOS/comments/yczalk/ventura_random_window_server_crash/

Nov 28, 2022 1:05 PM in response to reitermoritz

Thank you for making my comment as a solution, although I would only qualify it as a workaround.


Maybe to add some hints to work around some other inconveniences:


Really looking forward to the fix from Apple!


Dec 9, 2022 1:48 PM in response to SidiBombay

Interesting datapoint - I went back to my old two external monitor set up for a work reason. USB C to HDMI. The only thing different is that they are 1080P monitors - 27in. I have been free of crashes since the change back (knocking on wood).


My home and office had been using Samsung UHD widescreen displays and the problem seemed to begin around the time I made that change. I can't say exactly, but that seems right.


I am going to try the MBP at home this weekend on the UHD and leave the dual monitor set up running at the office and see if the problem continues in one location but not the other.


Curious - how many of you with this problem are plugged into 1080P monitors vs something bigger/better?


Nov 14, 2022 1:17 PM in response to reitermoritz

No. Have you installed and run any "cleaning", "optimizing", "speed-up", anti-virus or VPN apps on your Mac?


Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.


Dec 5, 2022 4:02 AM in response to reitermoritz

Hi. For what it is worth, just contacted apple support via chat. I received the following suggestions:

  1. Reset SMC
  2. Reset NVRAM 


Anyone already tested this or spoke to apple support as well? SMC doesn't seem to be making sense to me (but then who knows). NVRAm maybe more but not sure. The support guy initially didn't know what the Window Server is, so the advice seems to be a standard suggestion.


Just thought I'll post it here as the window crash really is annoying. I have it also for Apple Studio Display.

WindowServer crashing repeatedly since upgrade to Ventura

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