Failed to open a session for the virtual machine ubuntu - 0xc0000005 error code

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ckchen5566
Posts: 2
Joined: 23. Apr 2022, 15:29

Failed to open a session for the virtual machine ubuntu - 0xc0000005 error code

Post by ckchen5566 »

Getting "Failed to open a session for the virtual machine ubuntu.", but see no hardening log, only VBoxSVC log shows following.
Tried headless mode, no luck. Not sure what's wrong. Can anyone share any hint? Thanks a ton!

Code: Select all

  Launched VM: 80710016 pid: 4188 (0x105c) frontend: GUI/Qt name: ubuntu
00:00:04.293172 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'ubuntu' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:00:08.021508          Launched VM: 80711936 pid: 12504 (0x30d8) frontend: headless name: ubuntu
00:00:09.380346 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'ubuntu' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:00:09.380588 Watcher  Reaper: Pid 12504 (30d8) exited normally: -1073741819 (0xc0000005)
00:06:13.789880          Launched VM: 80438784 pid: 9316 (0x2464) frontend: GUI/Qt name: ubuntu
00:06:15.324222 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'ubuntu' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:06:20.687061          Launched VM: 80960512 pid: 4228 (0x1084) frontend: headless name: ubuntu
00:06:22.345889 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'ubuntu' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:06:22.346110 Watcher  Reaper: Pid 4228 (1084) exited normally: -1073741819 (0xc0000005)
00:07:00.389471          Launched VM: 80960464 pid: 4656 (0x1230) frontend: GUI/Qt name: ubuntu
00:07:01.616519 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'ubuntu' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:09:11.443168          Launched VM: 59128672 pid: 10720 (0x29e0) frontend: GUI/Qt name: test
00:09:12.959467 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'test' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:09:16.155214          Launched VM: 80969984 pid: 5092 (0x13e4) frontend: headless name: test
00:09:17.343233 Watcher  ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'test' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)}, preserve=false aResultDetail=0
00:09:17.343583 Watcher  Reaper: Pid 5092 (13e4) exited normally: -1073741819 (0xc0000005)
00:09:20.925650          Launched VM: 80968576 pid: 11996 (0x2edc) frontend: separate name: ubuntu
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failed to open a session for the virtual machine ubuntu - 0xc0000005 error code

Post by mpack »

The VM hardening log (and other VM logs) can be found in the VM folder, not the folder where the front end settings are stored.

Also see FAQ: Diagnosing VirtualBox Hardening Issues.
ckchen5566
Posts: 2
Joined: 23. Apr 2022, 15:29

Re: Failed to open a session for the virtual machine ubuntu - 0xc0000005 error code

Post by ckchen5566 »

Thanks for quick reply, sir!
No hardening log in my VM's folder as well. Only VBox log and its last few lines as follows:

Code: Select all

312:05:24.660950 GUI: UICommon::sltHandleCommitDataRequest: Emergency shutdown initiated
312:05:24.666943 GUI: Request for close-action to save VM state.
312:05:24.667597 Changing the VM state from 'RUNNING' to 'SUSPENDING'
312:05:24.677684 AIOMgr: Endpoint for file 'D:\Virtual Box\ubuntu\ubuntu.vdi' (flags 000c0781) created successfully
312:05:24.738018 PDMR3Suspend: 70 374 689 ns run time
312:05:24.738077 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
312:05:24.738141 Console: Machine state changed to 'Paused'
312:05:24.738717 GUI: Passing request to save VM state from machine-logic to UI session.
312:05:24.744349 Console: Machine state changed to 'Saving'
312:05:24.749218 Changing the VM state from 'SUSPENDED' to 'SAVING'
312:05:24.754358 VUSB: Detached 'HidMouse' from port 1 on RootHub#0
312:05:24.813143 GUI: Releasing keyboard on pause/stuck
312:05:24.813701 GUI: Releasing mouse on pause/stuck
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Failed to open a session for the virtual machine ubuntu - 0xc0000005 error code

Post by scottgus1 »

ckchen5566 wrote:VBox log and its last few lines as follows:
Zipped logs fit without requiring clipping. All the lines are needed. Save the far left tab's log, and post the zip file, using the forum's Upload Attachment tab.

Could be possible there's a problem with the Virtualbox installation. Try this:

Uninstall Virtualbox and reboot.
Go to "C:\Windows\System32\drivers", look for any files called 'Vbox*.sys' (there could be up to 5) and delete them.
Reboot again.
If you have any 3rd-party security or anti-malware software, disable the living daylights out of it for a moment.
Reinstall Virtualbox using right-click-Run-As-Administrator.
Post Reply