Bug 99576 - xserver segfaults in VGAarbiterSpriteUnrealizeCursor because of infinite recursion
Summary: xserver segfaults in VGAarbiterSpriteUnrealizeCursor because of infinite recu...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 11:40 UTC by Henri Derycke
Modified: 2018-04-23 21:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
backtrace (2.43 KB, text/plain)
2017-01-28 11:40 UTC, Henri Derycke
no flags Details
minimal xorg config (124 bytes, patch)
2017-01-28 11:41 UTC, Henri Derycke
no flags Details | Splinter Review
Xorg log (59.54 KB, patch)
2017-01-28 11:41 UTC, Henri Derycke
no flags Details | Splinter Review
Xorg gdb Backtrace (4.14 MB, text/x-log)
2017-09-02 23:21 UTC, Zach Carmichael
no flags Details

Description Henri Derycke 2017-01-28 11:40:38 UTC
Created attachment 129191 [details]
backtrace
Comment 1 Henri Derycke 2017-01-28 11:41:16 UTC
Created attachment 129192 [details] [review]
minimal xorg config
Comment 2 Henri Derycke 2017-01-28 11:41:43 UTC
Created attachment 129193 [details] [review]
Xorg log
Comment 3 Henri Derycke 2017-01-28 11:44:28 UTC
X.Org X Server 1.19.1
Linux 4.8.13-1-vfio x86_64
Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux-vfio.img root=UUID=8cac750e-95d1-4bee-a195-102248f57929 rw intel_iommu=on pcie_acs_override=downstream i915.enable_hd_vgaarb=1

This bug is randomly reproductible on my machine.

Step to reproduce :
 * Open a web browser
 * Load a page with many drawing (like maps with overlay)
 * Move until it crash
Comment 4 Zach Carmichael 2017-09-02 23:20:40 UTC
I am affected by this bug as well and is randomly reproducible. I am on Arch Linux and was only able to retrieve applicable debugging information by attaching gdb to my x session [Xorg logs show no errors, journalctl gives several "Fatal IO error 11 (Resource temporarily unavailable) on X server :0" errors per application]. X version and kernel info-

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.12.5-1-ARCH x86_64 
Current Operating System: Linux <hostname> 4.12.8-1-vfio #1 SMP PREEMPT Wed Aug 30 08:11:32 EDT 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux-vfio root=UUID=07fb0a6d-1af6-4357-918d-868cb406bee0 rw resume=UUID=5c8e6441-63e8-4723-9535-9450009f19ee intel_iommu=on pcie_acs_override=downstream
Build Date: 13 August 2017  09:37:50PM

This has affected me for prior X server versions as well since June 2017.
Comment 5 Zach Carmichael 2017-09-02 23:21:33 UTC
Created attachment 133945 [details]
Xorg gdb Backtrace
Comment 6 Michel Dänzer 2017-09-05 00:59:22 UTC
Looks like https://patchwork.freedesktop.org/patch/170077/ should fix this.
Comment 7 Zach Carmichael 2017-09-10 22:30:49 UTC
I've applied the patch and have gone a few days without any crashes. Exciting stuff! Will update if the situation changes
Comment 8 Adam Jackson 2018-04-23 21:00:04 UTC
(In reply to Zach Carmichael from comment #7)
> I've applied the patch and have gone a few days without any crashes.
> Exciting stuff! Will update if the situation changes

Calling this one fixed then.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.