Ticket #10191 (new defect)
Opened 2 years ago
VB 4.1.8 - VNC GUI & ssh > VBoxHeadless - segfault when starting a VM with 3D acceleration enabled
|Reported by:||burdi01||Owned by:|
|Version:||VirtualBox 4.1.8||Keywords:||VNC VBoxHeadless segfault|
Please read ticket #9496 (VBoxheadless segfaults when Audio enabled) for VB 4.1.2 on Linux. Using a configuration from there the VM fails: -- in a VNC session when starting the VM from the VirtualBox GUI with a message that looks the same as before; -- when telnetting/ssh'ing in and starting the VM with VBoxHeadless with segfaults different from the (solved) ones before. I see these failures on Slackware current (kernel 3.2.1 PAE), Xubuntu 11.04 (kernel 2.6.38 X64) and [X]Ubuntu 11.10 (kernel 3.0.0 X64) irrespective of whether or not Audio is enabled.
When scanning the error reports for VBoxHeadless for the umptieth time I stumbled upon ticket #3089 for VB 2.1.0 on Solaris: "Given a VM that has 3D acceleration enabled, VBoxHeadless ... will segfault if X is not available (e.g. when starting the VM over an ssh connection)".
In a VNC session 3D is not available, and neither is it when telnetting/ssh'ing in. The Help for the Display > Enable 3D acceleration setting reads "If a virtual machine has Guest Additions installed ...". I primarily run live CDs (so without the Guest Additions) and thought this setting to be harmless. Disabling this setting however resolved both failures as above - even with sound enabled (and working)!
It would be nice if VB would ignore the 3D acceleration setting when the Guest Additions are not installed and/or the 3D acceleration is not available.