VirtualBox

Changes between Initial Version and Version 1 of Ticket #15206, comment 1


Ignore:
Timestamp:
Mar 7, 2016 8:16:08 AM (8 years ago)
Author:
Frank Mehnert

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15206, comment 1

    initial v1  
    11My apologies for the bad spacing in the original post. Here's the same text, with the steps spaced correctly so it is a bit easier to read:
    2 ----
    3 VirtualBox 5.x errors when deleting a snapshot, while VM is running or paused
     2
     3!VirtualBox 5.x errors when deleting a snapshot, while VM is running or paused
    44
    55Steps to Reproduce the problems (Tested on Windows 10 Production, fully patched, Version 1511 Build 10586.122):
    66
    7 Prep:[[BR]]
    8 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.[[BR]]
    9 2) Uninstall VirtualBox, then install the version of VirtualBox that you want to test
     7Prep:
     8 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.
     9 2. Uninstall !VirtualBox, then install the version of !VirtualBox that you want to test
    1010
    11 Problem 1: Deletion of snapshot, while VM is running, fails:[[BR]]
    12 1) Remove any instances of the VM you are testing[[BR]]
    13 2) Double-click the ".ova" file and Import the Virtual Appliance, or add your VM Machine to the VirtualBox Manager[[BR]]
    14 3) Start the VM. If using 5.x, then start the VM using "Normal Start"[[BR]]
    15 4) Let the VM run for a minute or so[[BR]]
    16 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"[[BR]]
    17 6) While the VM is "Running", take another snapshot called "Snapshot 2".[[BR]]
    18 7) While the VM is "Running", try to delete "Snapshot 1".
     11Problem 1: Deletion of snapshot, while VM is running, fails:
     12 1. Remove any instances of the VM you are testing
     13 2. Double-click the ".ova" file and Import the Virtual Appliance, or add your VM Machine to the !VirtualBox Manager
     14 3. Start the VM. If using 5.x, then start the VM using "Normal Start"
     15 4. Let the VM run for a minute or so
     16 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"
     17 6. While the VM is "Running", take another snapshot called "Snapshot 2".
     18 7. While the VM is "Running", try to delete "Snapshot 1".
    1919
    2020Problem 2: Deletion of snapshot, while VM is paused, fails:[[BR]]
    21 1) Redo steps 1-6 above[[BR]]
    22 2) Pause the VM[[BR]]
    23 3) While the VM is "Paused", try to delete "Snapshot 1".
     21 1. Redo steps 1-6 above
     22 2. Pause the VM
     23 3. While the VM is "Paused", try to delete "Snapshot 1".
    2424
    2525Expected Results:[[BR]]
     
    2828Current Results:
    2929
    30 4.3.37 r105748: The UI says "Merging differencing image" for several seconds, then successfully deletes "Snapshot 1" without error
     304.3.37 !r105748: The UI says "Merging differencing image" for several seconds, then successfully deletes "Snapshot 1" without error
    3131
    32 5.0.16 r105871: Failed to delete the snapshot Snapshot 1 of the virtual machine IE6 - WinXP. Result Code: E_FAIL (0x80004005)
     325.0.16 !r105871: Failed to delete the snapshot Snapshot 1 of the virtual machine IE6 - WinXP. Result Code: E_FAIL (0x80004005)
    3333
    3434Note 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.[[BR]]
    35 Note 2: Deleting the snapshot while the VM is Powered Off, *does* seem to work correctly using VirtualBox 5.x.[[BR]]
    36 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.
     35Note 2: Deleting the snapshot while the VM is Powered Off, *does* seem to work correctly using !VirtualBox 5.x.[[BR]]
     36Note 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.
    3737
    3838Thanks, Jacob Klein

© 2023 Oracle
ContactPrivacy policyTerms of Use