VirtualBox

Ticket #10250 (closed defect: fixed)

Opened 11 years ago

Last modified 8 years ago

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

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

Change History

Changed 11 years ago by antmat

VBHeadless log

comment:1 Changed 11 years ago by frank

Hmm, there are some problems with 3D.

comment:2 Changed 11 years ago by ckujau

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.

Changed 11 years ago by ckujau

VBoxHeadless -s vm

comment:3 Changed 11 years ago by ckujau

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

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

 http://www.mail-archive.com/vbox-users@virtualbox.org/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?

Changed 11 years ago by ckujau

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

Changed 11 years ago by ckujau

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

comment:5 Changed 8 years ago by dragon788

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.

(1)  https://www.packer.io/docs/builders/virtualbox.html

(2)  http://vagrantup.com/

comment:6 Changed 8 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 4.3.22.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use