VirtualBox

Opened 13 years ago

Last modified 10 years ago

#8005 closed defect

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

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

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

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use