Skip to content
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

Main window's stop button doesn't stop QEMULauncher, causing data corruption if the same VM is launched again #4166

Closed
arroz opened this issue Jun 26, 2022 · 2 comments
Labels
bug Something isn't working macOS macOS issues qemu QEMU related
Milestone

Comments

@arroz
Copy link

arroz commented Jun 26, 2022

Describe the issue

  1. Configure and run a VM.
  2. In the main UTM window (not the VM window), select the running VM and click the stop button on the toolbar. Confirm you want to turn off the VM.
  3. Check in the terminal the QEMULauncher is still running (by running ps xuawww | grep QEMULauncher for example).
  4. Warning: this step will likely corrupt your vm! Launch the VM again.

Now you should have two QEMULauncher processes running, using the same VM image. This will corrupt the image (I've seen an instance where QEMU doesn't launch saying the image is corrupted, and another where it does, but the guest OS wont boot because the image contents corrupted).

Configuration

  • UTM Version: 3.2.4 (58)
  • OS Version: macOS 12.4
  • Apple Silicon (M1, Mac Mini)
  • Guest OS: FreeBSD 13.1 aarch64
@tplueer
Copy link

tplueer commented Jul 3, 2022

I have the same problem, but it also occurs when I try to stop vm directly inside the vm window. For me, the problem occurs every 3-4th time.

OS Version macOS 12.4
Apple M1 Max
Guest OS: Ubuntu 22.04 ARM64

@conath conath added bug Something isn't working qemu QEMU related macOS macOS issues labels Jul 8, 2022
@osy osy modified the milestones: Future, v4.0 Jul 30, 2022
@osy
Copy link
Contributor

osy commented Jul 31, 2022

When you do this, do you see the progress indicator show up or does it stop "immediately"?

Nvm, found the issue.

@osy osy closed this as completed in 10166e3 Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS macOS issues qemu QEMU related
Projects
None yet
Development

No branches or pull requests

4 participants