-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS host crashes and reboots when launching Windows ARM VM. #6919
Comments
macOS didn't crash this time around but this error happened when I tried to launch a Windows VM:
|
Can you attach your config.plist? |
The same to me. The image I am using is Windows 11 ARM64 .iso |
I've observed this as well (OS X 15.2, M2 Max) - Darwin 24.2.0 kernel panics and reboots. It seems to be related to the update to arm64-Windows 11 24H2. |
I prefer using Win10 22H2 Arm64, may I know if someone successfully installed that one? |
Also on 15.2 and M2 Max and having the same issue as you with the new 24H2 ISO. Would you be able to show your kernel panic logs? Just curious because when I looked up mine, I saw stuff about hardware issues. (Multi-hit Error on L1-iTLB-MainArray) However, I wasn't able to trigger any instability with stress tests nor have I experienced any issues (other than this) with months of daily use, so I'm confused. Edit: using the latest ISO from CrystalFetch instead of MS website results in QEMULauncher process crash instead of whole system kernel panic |
sure (it contains the same "Multi-hit Error ..."): |
I got the same error message, but was able to resolve this by going into System and manually changing the core count from Default to 4 on an M1 Mac. |
seeing this as well on M2, 13.4 host with Win 11. |
I get this exact error when trying to run NetBSD aarch64 (evbarm64) under virtualization on an M2 MacOS 15.2 with UTM 4.6.4 (107) so this is not limited to just Windows. For what it is worth this same VM works on the previous release of UTM.
I already have my CPU count set manually to 4 so the fix above does not resolve for me. Changing the CPU type from "Default" to something like Cortex-a53 does not resolve the issue either. |
|
Same problem on M3 Macbook Pro OS15.3 UTM4.6.4 Problem fixed by using CrystalFetch to get alternative .iso |
For those experiencing this issue, can you try changing the VM Display settings and changing the Emulated Display Card from virtio-ramfb-gl to "ram framebuffer standalone device (ramfb)"? Let me know if you still get this issue. |
Seems to work fine |
When it crashes with virtio-ramfb-gl, do you ever see the UTM logo when starting the VM? Or is it a black screen? |
It now keeps spinning on boot, spoke too soon. |
@thcasssio @brassinc @somnisomni @kylematoba @dyl421421 |
@dmitry-stepanenko please use https://github.com/utmapp/UTM/actions/runs/13449913064/artifacts/2628266613 along with virtio-ramfb-gl for detailed error information and paste it here |
Hi @osy, I've tried your build with virtio-ramfb-gl two times with the same result. Installation in fullscreen works better. At the first reboot during installation I'm getting the the following error message: qemu-aarch64-softmmu: Failed to handle EC_DATAABORT. ISV=0 with PC=0x12a9a5310: 0x6F9A6830. Please report this bug. In addition, QEMULauncher crashes: After resetting the VM the installation continues and finishes. |
I made a special build that can work around this issue but is extremely slow. I want people who experience this issue to use this build and enable a special log which will record all instruction that would have crashed and attempt to emulate it. The fact that it tries to emulate every possible instruction makes it quite slow. If I can get a trace of which instructions are causing the crash, I can release a fix which will only emulate those instructions. How to generate detailed logging for this issue
|
For me I notice most of my issues during (re)booting of a Windows 11 24H2 guest on a macOS host. Where it hangs during reboot. Using the debug build from: https://github.com/utmapp/UTM/actions/runs/13459411353/artifacts/2631117697 Here your debug build of UTM hung at the "Start boot option" screen directly after a Windows reboot. Here only on the second reboot of the Windows VM it hung: At none of these I saw the hvf.c error popup, nor did macOS itself crash with the purple flash on the screen. So it might be another issue entirely. Once it hanged, I used the on/off button of the VM to turn it off, so I could get a debug log export. Edit: I don't really see anything that looks like assembly for whatever 'TB' is (Table Buffer?). So not sure what the |
@HenkPoley before downloading the new build did you see a crash with the error message "QEMU exited from an error: Assertion failed: (isv), function hvf_vcpu_exec, file hvf.c, line 2065."? In the log you should see entries like
|
Hi @osy, I've tried your most recent build. (1) I had to reboot ~5 times to get around this "Display output is not active" issue (switching fullscreen didn't work reliably - this worked before) (2) Windows 11 Home installation worked fine! Also the installation of guest tools: (3) Windows offered me an update to 24H2 - installation of the update worked - the reboot then caused Mac OS X host to panic and to reboot: |
Great, your second log captured these instructions:
I still don't know why there is a panic though. I wonder if this is a macos issue. Can you confirm that previous version of UTM doesn't cause a panic? |
Any chance you can try on the latest macOS 15.4 beta to see if the panic is still an issue? |
I experience the same, and have some more details on this particular case of the problem:
![]()
![]()
![]() WIth the debug build, I get to "Display output is not active" (like in the other 4.6.x) which is better than a crash, but still worse than 4.5.4. Here are the instructions for setting up the NetBSD VM, in case you want to try it locally. I'm told that the qemu script referenced at the bottom still works, but that has quite a different list of qemu options than UTM uses. |
If it's of any help, first time I installed a VM it worked and I got a windows working. |
Describe the issue
macOS host occasionally crashes, the screen flickers purple and then a reboot of my entire device occurs when launching a Windows VM (24H2). The issue is not always reproducible. Will attach a debug log when the issue occurs again but I have a crash log. Maybe related to the latest fix regarding the GPU driver for Windows 24H2.
Configuration
Crash log
QEMULauncher.txt
The text was updated successfully, but these errors were encountered: