VirtualBox

Ticket #20516 (new defect)

Opened 4 months ago

Last modified 4 months ago

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

VBox.log Download (72.0 KB) - added by Asper 4 months ago.
VBox.log file is attached for checking
VBoxHardening.log Download (375.2 KB) - added by Asper 4 months ago.

Change History

Changed 4 months ago by Asper

VBox.log file is attached for checking

Changed 4 months ago by Asper

comment:1 Changed 4 months ago by 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 Changed 4 months ago by bird

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

comment:3 Changed 4 months ago by 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.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use