VirtualBox: v6.1.4
Language: C#.NET
OS: Windows 10 Pro
We have a few snapshots generated in Windows Server 2016 and copied to another machine running Windows 10 Pro. While registering the snapshot using 'OpenMedium', its state is 'MediumState.MediumState_Inaccessible'. Later, while closing the snapshot, we are encountering the below error.
System.Runtime.InteropServices.COMException (0x80BB000C): Cannot close medium '<SnapshotPath>' because it has 1 child media at VirtualBox.IMedium.Close() System.Runtime.InteropServices.COMException (0x80BB000C): Cannot close medium
Note: The above error did not occur when those snapshots were generated in Windows Server 2012 R2!
COMException (0x80BB000C): Cannot close medium because it has 1 child media
Re: COMException (0x80BB000C): Cannot close medium because it has 1 child media
In addition, there is an internal error captured.
The instruction at 0x00007FFE0AAAC2C3 referenced memory at 0x000000000044EFFFF. The memory could not be read.
The instruction at 0x00007FFE0AAAC2C3 referenced memory at 0x000000000044EFFFF. The memory could not be read.
Re: COMException (0x80BB000C): Cannot close medium because it has 1 child media
In the beginning, while starting the VM and restoring the snapshots (created in Windows Server 2016), we encounter the referenced memory problem first as a popup message (attached). On acknowledgment, VM goes to the aborted state. As a next step, we are restarting the VM which lead to the COMException given below.
System.Runtime.InteropServices.COMException (0x80BB000C): Cannot close medium '<SnapshotPath>' because it has 1 child media at VirtualBox.IMedium.Close() System.Runtime.InteropServices.COMException (0x80BB000C): Cannot close medium
System.Runtime.InteropServices.COMException (0x80BB000C): Cannot close medium '<SnapshotPath>' because it has 1 child media at VirtualBox.IMedium.Close() System.Runtime.InteropServices.COMException (0x80BB000C): Cannot close medium
- Attachments
-
- VboxMemoryProblem.PNG (68.32 KiB) Viewed 20292 times
Re: COMException (0x80BB000C): Cannot close medium because it has 1 child media
We have also checked the below scenario which is working without any problem.
Generated the snapshots from Windows 10 Pro (1903) machine and copied to another Windows 10 Pro (1903) machine. Able to restore the snapshots successfully.
Generated the snapshots from Windows 10 Pro (1903) machine and copied to another Windows 10 Pro (1903) machine. Able to restore the snapshots successfully.