Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40781 - [xf86-video-vmware] X segfault after Mesa upgrade

Attached to Project: Arch Linux
Opened by IMBJR (IMBJR) - Tuesday, 10 June 2014, 08:56 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 08 July 2014, 07:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Upgrade of Mesa from 10.1.4-1 -> 10.2.1-1 causes X segfault in VMWare-hosted Arch installation.

Additional info:
* package versions:
mesa 10.2.1-1
mesa-libgl 10.2.1-1

* Xorg.0.log:
[ 726.328]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 726.328] X Protocol Version 11, Revision 0
[ 726.328] Build Operating System: Linux 3.14.0-4-ARCH x86_64
[ 726.328] Current Operating System: Linux archy 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 x86_64
[ 726.328] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=0c26c3bc-c642-4bcc-aa46-3a0afe1027bd rw quiet splash
[ 726.328] Build Date: 14 April 2014 08:39:09AM
[ 726.328]
[ 726.328] Current version of pixman: 0.32.4
[ 726.328] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 726.328] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 726.328] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 10 09:36:36 2014
[ 726.328] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 726.328] (==) No Layout section. Using the first Screen section.
[ 726.328] (==) No screen section available. Using defaults.
[ 726.328] (**) |-->Screen "Default Screen Section" (0)
[ 726.328] (**) | |-->Monitor "<default monitor>"
[ 726.328] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 726.328] (**) | |-->Device "Card0"
[ 726.328] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 726.328] (==) Automatically adding devices
[ 726.328] (==) Automatically enabling devices
[ 726.328] (==) Automatically adding GPU devices
[ 726.328] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 726.328] Entry deleted from font path.
[ 726.328] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 726.328] Entry deleted from font path.
[ 726.328] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 726.328] Entry deleted from font path.
[ 726.328] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 726.328] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 726.328] Entry deleted from font path.
[ 726.328] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 726.328] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 726.328] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 726.328] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 726.328] (II) Loader magic: 0x804c80
[ 726.328] (II) Module ABI versions:
[ 726.328] X.Org ANSI C Emulation: 0.4
[ 726.328] X.Org Video Driver: 15.0
[ 726.328] X.Org XInput driver : 20.0
[ 726.328] X.Org Server Extension : 8.0
[ 726.329] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 726.351] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xd0000000/134217728, 0xc8800000/8388608, I/O @ 0x000010d0/16, BIOS @ 0x????????/32768
[ 726.351] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 726.351] Initializing built-in extension Generic Event Extension
[ 726.351] Initializing built-in extension SHAPE
[ 726.351] Initializing built-in extension MIT-SHM
[ 726.351] Initializing built-in extension XInputExtension
[ 726.351] Initializing built-in extension XTEST
[ 726.351] Initializing built-in extension BIG-REQUESTS
[ 726.351] Initializing built-in extension SYNC
[ 726.351] Initializing built-in extension XKEYBOARD
[ 726.351] Initializing built-in extension XC-MISC
[ 726.351] Initializing built-in extension SECURITY
[ 726.351] Initializing built-in extension XINERAMA
[ 726.351] Initializing built-in extension XFIXES
[ 726.351] Initializing built-in extension RENDER
[ 726.351] Initializing built-in extension RANDR
[ 726.352] Initializing built-in extension COMPOSITE
[ 726.352] Initializing built-in extension DAMAGE
[ 726.352] Initializing built-in extension MIT-SCREEN-SAVER
[ 726.352] Initializing built-in extension DOUBLE-BUFFER
[ 726.352] Initializing built-in extension RECORD
[ 726.352] Initializing built-in extension DPMS
[ 726.352] Initializing built-in extension Present
[ 726.352] Initializing built-in extension DRI3
[ 726.352] Initializing built-in extension X-Resource
[ 726.352] Initializing built-in extension XVideo
[ 726.352] Initializing built-in extension XVideo-MotionCompensation
[ 726.352] Initializing built-in extension XFree86-VidModeExtension
[ 726.352] Initializing built-in extension XFree86-DGA
[ 726.352] Initializing built-in extension XFree86-DRI
[ 726.352] Initializing built-in extension DRI2
[ 726.352] (II) LoadModule: "glx"
[ 726.352] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 726.357] (II) Module glx: vendor="X.Org Foundation"
[ 726.357] compiled for 1.15.1, module version = 1.0.0
[ 726.357] ABI class: X.Org Server Extension, version 8.0
[ 726.357] (==) AIGLX enabled
[ 726.357] Loading extension GLX
[ 726.357] (II) LoadModule: "vmware"
[ 726.357] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[ 726.373] (II) Module vmware: vendor="X.Org Foundation"
[ 726.376] compiled for 1.15.0, module version = 13.0.2
[ 726.376] Module class: X.Org Video Driver
[ 726.376] ABI class: X.Org Video Driver, version 15.0
[ 726.376] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 726.376] (++) using VT number 1

