#20516 new defect
E_FAIL (0x80004005) after host PC hibernation
回報者: | Asper | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 6.1.26 |
關鍵字: | 副本: | ||
Guest type: | all | Host type: | Windows |
描述
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.
附加檔案 (2)
更動歷史 (5)
3 年 前 由 編輯
附檔: | 新增 VBoxHardening.log |
---|
comment:1 3 年 前 由 編輯
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:3 3 年 前 由 編輯
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