Bug 706395

Summary: Abnormal termination of programs that repeatedly use GLX after calling XCloseDisplay
Product: [Fedora] Fedora Reporter: Jose Fonseca <jfonseca>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: ajax, mcepl
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: [cat:crash]
Fixed In Version: mesa-7.11-0.11.20110525.0.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-27 15:18:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bug.c none

Description Jose Fonseca 2011-05-20 12:19:38 UTC
Created attachment 500047 [details]
bug.c

Description of problem:

  Abnormal termination of programs that repeatedly use GLX after calling XCloseDisplay, with gallium based DRI drivers.

Version:
 
  Mesa-7.11-0.9.20110509.0.fc15
  
How reproducible:

  Always. Provided a DRI gallium driver is used (e.g., swrast_dri.so)

Steps to Reproduce:
1. Compile attached sample program
 
  gcc -g3 -o bug bug.c -lX11 -lGL

2. Run as

  ./bug
  
Actual results:

  prog: for the -disable-mmx option: may only occur zero or one times!

Expected results:
  
  nothing

Additional info:

 This is a small test case of an issue identified with VMware Workstation product.

Comment 1 Jose Fonseca 2011-05-20 12:23:39 UTC
Forgot the most important: simple and riskless fix available upstream on http://cgit.freedesktop.org/mesa/mesa/commit/?id=a436b3b2d4524447c59d8f4003895d626cab309c

Comment 2 Fedora Update System 2011-05-25 10:08:07 UTC
mesa-7.11-0.11.20110525.0.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mesa-7.11-0.11.20110525.0.fc15

Comment 3 Fedora Update System 2011-05-25 18:53:46 UTC
Package mesa-7.11-0.11.20110525.0.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mesa-7.11-0.11.20110525.0.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/mesa-7.11-0.11.20110525.0.fc15
then log in and leave karma (feedback).

Comment 4 Jose Fonseca 2011-05-26 14:35:13 UTC
I followed those steps and verified the issue is now fixed.

Comment 5 Matěj Cepl 2011-05-27 15:18:49 UTC
Thank you for letting us know.

Comment 6 Fedora Update System 2011-05-29 00:03:33 UTC
mesa-7.11-0.11.20110525.0.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.