[ 726.377] (II) vmware(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 726.377] (--) vmware(0): DRM driver version is 2.5.0
[ 726.377] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[ 726.377] (==) vmware(0): RGB weight 888
[ 726.377] (==) vmware(0): Default visual is TrueColor
[ 726.377] (--) vmware(0): Min width 1, Max Width 8192.
[ 726.377] (--) vmware(0): Min height 1, Max Height 8192.
[ 726.377] (II) vmware(0): Output Virtual1 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual2 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual3 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual4 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual5 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual6 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual7 has no monitor section
[ 726.377] (II) vmware(0): Output Virtual8 has no monitor section
[ 726.377] (II) vmware(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 726.377] (II) vmware(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 726.377] (II) vmware(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 726.377] (II) vmware(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 726.377] (II) vmware(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 726.377] (II) vmware(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
[ 726.377] (II) vmware(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 726.377] (II) vmware(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 726.377] (II) vmware(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 726.377] (II) vmware(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 726.377] (II) vmware(0): Modeline "1792x1344"x60.0 204.75 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 726.377] (II) vmware(0): Modeline "1856x1392"x60.0 218.25 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 726.377] (II) vmware(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 726.377] (II) vmware(0): Modeline "1920x1440"x60.0 234.00 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "2560x1600"x60.0 348.50 2560 2752 3032 3504 1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 726.377] (II) vmware(0): Modeline "1327x836"x60.0 87.38 1327 1377 1427 1477 836 886 936 986 -hsync +vsync (59.2 kHz eP)
[ 726.377] (II) vmware(0): Printing probed modes for output Virtual1
[ 726.377] (II) vmware(0): Modeline "1327x836"x60.0 87.38 1327 1377 1427 1477 836 886 936 986 -hsync +vsync (59.2 kHz eP)
[ 726.377] (II) vmware(0): Modeline "2560x1600"x60.0 348.50 2560 2752 3032 3504 1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 726.377] (II) vmware(0): Modeline "1920x1440"x60.0 234.00 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1856x1392"x60.0 218.25 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 726.377] (II) vmware(0): Modeline "1792x1344"x60.0 204.75 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 726.377] (II) vmware(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 726.377] (II) vmware(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 726.377] (II) vmware(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 726.377] (II) vmware(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 726.377] (II) vmware(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 726.377] (II) vmware(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 726.378] (II) vmware(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
[ 726.378] (II) vmware(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 726.378] (II) vmware(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 726.378] (II) vmware(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 726.378] (II) vmware(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 726.378] (II) vmware(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 726.378] (II) vmware(0): EDID for output Virtual2
[ 726.378] (II) vmware(0): EDID for output Virtual3
[ 726.378] (II) vmware(0): EDID for output Virtual4
[ 726.378] (II) vmware(0): EDID for output Virtual5
[ 726.378] (II) vmware(0): EDID for output Virtual6
[ 726.378] (II) vmware(0): EDID for output Virtual7
[ 726.378] (II) vmware(0): EDID for output Virtual8
[ 726.378] (II) vmware(0): Output Virtual1 connected
[ 726.378] (II) vmware(0): Output Virtual2 disconnected
[ 726.378] (II) vmware(0): Output Virtual3 disconnected
[ 726.378] (II) vmware(0): Output Virtual4 disconnected
[ 726.378] (II) vmware(0): Output Virtual5 disconnected
[ 726.378] (II) vmware(0): Output Virtual6 disconnected
[ 726.378] (II) vmware(0): Output Virtual7 disconnected
[ 726.378] (II) vmware(0): Output Virtual8 disconnected
[ 726.378] (II) vmware(0): Using exact sizes for initial modes
[ 726.378] (II) vmware(0): Output Virtual1 using initial mode 1327x836
[ 726.378] (II) vmware(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 726.378] (==) vmware(0): DPI set to (96, 96)
[ 726.378] (II) Loading sub module "fb"
[ 726.378] (II) LoadModule: "fb"
[ 726.378] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 726.378] (II) Module fb: vendor="X.Org Foundation"
[ 726.378] compiled for 1.15.1, module version = 1.0.0
[ 726.378] ABI class: X.Org ANSI C Emulation, version 0.4
[ 726.378] (II) Loading sub module "dri2"
[ 726.378] (II) LoadModule: "dri2"
[ 726.378] (II) Module "dri2" already built-in
[ 726.378] (==) Depth 24 pixmap format is 32 bpp
[ 726.378] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 726.379] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[ 726.379] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[ 726.379] (--) vmware(0): Render acceleration is disabled.
[ 726.379] (==) vmware(0): Rendercheck mode is disabled.
[ 726.379] (--) vmware(0): Direct rendering (3D) is disabled.
[ 726.379] (==) vmware(0): Backing store enabled
[ 726.379] (==) vmware(0): Silken mouse enabled
[ 726.379] (II) vmware(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 726.379] (==) vmware(0): DPMS enabled
[ 726.379] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[ 726.379] (WW) vmware(0): Disabling Xv because no adaptors could be initialized.
[ 726.379] (--) RandR disabled
[ 726.386] (II) AIGLX: Screen 0 is not DRI2 capable
[ 726.386] (EE) AIGLX: reverting to software rendering
[ 726.388] (II) AIGLX: Loaded and initialized swrast
[ 726.388] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 726.388] (EE) Failed to convert pixmap to scanout.
[ 726.388] (EE)
[ 726.388] (EE) Backtrace:
[ 726.388] (EE) 0: /usr/sbin/X (xorg_backtrace+0x48) [0x584b08]
[ 726.388] (EE) 1: /usr/sbin/X (0x400000+0x1887f9) [0x5887f9]
[ 726.388] (EE) 2: /usr/lib/libpthread.so.0 (0x7f4a0b98b000+0xf4b0) [0x7f4a0b99a4b0]
[ 726.388] (EE) 3: /usr/lib/xorg/modules/drivers/vmware_drv.so (0x7f4a06811000+0x14848) [0x7f4a06825848]
[ 726.388] (EE) 4: /usr/sbin/X (xf86DisableUnusedFunctions+0xa2) [0x4aa722]
[ 726.388] (EE) 5: /usr/sbin/X (xf86SetDesiredModes+0x106) [0x4aae76]
[ 726.388] (EE) 6: /usr/lib/xorg/modules/drivers/vmware_drv.so (0x7f4a06811000+0xe8c0) [0x7f4a0681f8c0]
[ 726.388] (EE) 7: /usr/sbin/X (0x400000+0xa7b9e) [0x4a7b9e]
[ 726.388] (EE) 8: /usr/sbin/X (0x400000+0x39966) [0x439966]
[ 726.388] (EE) 9: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f4a0a5f8000]
[ 726.388] (EE) 10: /usr/sbin/X (0x400000+0x2507e) [0x42507e]
[ 726.388] (EE)
[ 726.388] (EE) Segmentation fault at address 0x8
[ 726.388] (EE)
Fatal server error:
[ 726.388] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 726.388] (EE)
[ 726.388] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 726.388] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 726.388] (EE)

