[Fixed] Detachable/headless crashes at startup

Postings relating to old VirtualBox pre-releases
Post Reply
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

[Fixed] Detachable/headless crashes at startup

Post by socratis »

If I try to start any VM (anything I tried at least) as either detachable or headless via the GUI, it crashes instantly. The VBox.log is about 30 lines, so I'm simply going to attach one in code tags instead of zipping it:

Code: Select all

VirtualBox VM 5.1.0_RC1 r108607 darwin.amd64 (Jul  7 2016 19:17:51) release log
00:00:00.196434 Log opened 2016-07-08T14:55:49.954137000Z
00:00:00.196436 Build Type: release
00:00:00.196454 OS Product: Darwin
00:00:00.196461 OS Release: 13.4.0
00:00:00.196468 OS Version: Darwin Kernel Version 13.4.0: Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64
00:00:00.196687 DMI Product Name: MacBookPro8,3
00:00:00.196794 DMI Product Version: 1.0
00:00:00.196806 Host RAM: 16384MB total, 6810MB available
00:00:00.196808 Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless
00:00:00.196809 Process ID: 8529
00:00:00.196810 Package type: DARWIN_64BITS_GENERIC
00:00:00.199175 Installed Extension Packs:
00:00:00.199192   Oracle VM VirtualBox Extension Pack (Version: 5.1.0_RC1 r108607; VRDE Module: VBoxVRDP)
00:00:00.200719 Console: Machine state changed to 'Starting'
00:00:00.216868 SUP: Opened VMMR0.r0 (/Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0) at 0xffffff81fe44e020.
00:00:00.219420 Guest OS type: 'Fedora_64'
00:00:00.226602 fHMForced=true - No raw-mode support in this build!
00:00:00.243817 File system of '/Users/Shared/VirtualBox/Machines/Fedora/Snapshots' (snapshots) is hfs
00:00:00.243835 File system of '/Users/Shared/VirtualBox/Machines/Fedora/Snapshots/{8fd50880-7182-4ce1-a91e-1ba71b1801d7}.vdi' is hfs
00:00:00.294123 Shared clipboard service loaded
00:00:00.294141 Shared clipboard mode: Bidirectional
00:00:00.295062 Drag and drop service loaded
00:00:00.295072 Drag and drop mode: Bidirectional
00:00:00.302757 OpenGL: Offline rendering support is OFF (pid=8529)
00:00:00.318504 OpenGL Info: 3D test passed
00:00:00.324471 OpenGL Warning: Render SPU: Couldn't create a window, renderspu_SystemCreateWindow failed
00:00:00.324486 OpenGL Warning: Render SPU: Couldn't create a window, renderspu_SystemCreateWindow failed
00:00:00.324490 OpenGL Warning: renderspuWinInit failed
00:00:00.324494 OpenGL Warning: renderspuWinCreate failed
00:00:00.324497 OpenGL Error: Render SPU: Couldn't get a double-buffered, RGB visual with Z!
00:00:00.324500 OpenGL Warning: renderspuDefaultCtxInit failed -1
Starting a VM with VBoxHeadless:

Code: Select all

SGK-MBP2300:~ socratis$ VBoxHeadless -s Mint
Oracle VM VirtualBox Headless Interface 5.1.0_RC1
(C) 2008-2016 Oracle Corporation
All rights reserved.

Segmentation fault: 11
Starting with VBoxManage --type headless:

Code: Select all

SGK-MBP2300:~ socratis$ VBoxManage startvm Ubuntu --type headless
Waiting for VM "Ubuntu" to power on...
VBoxManage: error: The VM session was aborted
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Detachable/headless crashes at startup

Post by socratis »

I think I figured out what's causing this problem. If you do not have 3D acceleration enabled in the VM settings, it seems to work.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Detachable/headless crashes at startup

Post by frank »

Thanks for the report. The particular problem is Mac OS X only and will always happen if 3D was configured but for some reason 3D cannot be enabled -- this is the case for VBoxHeadless. Fixed in SVN!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Fixed] Detachable/headless crashes at startup

Post by socratis »

Thanks Frank. I don't use detachable or headless, I was simply trying to help someone else and I bumped into this. Hope it helps someone.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply