id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host 15206,"VirtualBox 5.x errors when deleting a snapshot, while VM is running or paused",Jacob Klein,,"VirtualBox 5.x errors when deleting a snapshot, while VM is running or paused Steps to Reproduce the problems (Tested on Windows 10 Production, fully patched, Version 1511 Build 10586.122): Prep: 1) Download a pre-made VM. For my example, I downloaded the ""IE6 on XP"" ""VirtualBox"" VM from: https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/ ... and extracted it. 2) Uninstall VirtualBox, then install the version of VirtualBox that you want to test Problem 1: Deletion of snapshot, while VM is running, fails: 1) Remove any instances of the VM you are testing 2) Double-click the "".ova"" file and Import the Virtual Appliance, or add your VM Machine to the VirtualBox Manager 3) Start the VM. If using 5.x, then start the VM using ""Normal Start"" 4) Let the VM run for a minute or so 5) While the VM is ""Running"", take a snapshot called ""Snapshot 1"". While the snapshot is being saved, if on 5.x, you'll see it say ""Taking Online Snapshot"" 6) While the VM is ""Running"", take another snapshot called ""Snapshot 2"". 7) While the VM is ""Running"", try to delete ""Snapshot 1"". Problem 2: Deletion of snapshot, while VM is paused, fails: 1) Redo steps 1-6 above 2) Pause the VM 3) While the VM is ""Paused"", try to delete ""Snapshot 1"". Expected Results: The snapshots get merged such that ""Snapshot 1"" is successfully deleted Current Results: 4.3.37 r105748: The UI says ""Merging differencing image"" for several seconds, then successfully deletes ""Snapshot 1"" without error 5.0.16 r105871: Failed to delete the snapshot Snapshot 1 of the virtual machine IE6 - WinXP. Result Code: E_FAIL (0x80004005) Note 1: From what I could tell, there is nothing useful in the .log file. So please follow the steps above to easily reproduce the problems. Note 2: Deleting the snapshot while the VM is Powered Off, *does* seem to work correctly using VirtualBox 5.x. Note 3: BOINC uses the VirtualBox COM API, in order to perform operations. I briefly inspected the code, and it seems to me that BOINC may not be getting an ""error return value"" when this snapshot deletion error occurs. So, this may be an additional bug, I'm not sure. Thanks, Jacob Klein",defect,closed,VM control,VirtualBox 5.0.16,fixed,delete deleting snapshot,Jacob_W_Klein@…,all,Windows