WindowServer crashing when running Win10 VM

This post was originally published on this site

Hi everyone,

 

I am using VMware Fusion 11.5 on my MacBook Pro (15″, 2018) and for a couple of weeks now, my whole system has become mostly unusable when the VM is running.

 

The issue emerged when using macOS Catalina 10.15.5, so I do not think it is related to the known issue relating to the memory leak. Since then I have updated to 10.15.6, but the issue remains. I have not yet encountered the memory leak as the system is crashing before. The problem exists in both VMware Fusion 11.5.5 and 11.5.6.

 

What is happening? When using the VM over time the whole system (both guest OS and host OS) hangs for some seconds every other minute. After some of these freezes (sometimes just a few minutes, sometimes after an hour), everything goes black, I am back at the macOS login screen. When logging in, the VMware is not visible anymore (but still running), so I have to suspend and restart the VM. Then, again, I have a couple of minutes running the VM until the same issue happens again.

 

  • Using a freshly booted host and/or guest OS does not make any difference.
  • The issue only occurs when the VM is running – absolutely no problems, when the VM is turned off or suspended.
  • It seems to me the issue occurs more quickly when I have many windows open, but I haven’t validated this systematically yet.
  • Deactivating 3D acceleration does not solve this issue.

 

When looking at Console.app the culprit seems to be macOS’ WindowServer (see attached crash report):

 

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


Date/Time:             2020-08-08 13:01:17.161 +0200
OS Version:            Mac OS X 10.15.6 (19G73)
Report Version:        12
Bridge OS Version:     4.6 (17P6065)
Anonymous UUID:        083DF09A-B169-7F44-E3EB-1E021FF1CEDC




Time Awake Since Boot: 10000 seconds


System Integrity Protection: enabled


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


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

 

In system.log I see a couple of messages, but I have those mdworker-logs also when the system does not freeze:

 

Aug  8 12:55:39 MacBook-Pro-3 VTDecoderXPCService[74544]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated; set a breakpoint on _dispatch_bug_deprecated to debug
Aug  8 12:55:39 MacBook-Pro-3 VTDecoderXPCService[74544]: DEPRECATED USE in libdispatch client: Changing target queue hierarchy after xpc connection was activated; set a breakpoint on _dispatch_bug_deprecated to debug
Aug  8 12:55:39 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.mdmclient.74575): Failed to bootstrap path: path = /usr/libexec/mdmclient, error = 108: Invalid path
Aug  8 12:55:40 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.backupd.74579): Failed to bootstrap path: path = /System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd, error = 2: No such file or directory
Aug  8 12:56:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0700-0000-0000-000000000000[74580]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0300-0000-0000-000000000000[74570]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0700-0000-0000-000000000000[74583]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:19 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0400-0000-0000-000000000000[74584]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:19 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.04000000-0200-0000-0000-000000000000[74586]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:19 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.07000000-0200-0000-0000-000000000000[74110]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:22 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0400-0000-0000-000000000000[74582]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:44 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0100-0000-0000-000000000000[74588]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:56:48 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0700-0000-0000-000000000000[74587]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.09000000-0100-0000-0000-000000000000[74571]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0200-0000-0000-000000000000[74581]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.06000000-0100-0000-0000-000000000000[74578]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:49 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[75390]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:49 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0500-0000-0000-000000000000[75216]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:49 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0500-0000-0000-000000000000[75295]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:57:57 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.06000000-0200-0000-0000-000000000000[75759]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:58:13 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.CloudDocs.MobileDocumentsFileProvider[74229]): Service exited due to SIGKILL | sent by launchd[1]
Aug  8 12:59:06 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0600-0000-0000-000000000000[76153]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 12:59:39 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.07000000-0300-0000-0000-000000000000[75296]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:00:22 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.TouchBarServer.410): Failed to bootstrap path: path = /usr/libexec/TouchBarServer, error = 108: Invalid path
Aug  8 13:00:30 MacBook-Pro-3 Microsoft Edge[74537]: BUG in libdispatch client: mach_recv, monitored resource vanished before the source cancel handler was invoked { 0x7fa521424370[source], ident: 73275 / 0x11e3b, handler: 0x106ea92f0 }
Aug  8 13:01:07 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0100-0000-0000-000000000000[77924]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:07 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0200-0000-0000-000000000000[77980]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:07 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0D000000-0000-0000-0000-000000000000[77981]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:07 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0700-0000-0000-000000000000[77979]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:08 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0200-0000-0000-000000000000[77978]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:08 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0400-0000-0000-000000000000[77976]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:08 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[77975]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[77977]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.06000000-0200-0000-0000-000000000000[77973]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.04000000-0300-0000-0000-000000000000[77974]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0300-0000-0000-000000000000[77847]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0600-0000-0000-000000000000[76560]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.09000000-0200-0000-0000-000000000000[77972]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.07000000-0400-0000-0000-000000000000[77637]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:09 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0700-0000-0000-000000000000[77821]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:12 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0200-0000-0000-000000000000[77982]): Service exited due to SIGKILL | sent by mds[195]
Aug  8 13:01:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.WindowServer[288]): Service exited due to SIGABRT
Aug  8 13:01:17 MacBook-Pro-3 sessionlogoutd[78459]: DEAD_PROCESS: 252 console
Aug  8 13:01:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.ViewBridgeAuxiliary[78461]): Service exited with abnormal code: 2
Aug  8 13:01:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.imklaunchagent): This service is defined to be constantly running and is inherently inefficient.
Aug  8 13:01:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.coreservices.UASharedPasteboardProgressUI): Unknown key for Boolean: DrainMessagesAfterFailedInit
Aug  8 13:01:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.UserEventAgent-LoginWindow): This service is defined to be constantly running and is inherently inefficient.
Aug  8 13:01:17 MacBook-Pro-3 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.loginwindow.78463.4294967295): com.apple.universalaccessd (lint): The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.

 

I have attached the vmware-vmfusion.log file, but could not find any evident problem there as well.

 

Using Google or searching the communities did not reveal any issue that might be related except for the memory leak bug, but since the problem occured already in the previous version of Catalina I do not think it is related.

 

Any ideas how to resolve this except for re-installing both guest and host OS?

 

Thanks

Christopher

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.