VirtualBox

3 年 前 建立

3 年 前 更新

#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)

VBox.log (72.0 KB ) - 3 年 前, 由 Asper 新增
VBox.log file is attached for checking
VBoxHardening.log (375.2 KB ) - 3 年 前, 由 Asper 新增

下載所有附檔: .zip

更動歷史 (5)

3 年 前Asper 編輯

附檔: 新增 VBox.log

VBox.log file is attached for checking

3 年 前Asper 編輯

附檔: 新增 VBoxHardening.log

comment:1 3 年 前fth0 編輯

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 3 年 前bird 編輯

Right, pFormat is NULL, which it shouldn't be. Added a workaround for it in r146412 (trunk) / r146143 (6.1).

comment:3 3 年 前fth0 編輯

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.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette