Bug 706395 - Abnormal termination of programs that repeatedly use GLX after calling XCloseDisplay
Summary: Abnormal termination of programs that repeatedly use GLX after calling XClose...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 15
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: [cat:crash]
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-20 12:19 UTC by Jose Fonseca
Modified: 2018-04-11 13:28 UTC (History)
2 users (show)

Fixed In Version: mesa-7.11-0.11.20110525.0.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-27 15:18:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
bug.c (1.69 KB, text/x-csrc)
2011-05-20 12:19 UTC, Jose Fonseca
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.