Opened 13 years ago
Closed 10 years ago
#10250 closed defect (fixed)
Segmentation fault on VBHeadless
Reported by: | antmat | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.1.8 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Mac OS X |
Description
I'm trying to start an headless session of debian on Mac host system.
I'm getting this:
antmat@antmat-laptop-2 ~ $ /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless -s debian2 Oracle VM VirtualBox Headless Interface 4.1.8 (C) 2008-2011 Oracle Corporation All rights reserved. FreeTSD: failed to destroy key: Undefined error: 0 Segmentation fault: 11
This started after updating VirtualBox from 4.1.6 to 4.1.8 r75467. In 4.1.6 it was OK.
Host: Mac OS X 10.7.2
guest: Debian 64 bit Wheezy(testing)
VirtualBox 4.1.8 r75467
Attachments (4)
Change History (10)
by , 13 years ago
comment:2 by , 13 years ago
Getting this too for a while now. MacOS 10.7.3 (64bit), VirtualBox 4.1.12r77245, "Oracle VM VirtualBox Extension Pack" installed (same version).
As soon as I enable 3D Acceleration ("accelerate3d"), I'm getting the same error (both for 32bit and 64bit guests). Starting the same VM (with accelerate3d=on) via the GUI works just fine.
by , 13 years ago
Attachment: | VBoxHeadless_2012-04-14-012616_localhost.crash.txt added |
---|
VBoxHeadless -s vm
comment:3 by , 13 years ago
This is still happening with v4.1.14 and MacOS 10.7.4. Anybody got an idea on this? The workaround is pretty easy:
VBoxManage modifyvm [VM] --accelerate3d off
...but I wonder if this can be fixed somehow?
comment:4 by , 12 years ago
According to this post from 2009 (!), this is expected behaviour:
http://www.mail-archive.com/[email protected]/msg06354.html
In short: VBoxHeadless & accelerate3d=on don't mix. Maybe a better (more descriptive) error message is in order, to avoid tickets like this. Hm?
by , 12 years ago
Attachment: | vbox-win7_3D-on.txt added |
---|
VBox.log with accelerate3d=on (VirtualBox 4.1.18, MacOS 10.7.4)
by , 12 years ago
Attachment: | vbox-win7_3D-off.txt added |
---|
VBox.log with accelerate3d=off (VirtualBox 4.1.18, MacOS 10.7.4)
comment:5 by , 10 years ago
This is still occurring in Virtualbox 4.3.18. I am using Packer (1) to automate building our Vagrant (2) boxes through Jenkins, but when I try to utilize the headless option (which uses Virtualbox's headless mode) it fails nearly silently. I had to dig through a lot of Google searches and posts before I suspected it was the accelerate3d option and then I checked the logs for Packer and discovered that was indeed the culprit. Once I changed accelerate3d to disabled, things began working again. Our host OS is Linux, and our guest is Linux as well, it doesn't matter which version of Virtualbox we use (open source/ubuntu provided or Oracle direct) or our host OS, it always fails when headless mode is enabled in Packer.
VBHeadless log