VirtualBox

Opened 13 years ago

Closed 10 years ago

#8005 closed defect (obsolete)

VBoxManage.exe crashes when unregistering a VM with no storage — at Version 4

Reported by: Justin R. Cutler 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 Mehnert)

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 (4)

comment:1 by Justin R. Cutler, 13 years ago

comment:2 by mapsonyllaer, 13 years ago

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 by Frank Mehnert, 13 years ago

Confirmed. Windows 64-bit host problem.

comment:4 by Frank Mehnert, 10 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use