FS#28882 - [xorg] 1.12.0-1 segfault as VMware guest
Attached to Project:
Arch Linux
Opened by Wil (nullptr) - Tuesday, 13 March 2012, 01:32 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 15 March 2012, 06:14 GMT
Opened by Wil (nullptr) - Tuesday, 13 March 2012, 01:32 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 15 March 2012, 06:14 GMT
|
Details
When running as a VMware guest, Xorg 1.12.0-1 segfaults
during module loading. It looks like it might be due to
vmware_drv.so loading libvgahw.so as a dependency. In any
case, it currently isn't possible to run Arch with X as a
VMware guest, which is a showstopper for me (and I imagine
some others).
It looks like someone else reported something similar last month at https://bbs.archlinux.org/viewtopic.php?pid=1061728#p1061728, despite the thread title. I've attached a log of the crash. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Thursday, 15 March 2012, 06:14 GMT
Reason for closing: Fixed
Additional comments about closing: see comments and make sure you load the module!
Thursday, 15 March 2012, 06:14 GMT
Reason for closing: Fixed
Additional comments about closing: see comments and make sure you load the module!
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) i thr
Id Target Id Frame
* 1 Thread 0x7ffff7fc9880 (LWP 1295) "Xorg" 0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff3bfdea1 in vgaHWSaveColormap () from /usr/lib/xorg/modules/libvgahw.so
#2 0x00007ffff3bff7ad in vgaHWSave () from /usr/lib/xorg/modules/libvgahw.so
#3 0x00007ffff4415043 in ?? () from /usr/lib/xorg/modules/drivers/vmware_drv.so
#4 0x00000000004735cc in InitOutput ()
#5 0x0000000000422c0d in ?? ()
#6 0x00007ffff61df38d in __libc_start_main () from /lib/libc.so.6
#7 0x00000000004230cd in _start ()
(gdb)
It looks like vmware_drv.so doesn't have debugging symbols available, but from looking at src/vmware.c in the source distribution for xf86-video-vmware, it seems pretty likely that vgaHWSave is getting called from VMWARESave, which is getting called from VMWAREPreInit. I'm not enough of an X expert to know where pScrn (which is later cast to the vgaHWPtr) should be picking up those missing function pointers (maybe when the vgahw module is loaded?), but hopefully this gives someone somewhere something to go on.
Rolling back to the previous version (via ARM) fixes it for me.
@Wil, arch packages don't have debug symbols you could rebuild these packages and report your information.. upstream. https://bugs.freedesktop.org/
@jessehk, vesa has always been slow.
In any case, thanks for the pointer to freedesktop's bugtracker. I will report what I've found there.
In the meantime, I can echo Robert's comment that rolling back via ARM works. The versions you want are:
xorg-server 1.11.4-1
xorg-server-common 1.9.2-2
xf86-input-vmmouse 12.7.0-3
xf86-input-evdev 2.6.0-4
xf86-input-keyboard 1.6.1-1
xf86-input-mouse 1.7.1-2
xf86-video-vmware 11.1.0-1
- you'll need svga-dri installed and vmwgfx in /etc/rc.d MODULES
- you'll need 32mb video memory
Xorg.0.vmware-12.0.1-1.log (10.2 KiB)
Anybody else?