Skip to content

No VM can start after quitting and starting UTM again #7583

@amolinas

Description

@amolinas

Describe the issue

From a cold boot, everything works fine. After a first use of UTM and it VMs everything is closed properly, including UTM.

Then, after starting UTM again no one of all the VMs can start. The VM console is black and it shows the spinning wheel forever. The windows has to be closed and the QUEMULauncher process has to be killed manually.

The only way to make UTM work again is rebooting the machine.

This only happens after upgrading macOS from version 15 Sequoia to version 16 Tahoe.

Configuration

  • UTM Version: 4.7.5, also tried 5.0.0 beta with the same result
  • macOS Version: 26.2
  • Mac Chip: M1 Pro (MacBookPro18,3)

Crash log

There is no crash.

Debug log

This is an example from one VM, all of them show the same behaviour, whatever the guest OS and its configuration (based on the defaults for the guest), be it Linux, Windows or other (FreeBSD at the moment).

========================================

Launching: qemu-system-aarch64 -L /Users/xxx/Library/Containers/com.utmapp.UTM/Data/Library/Caches/qemu -S -spice unix=on,addr=3493826D-A066-4CF0-9B85-31268DDB4019.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off -chardev spiceport,name=org.qemu.monitor.qmp.0,id=org.qemu.monitor.qmp -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device virtio-net-pci,mac=E6:86:1B:31:D4:FB,netdev=net0 -netdev vmnet-shared,id=net0 -device virtio-net-pci,mac=46:FD:A7:57:FB:14,netdev=net1 -netdev vmnet-host,id=net1 -device virtio-ramfb -cpu host -smp cpus=1,sockets=1,cores=1,threads=1 -machine virt -accel hvf -drive if=pflash,format=raw,unit=0,file.filename=/Users/xxx/Library/Containers/com.utmapp.UTM/Data/Library/Caches/qemu/edk2-aarch64-code.fd,file.locking=off,readonly=on -drive if=pflash,unit=1,file.filename=/Users/xxx/Library/Containers/com.utmapp.UTM/Data/Documents/loki.utm/Data/efi_vars.fd -m 1024 -audiodev spice,id=audio0 -device intel-hda -device hda-duplex,audiodev=audio0 -device nec-usb-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device qemu-xhci,id=usb-controller-0 -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device virtio-blk-pci,drive=drive1B8188C4-9204-4049-B9BD-2C471D595C2A,serial=1B8188C492044049B9BD,bootindex=0 -drive if=none,media=disk,id=drive1B8188C4-9204-4049-B9BD-2C471D595C2A,file.filename=/Users/xxx/Library/Containers/com.utmapp.UTM/Data/Documents/loki.utm/Data/1B8188C4-9204-4049-B9BD-2C471D595C2A.qcow2,discard=unmap,detect-zeroes=unmap -device virtio-serial -device virtserialport,chardev=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -chardev spiceport,name=org.qemu.guest_agent.0,id=org.qemu.guest_agent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -name loki -uuid 3493826D-A066-4CF0-9B85-31268DDB4019 -device virtio-rng-pci -device virtio-balloon-pci
2026-01-16 08:48:53,664 DEBUG GSpice-../src/spice-session.c:1835 no migration in progress
2026-01-16 08:48:53,664 INFO Spice-../src/channel-main.c:342:spice_main_set_property: SpiceMainChannel::color-depth has been deprecated. Property is ignored
2026-01-16 08:48:53,664 DEBUG GSpice-../src/spice-channel.c:142 main-1:0: spice_channel_constructed
2026-01-16 08:48:53,664 DEBUG GSpice-../src/spice-session.c:2330 main-1:0: new main channel, switching
2026-01-16 08:48:53,664 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:180 new channel (#0)
2026-01-16 08:48:53,664 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:183 new main channel
2026-01-16 08:48:53,665 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:186 [CocoaSpice] cs_channel_new:186
2026-01-16 08:48:53,665 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSSession.m:258 Changing main channel from 0x0 to 0x7c3155cd0
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2763 main-1:0: Open coroutine starting 0x7c3155cd0
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2587 main-1:0: Started background coroutine 0x7c3155aa8
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-session.c:2267 main-1:0: Using plain text, port 0
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-session.c:2190 open unix path 3493826D-A066-4CF0-9B85-31268DDB4019.spice
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-session.c:2120 main-1:0: connecting 0x1244a3e88...
2026-01-16 08:48:53,665 DEBUG GLib-GIO-g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7c6b29500 and GSocketClientAsyncConnectData 0x7c26c47e0
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Starting new address enumeration
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Address enumeration succeeded
2026-01-16 08:48:53,665 DEBUG GLib-GIO-g_socket_client_enumerator_callback: starting connection attempt 0x7c7295a40 for GSocketClientAsyncConnectData 0x7c26c47e0
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Starting TCP connection attempt
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Connection attempt failed: Connection refused
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Starting new address enumeration
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Address enumeration completed (out of addresses)
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Address enumeration failed: (null)
2026-01-16 08:48:53,665 DEBUG GLib-GIO-GSocketClient: Connection failed: Could not connect: Connection refused
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-session.c:2104 main-1:0: connect ready
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-session.c:2279 main-1:0: open host: Could not connect: Connection refused
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2617 main-1:0: Connect error
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2736 main-1:0: Coroutine exit main-1:0
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2926 main-1:0: reset
2026-01-16 08:48:53,665 DEBUG GSpice-../src/channel-main.c:1605 agent connected: no
2026-01-16 08:48:53,665 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:139 [CocoaSpice] SPICE agent connected: 0
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2874 main-1:0: channel reset
2026-01-16 08:48:53,665 DEBUG GSpice-../src/spice-channel.c:2475 main-1:0: Delayed unref channel 0x7c3155cd0
[Vulkan Loader] INFO: Vulkan Loader Version 1.4.337
(qemu-aarch64-softmmu:31062): GLib-DEBUG: 08:48:53.690: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
(qemu-aarch64-softmmu:31062): GLib-DEBUG: 08:48:53.691: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
(qemu-aarch64-softmmu:31062): GLib-DEBUG: 08:48:53.691: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:2987:reds_config_set_image_compression: ic off
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:4398:spice_server_set_seamless_migration: seamless migration enabled=0
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:3485:do_spice_init: starting 0.14.3
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/char-device.c:688:red_char_device_reset_dev_instance: sin 0x0, char device 0x9ab67af50
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: main:0 (0x9ab733260): thread_id 0x1fa4eec40
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: inputs:0 (0x9ab01bc60): thread_id 0x1fa4eec40
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:3423:spice_server_add_interface: SPICE_INTERFACE_MIGRATION
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:3330:spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:3341:spice_server_add_interface: SPICE_INTERFACE_MOUSE
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:3244:spice_server_char_device_add_interface: CHAR_DEVICE port
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: port:0 (0x9ab01bd20): thread_id 0x1fa4eec40
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/char-device.c:688:red_char_device_reset_dev_instance: sin 0x102d67fa0, char device 0x9ab01bed0
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/char-device.c:797:red_char_device_start: char device 0x9ab01bed0
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/reds.c:3244:spice_server_char_device_add_interface: CHAR_DEVICE port
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: port:1 (0x9ab01bf60): thread_id 0x1fa4eec40
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/char-device.c:688:red_char_device_reset_dev_instance: sin 0x102d78c70, char device 0x9ab77c090
(qemu-aarch64-softmmu:31062): Spice-DEBUG: 08:48:53.693: ../server/char-device.c:797:red_char_device_start: char device 0x9ab77c090
2026-01-16 08:48:54,687 DEBUG GSpice-../src/spice-channel.c:2943 main-1:0: channel disconnect 0
2026-01-16 08:48:54,688 DEBUG GSpice-../src/spice-session.c:1835 no migration in progress
2026-01-16 08:48:54,688 DEBUG GSpice-../src/spice-channel.c:2763 main-1:0: Open coroutine starting 0x7c3155cd0
2026-01-16 08:48:54,688 DEBUG GSpice-../src/spice-channel.c:2587 main-1:0: Started background coroutine 0x7c3155aa8
2026-01-16 08:48:54,688 DEBUG GSpice-../src/spice-session.c:2267 main-1:0: Using plain text, port 0
2026-01-16 08:48:54,688 DEBUG GSpice-../src/spice-session.c:2190 open unix path 3493826D-A066-4CF0-9B85-31268DDB4019.spice
2026-01-16 08:48:54,688 DEBUG GSpice-../src/spice-session.c:2120 main-1:0: connecting 0x1244a3e88...
2026-01-16 08:48:54,689 DEBUG GLib-GIO-g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7c6b29500 and GSocketClientAsyncConnectData 0x7c4ffcae0
2026-01-16 08:48:54,689 DEBUG GLib-GIO-GSocketClient: Starting new address enumeration
2026-01-16 08:48:54,689 DEBUG GLib-GIO-GSocketClient: Address enumeration succeeded
2026-01-16 08:48:54,689 DEBUG GLib-GIO-g_socket_client_enumerator_callback: starting connection attempt 0x7c547b360 for GSocketClientAsyncConnectData 0x7c4ffcae0
2026-01-16 08:48:54,689 DEBUG GLib-GIO-GSocketClient: Starting TCP connection attempt
2026-01-16 08:48:54,689 DEBUG GLib-GIO-GSocketClient: TCP connection successful
2026-01-16 08:48:54,689 DEBUG GLib-GIO-GSocketClient: Starting application layer connection
2026-01-16 08:48:54,689 DEBUG GLib-GIO-GSocketClient: Connection successful!
2026-01-16 08:48:54,689 DEBUG GSpice-../src/spice-session.c:2104 main-1:0: connect ready
2026-01-16 08:48:54,690 WARNING GSpice-main-1:0: could not set sockopt TCP_NODELAY: Operation not supported on socket
2026-01-16 08:48:54,690 DEBUG GSpice-../src/spice-channel.c:1419 main-1:0: channel type 1 id 0 num common caps 1 num caps 1
2026-01-16 08:52:31,006 DEBUG GSpice-../src/spice-channel.c:1073 main-1:0: Closing the connection: spice_channel_read() - ret=0
2026-01-16 08:52:31,007 WARNING GSpice-incomplete link header (0/16)
2026-01-16 08:52:31,007 DEBUG GSpice-../src/spice-channel.c:2736 main-1:0: Coroutine exit main-1:0
2026-01-16 08:52:31,007 DEBUG GSpice-../src/spice-channel.c:2926 main-1:0: reset
2026-01-16 08:52:31,007 DEBUG GSpice-../src/channel-main.c:1605 agent connected: no
2026-01-16 08:52:31,007 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:139 [CocoaSpice] SPICE agent connected: 0
2026-01-16 08:52:31,007 DEBUG GSpice-../src/spice-channel.c:2874 main-1:0: channel reset
2026-01-16 08:52:31,008 CRITICAL GSpice-Source ID 181 was not found when attempting to remove it
2026-01-16 08:52:31,008 DEBUG GSpice-../src/spice-channel.c:2475 main-1:0: Delayed unref channel 0x7c3155cd0
2026-01-16 08:52:31,011 DEBUG GSpice-../src/spice-session.c:2027 session: disconnecting 0
2026-01-16 08:52:31,012 DEBUG GSpice-../src/spice-session.c:2370 main-1:0: the session lost the main channel
2026-01-16 08:52:31,012 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:266 [CocoaSpice] cs_channel_destroy:266
2026-01-16 08:52:31,012 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:267 zap main channel
2026-01-16 08:52:31,012 DEBUG GSpice-../src/spice-channel.c:2943 main-1:0: channel disconnect 0
2026-01-16 08:52:31,012 DEBUG GSpice-../src/spice-channel.c:160 main-1:0: spice_channel_dispose 0x7c3155cd0
2026-01-16 08:52:31,012 DEBUG GSpice-../src/spice-channel.c:2943 main-1:0: channel disconnect 12
2026-01-16 08:52:31,013 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:316 spice connection destroyed
2026-01-16 08:52:31,013 DEBUG GSpice-../src/spice-channel.c:178 main-1:0: spice_channel_finalize 0x7c3155cd0
2026-01-16 08:52:31,013 DEBUG GSpice-../src/spice-session.c:1835 no migration in progress
2026-01-16 08:52:31,013 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSConnection.m:400 [CocoaSpice] -[CSConnection dealloc]:400
2026-01-16 08:52:31,014 DEBUG (null)-/Users/runner/Library/Developer/Xcode/DerivedData/UTM-dvmyhbidkwloypgyhnsbsjplkmog/SourcePackages/checkouts/CocoaSpice/Sources/CocoaSpice/CSSession.m:332 [CocoaSpice] -[CSSession dealloc]:332
2026-01-16 08:52:31,014 DEBUG GSpice-../src/spice-session.c:332 session dispose
2026-01-16 08:52:31,014 DEBUG GSpice-../src/spice-session.c:1835 no migration in progress
2026-01-16 08:52:31,014 WARNING GSpice-(../src/spice-session.c:339):spice_session_dispose: runtime check failed: (s->disconnecting == 0)
2026-01-16 08:52:31,014 DEBUG GSpice-../src/usb-backend.c:483 handle_libusb_events <<
2026-01-16 08:52:31,015 DEBUG GSpice-../src/usb-backend.c:540 spice_usb_backend_delete >>
2026-01-16 08:52:31,015 DEBUG GSpice-../src/usb-backend.c:553 spice_usb_backend_delete <<

========================================

Upload VM

The issue is not related to a specific VM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions