-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Alert when QEMU fails to launch doesn't include error message #3369
Comments
Please try this: add English to the preferred languages list in System Preferences => Language & Region. This way UTM will show English UI. |
Unfortunately, the Debug Log is blank. This leads me to believe there is a system error that occurs before UTM can even start the VM properly. Have you tried restarting your Mac? Does this error occur with x86_64 VM as well? Please try creating a new VM with x86_64 system and starting that. |
The default app language is set to English.
I restarted UTM and my Mac few times. This problem happens with x86_64 VM's as well. |
that’s not what I asked you to do:
English doesn’t have to be the default system language, it just has to be in the list. |
I meant exactly that. It is on the list, but it is set as the default language as well. |
Ok thanks for double-checking. I would like to solve this, so let's try another way to get some technical diagnostic data from your Mac. Have you used the Console app before? We can get a detailed log from it. Here's the steps to get additional info via Console app:
Thank you in advance! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
FWIW I just tested what I assume is the same ArchLinux ARM VM from the UTM Gallery website:
So I can't reproduce this. My setup:
|
I think that it is an with QEMU error and not with the UTM it self. |
Here I attach additional log after trying to start the VM, not just UTM. |
I am having the exact same problem. Configuration
|
Here is the relevant part from @zakhil-dev new system log:
The lines that begin with UTM attempts to start the QEMU backend with management port at local TCP 4000 ( @zakhil-dev do you have some kind of Firewall enabled, or are you seeing a "QEMUHelper" crash report appear? It might be useful to re-do the test and instead of searching for "utm" in the Console, search for "qemu". |
The only firewall which was running was the system one. I have turned it off, but the error still occurred. Down below I attach logs from the Console app after searching "qemu" in it. |
Just updated to MacOS 12.1, and I want to let you know that the issue is still happening. |
There are three errors in this log:
I just successfully started a UTM VM on my Mac and my System Log also includes the first two errors, but not the last one. This line of log and the error alert text is generated in the following lines of UTM code: Lines 127 to 128 in 6524c73
So here in line 128 we have the bug that leads to the missing information in the popup. The returned text does not include the underlying error message, that should be fixed. As to the actual error why you can't launch VMs, I am not sure what causes "Operation not permitted". Maybe your macOS user isn't admin? (not sure if this is required, actually - just guessing) |
I'm seeing the same error after upgrading to macOS 12.1. FWIW I don't have any
Is this related? Does UTM maintain its own internal qemu binaries or does it search PATH? Are there any known fixes for this? |
Re-downloading and re-installing UTM "solved" the issue for me. |
@samuela UTM is a sandboxed Mac app, so you won't find its included version of QEMU as a standalone binary. In other words, there is no need to install QEMU separately, unless you want to run VMs without UTM. Thank you for letting us know you were able to resolve your issue by reinstalling. @zakhil-dev and @SimaoDias might also want to try this. Your VMs are not deleted when you reinstall UTM. |
I will check this out asap and let you know if it helped. |
For me full reinstall resolved the issue |
Hi @conath. I uninstalled UTM and installed it fresh from https://mac.getutm.app. It is working now. My configuration is the same. Did the dmg package change? I didn't update my OS UTM Version: Version 2.4.1 (40) |
No, the dmg did not change. Not sure what’s at fault here, either a file permission error or another macOS security system that interferes with launching the QEMU process. |
Re-opening because the UI bug remains: we need to show a meaningful error message. |
I just got my first Apple Silicon Mac (M1 Mac Mini, for what it's worth) and ran into this problem, as well as a different "solution"/workaround. Basic steps to reproduce:
The workaround is to ETA: I forgot to mention, this is with UTM 3.2.4. |
Reinstalling UTM solved the issue |
Just in case this helps anyone in future. I had a similar issue with UTM not being able to launch a VM post an update of UTM with an error of "Operation not permitted". After a bit of digging, I found that the QEMULauncher had been quarantined by MacOS Safari due to being downloaded. To check:
Note the To fix:
|
Describe the issue
After starting ANY vm, immediately an error pops up saying: "启动 QEMU 时出错". App language in the system preferences is set to English.
Configuration
Crash log
No crash log is available after that error.
Debug log
QEMU Debug Log: debug.log
Upload VM
VM Direct Download Link
The text was updated successfully, but these errors were encountered: