Friday, June 18, 2021

X11 SIGSEGV on VirtualBox

I'm trying to run xenodm on VirtualBox VM.
VirtualBox 6.1.16_Ubuntu r140961 running on Ubuntu 20.04 with Intel
card. VM uses VMSVGA display with NO 3D acceleration.

Fresh OpenBSD 6.9 install, but I tried latest snapshot - same problem.

When starting Xorg server, it crashes with SIGSEGV. Does anybody know
why it happens? How can I generate some actionable debug output, such
as stacktrace, to help identify root cause?

Here is complete /var/log/Xorg.0.log:

[ 13.815] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[ 13.815] linear framebuffer access unavailable
[ 13.858] (--) Using wscons driver on /dev/ttyC4
[ 13.868]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[ 13.868] Build Operating System: OpenBSD 6.9 amd64
[ 13.868] Current Operating System: OpenBSD ws.etacassiopeiae.net 6.9 GENERIC#4 amd64
[ 13.868] Build Date: 19 April 2021 11:06:48AM
[ 13.868]
[ 13.868] Current version of pixman: 0.38.4
[ 13.868] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 13.868] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 13.868] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 18 21:17:03 2021
[ 13.869] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[ 13.871] (==) No Layout section. Using the first Screen section.
[ 13.871] (==) No screen section available. Using defaults.
[ 13.871] (**) |-->Screen "Default Screen Section" (0)
[ 13.871] (**) | |-->Monitor "<default monitor>"
[ 13.877] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 13.877] (==) Automatically adding devices
[ 13.877] (==) Automatically enabling devices
[ 13.877] (==) Not automatically adding GPU devices
[ 13.877] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 13.883] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[ 13.883] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 13.883] (II) The server relies on wscons to provide the list of input devices.
If no devices become available, reconfigure wscons or disable AutoAddDevices.
[ 13.883] (II) Loader magic: 0x897417d3f10
[ 13.883] (II) Module ABI versions:
[ 13.883] X.Org ANSI C Emulation: 0.4
[ 13.883] X.Org Video Driver: 24.1
[ 13.883] X.Org XInput driver : 24.1
[ 13.883] X.Org Server Extension : 10.0
[ 13.885] (--) PCI:*(0@0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe0000000/33554432, 0xf0000000/2097152, I/O @ 0x0000d000/16
[ 13.885] (II) LoadModule: "glx"
[ 13.887] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 13.898] (II) Module glx: vendor="X.Org Foundation"
[ 13.898] compiled for 1.20.10, module version = 1.0.0
[ 13.898] ABI class: X.Org Server Extension, version 10.0
[ 13.898] (==) Matched vmware as autoconfigured driver 0
[ 13.898] (==) Matched vesa as autoconfigured driver 1
[ 13.898] (==) Assigned the driver to the xf86ConfigLayout
[ 13.898] (II) LoadModule: "vmware"
[ 13.898] (II) Loading /usr/X11R6/lib/modules/drivers/vmware_drv.so
[ 13.899] (II) Module vmware: vendor="X.Org Foundation"
[ 13.899] compiled for 1.20.10, module version = 13.1.0
[ 13.899] Module class: X.Org Video Driver
[ 13.899] ABI class: X.Org Video Driver, version 24.1
[ 13.899] (II) LoadModule: "vesa"
[ 13.900] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[ 13.901] (II) Module vesa: vendor="X.Org Foundation"
[ 13.901] compiled for 1.20.10, module version = 2.3.4
[ 13.901] Module class: X.Org Video Driver
[ 13.902] ABI class: X.Org Video Driver, version 24.1
[ 13.902] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 13.902] (II) VESA: driver for VESA chipsets: vesa
[ 13.902] (WW) Falling back to old probe method for vesa
[ 13.902] (II) vmware(0): Driver was compiled without KMS- and 3D support.
[ 13.902] (WW) vmware(0): Disabling 3D support.
[ 13.902] (WW) vmware(0): Disabling Render Acceleration.
[ 13.902] (WW) vmware(0): Disabling RandR12+ support.
[ 13.902] (--) vmware(0): VMware SVGA regs at (0xd000, 0xd001)
[ 13.902] (II) Loading sub module "vgahw"
[ 13.902] (II) LoadModule: "vgahw"
[ 13.903] (II) Loading /usr/X11R6/lib/modules/libvgahw.so
[ 13.903] (II) Module vgahw: vendor="X.Org Foundation"
[ 13.903] compiled for 1.20.10, module version = 0.1.0
[ 13.903] ABI class: X.Org Video Driver, version 24.1
[ 13.903] (EE) Segmentation fault at address 0x8
[ 13.903] (EE)
Fatal server error:
[ 13.903] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 13.903] (EE)
[ 13.903] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 13.903] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 13.903] (EE)
[ 13.904] (EE) Server terminated with error (1). Closing log file.

Cheers,
Chris

No comments:

Post a Comment