Ticket #8005 (closed defect: obsolete)

Opened 10 years ago

Last modified 6 years ago

VBoxManage.exe crashes when unregistering a VM with no storage

Reported by: jrcutler Owned by:
Component: VM control Version: VirtualBox 4.0.0
Keywords: VBoxManage.exe unregistervm delete Cc:
Guest type: other Host type: Windows

Description (last modified by frank) (diff)

It appears that attempting to unregister and delete a VM with no attached storage causes VBoxManage.exe to crash.

Steps to reproduce:

  1. Create and register an "empty" VM
    C:\Program Files\Oracle\VirtualBox>VBoxManage.exe createvm --name Test --register
    Virtual machine 'Test' is created and registered.
    UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    Settings file: 'C:\Users\<username>\VirtualBox VMs\Test\Test.vbox'
  2. Attempt to unregister and delete the VM
    C:\Program Files\Oracle\VirtualBox>VBoxManage.exe unregistervm Test --delete
    VBoxManage.exe: error: Code RPC_E_SERVERFAULT (0x80010105) - The server threw an
     exception (extended info not available)
    Context: "Delete(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam())" at line
     167 of file VBoxManageMisc.cpp

At this point, a crash dialog will pop up with the following text (Windows 7 x64 host):

VBoxManage.exe has stopped working

A problem caused the program to stop working
correctly. Please close the program.

 -> Close the program

Change History

comment:1 Changed 10 years ago by jrcutler

comment:2 Changed 9 years ago by mapsonyllaer

vboxmanage unregistervm xxx --delete always crashes for me, even if storage is attached. To reproduce, create a new VM with the Oracle VM VirtualBox Manager, accepting all defaults. This creates a new VM with a harddisk. Now delete the VM with vboxmanage and you will receive the same error as noted above.

My Host type is w2k8@64.

comment:3 Changed 9 years ago by frank

Confirmed. Windows 64-bit host problem.

comment:4 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use