Describe the bug
I was using the 1.14 RC5 macOS GUI client and it crashed unexpectedly when I switched off the "Allow privileged mounts" setting. The daemon caused it to suspend a running instance, which didn't suspend as expected and the daemon failed to quit, with the image becoming corrupted. I had to kill processes manually to be able to use Multipass again. The affected instance is still in suspended mode and cannot be started or stopped (even with --force option).
For our future reference, there are two issues here:
the daemon is sometimes unable to exit when there are running instances. I believe that the daemon process gets blocked when joining threads, just before quitting, because at least one of them is blocked (most likely the one attempting to suspend an instance). That prevents the process from exiting. This may be more easily reproduced with parallel info/list requests (as in the GUI)
Suspending QEMU instances sometimes corrupts them. The best hypothesis we have is that this happens when the QEMU process is killed after the suspension snapshot is created — manually in this case, but usually by the daemon.
Describe the bug I was using the 1.14 RC5 macOS GUI client and it crashed unexpectedly when I switched off the "Allow privileged mounts" setting. The daemon caused it to suspend a running instance, which didn't suspend as expected and the daemon failed to quit, with the image becoming corrupted. I had to kill processes manually to be able to use Multipass again. The affected instance is still in suspended mode and cannot be started or stopped (even with --force option).
Logs multipassd.log.zip
Additional info
multipass version
:multipass info
: multipass-info.txtmultipass get local.driver
: qemu