Errors when programmatically stopping Windows VMs on 6.1.28

Discussions related to using VirtualBox on Linux hosts.
challengeursli
Posts: 20
Joined: 21. Oct 2021, 14:52

Re: Errors when programmatically stopping Windows VMs on 6.1.28

Post by challengeursli »

Second part of log attached.
Attachments
VBox-sigkill.log
(68.18 KiB) Downloaded 9 times
klaus
Oracle Corporation
Posts: 1134
Joined: 10. May 2007, 14:57

Re: Errors when programmatically stopping Windows VMs on 6.1.28

Post by klaus »

From your log file the guest OS requests the poweroff (through ACPI - the host can't trigger this case). I suspect the problem is that you're "racing" this with another external poweroff request. Which will randomly fail (if the VM is already powering off) or succeed. Or I think there is a 3rd option: it will hang because the 2 concurrent poweroff requests are causing confusion. Will be difficult to reproduce, because very likely this needs a very specific timing.

Once the VM is hung due to this poweroff confusion then you won't be able to kill it any more with -2 since VirtualBox 6.1.26.
Post Reply