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.
Forgot the most important: simple and riskless fix available upstream on http://cgit.freedesktop.org/mesa/mesa/commit/?id=a436b3b2d4524447c59d8f4003895d626cab309c
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
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).
I followed those steps and verified the issue is now fixed.
Thank you for letting us know.
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.