Opened 3 years ago
Last modified 3 years ago
#20516 new defect
E_FAIL (0x80004005) after host PC hibernation
Reported by: | Asper | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.26 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Windows |
Description
After I woke up the host PC from hibernation, when I try to start a virtual machine I get the following error:
Failed to open a session for the virtual machine Windows_10_Pro_LV_2018_SP1. The VM session was aborted. Result Code: E_FAIL (0x80004005) Component: SessionMachine Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
The error occurs before the VirtualBox logo appears in the launch screen of the virtual machine.
The error does not happen if the host PC is shutdown and restarted.
The error has occurred after updating virtualbox to 6.1.26.
VirtualBox Graphical User Interface
Version 6.1.26 r145957 (Qt5.6.2)
Host OS: Windows 7 Pro 64bit
Guest OS: Windows 10 Pro 64bit or Windows 7 Pro 64bit
As highlighted in the forum post https://forums.virtualbox.org/viewtopic.php?f=6&t=103708, the problem is solved by completely disabling the audio of the virtual machine.
The issue is repeatable, by re-enabling the audio the error appears the same.
The VBox.log file is attached for checking.
Attachments (2)
Change History (5)
by , 3 years ago
by , 3 years ago
Attachment: | VBoxHardening.log added |
---|
comment:1 by , 3 years ago
Short evaluation of the crash info inside the VBox.log file:
The Windows 7 host was woken up after hibernation. The Windows 10 VM was started from power down state. In DrvHostAudioWasApi.cpp:1542+1544, in drvHostWasEnumAddDev, dereferencing pFormat->nChannels while pFormat == 0 leads to an exception caught by rtR3WinUnhandledXcptFilter.
comment:2 by , 3 years ago
comment:3 by , 3 years ago
FWIW, an additional test by Asper showed that running a VirtualBox VM before hibernating the host OS is probably a necessary pre-condition for the issue to happen.
@bird probably meant r146413 (6.1), since the test build 6.1.27.r146314 already existed before.
VBox.log file is attached for checking