Opened 12 years ago

Closed 9 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


I'm trying to start an headless session of debian on Mac host system.
I'm getting this:

antmat@antmat-laptop-2 ~ $ /Applications/ -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)

VBox.log (1.5 KB ) - added by antmat 12 years ago.
VBHeadless log
VBoxHeadless_2012-04-14-012616_localhost.crash.txt (43.9 KB ) - added by ckujau 12 years ago.
VBoxHeadless -s vm
vbox-win7_3D-on.txt (1.8 KB ) - added by ckujau 11 years ago.
VBox.log with accelerate3d=on (VirtualBox 4.1.18, MacOS 10.7.4)
vbox-win7_3D-off.txt (53.0 KB ) - added by ckujau 11 years ago.
VBox.log with accelerate3d=off (VirtualBox 4.1.18, MacOS 10.7.4)

Download all attachments as: .zip

Change History (10)

by antmat, 12 years ago

Attachment: VBox.log added

VBHeadless log

comment:1 by Frank Mehnert, 12 years ago

Hmm, there are some problems with 3D.

comment:2 by ckujau, 12 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 ckujau, 12 years ago

VBoxHeadless -s vm

comment:3 by ckujau, 12 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 ckujau, 11 years ago

According to this post from 2009 (!), this is expected behaviour:

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 ckujau, 11 years ago

Attachment: vbox-win7_3D-on.txt added

VBox.log with accelerate3d=on (VirtualBox 4.1.18, MacOS 10.7.4)

by ckujau, 11 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 dragon788, 9 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.



comment:6 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

Fix is part of VBox 4.3.22.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use