Steps to reproduce:
1. pacman -Syu leading to upgrade of mesa and mesa-libgl
2. Either:
logout and back in
or reboot
3. Graphical user interface does not come back up.

Work-around:
Downgrade of mesa and mesa-libgl to 10.1.4-1 and set pacman to ignore both packages when upgrading.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 08 July 2014, 07:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa-10.2.3-1
Comment by Scott Kroll (skroll) - Tuesday, 10 June 2014, 18:26 GMT
I had the same exact issue with the xf86-video-vmware as well (same backtrace).
Comment by Laurent Carlier (lordheavy) - Friday, 13 June 2014, 14:08 GMT
  • Field changed: Summary ([mesa] X segfault after Mesa upgrade → [xf86-video-vmware] X segfault after Mesa upgrade)
Can you fill a bug report at https://bugs.freedesktop.org and paste the link here ?
Comment by IMBJR (IMBJR) - Friday, 13 June 2014, 14:20 GMT
Do you have an account with freedesktop.org? It would save me having to create yet another bug-related account.

Edit: So the problem is not in Mesa?
Comment by Andreas Radke (AndyRTR) - Friday, 13 June 2014, 17:27 GMT Comment by Brett L Kleinschmidt (blkqi) - Thursday, 19 June 2014, 17:18 GMT
Same issue here. Using an upstream xf86-video-vmware (4e378a730d2d2deffc915af2a3d013d2a994a1b0) does not resolve the issue.
Comment by IMBJR (IMBJR) - Thursday, 19 June 2014, 17:22 GMT
Yes, I've also tried that upstream version with no resolution.
Comment by Jeremy M. (jskier) - Friday, 27 June 2014, 12:38 GMT
Seems to be a yearly occurrence with the VMWare driver and mesa not playing nice.

Reported upstream here - https://bugs.freedesktop.org/show_bug.cgi?id=80595
Comment by Jeremy M. (jskier) - Friday, 27 June 2014, 14:50 GMT
VMWare driver dev is stating this is likely how mesa is built. I did recompile against latest headers and the problem persist.

Recommend mesa package maintainer please look into and collaborate on upstream ticket. Unfortunately, I am not a very adept developer, and am even less familiar with video drivers.
Comment by Brett L Kleinschmidt (blkqi) - Thursday, 03 July 2014, 20:28 GMT
FYI, there is now a fix for this in the upstream mesa tree.
Comment by Andreas Radke (AndyRTR) - Saturday, 05 July 2014, 07:54 GMT
This one? http://cgit.freedesktop.org/mesa/mesa/commit/?id=35cf3831d71770211f29da6608313dc1f6213d7b

Let's see if it goes into 10.2.3. Feel free to patch mesa yourself until that release, it's expected for the beginning of next week.
Comment by Laurent Carlier (lordheavy) - Tuesday, 08 July 2014, 05:41 GMT
  • Field changed: Status (Assigned → Waiting on Response)
Please test with mesa-10.2.3
Comment by IMBJR (IMBJR) - Tuesday, 08 July 2014, 06:51 GMT
mesa and mesa-libgl @ 10.2.3 resolves the bug.

Loading...