VBoxManage createvm killed all running VMs!?!

Discussions related to using VirtualBox on Linux hosts.
Post Reply
virtualhuman
Posts: 52
Joined: 22. Jan 2013, 22:11

VBoxManage createvm killed all running VMs!?!

Post by virtualhuman »

Hello everyone,

I wanted to create a new VM and run the following command:

Code: Select all

$ VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
VBoxManage: error: The machine is not mutable (state is PoweredOff)
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "ApplyDefaults(bstrDefaultFlags.raw())" at line 290 of file VBoxManageMisc.cpp
And that caused all 7 of my running VMs to die...

Bug or Feature?

PS:
Fedora 30, running: VirtualBox-6.0-6.0.12_133076_fedora29-1.x86_64
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBoxManage createvm killed all running VMs!?!

Post by socratis »

OSX 10.11.6 host:
$ VBoxManage -version
6.0.13r133800
$ VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
VBoxManage: error: The machine is not mutable (state is PoweredOff)
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "ApplyDefaults(bstrDefaultFlags.raw())" at line 290 of file VBoxManageMisc.cpp
$ VBoxManage -version
6.1.0_BETA1r133703
$ VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
Virtual machine 'the-server' is created and registered.
UUID: 1414d53e-ab60-4785-854d-86e939c0e11a
Settings file: '/Users/Shared/VirtualBox/Machines/the-server/the-server.vbox'
Win10-64 host:
U:\>VBoxManage -version
6.0.13r133800
U:\>VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
VBoxManage.exe: error: The machine is not mutable (state is PoweredOff)
VBoxManage.exe: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "ApplyDefaults(bstrDefaultFlags.raw())" at line 290 of file VBoxManageMisc.cpp
U:\>VBoxManage -version
6.1.0_BETA1r133703
U:\>VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
Virtual machine 'the-server' is created and registered.
UUID: 67eade39-3a3a-4a87-87c7-227959fd79be
Settings file: 'U:\VirtualBox\Machines\the-server\the-server.vbox'
Mint19 host:
$ VBoxManage -version
6.0.12r133076
$ VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
VBoxManage: error: The machine is not mutable (state is PoweredOff)
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "ApplyDefaults(bstrDefaultFlags.raw())" at line 290 of file VBoxManageMisc.cpp
$ VBoxManage -version
6.1.0_BETA1r133812
$ VBoxManage createvm --name the-server --ostype "Windows10_64" --register --default
Virtual machine 'the-server' is created and registered.
UUID: 77b3fbcb-07ef-4c5b-a853-f87d3a001665
Settings file: '/media/Common/VirtualBox/Machines/the-server/the-server.vbox'
I think you might be onto something here...
virtualhuman wrote:And that caused all 7 of my running VMs to die...
I think that this would be the result of "VBoxSVC" dying. I couldn't reproduce that aspect on my setups...
virtualhuman wrote:Bug or Feature?
Unequivocally a bug. A bug that's been fixed with 6.1.0b1, but a bug that definitely deserves a ticket for 6.0.x. Do you want me to open one, or will you do the honors?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply