Bug 30138

Summary: glXWaitGL and glXWaitX cause segmentation fault in SearchAndRescue
Product: Mesa Reporter: Hector <hector1987>
Component: GLXAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: glxinfo output

Description Hector 2010-09-11 13:31:37 UTC
Created attachment 38630 [details]
glxinfo output

The game Search&Rescue (searchandrescue.sf.org) crashes when calling glXWaitGL() and glXWaitX() with a segmentation fault since a update of Mesa, newer than the stable 7.8.2.

Im using the Mesa builds from Xorg repository for OpenSuse 11.3 (Mesa 7.8.2-35.1) with the i915 driver. The game works with Mesa (7.8.2-1.3).

Even when replacing those calls with glFinish() and XSync() fixes the problem, I was wondering what has changed in Mesa so that this is happening now and whether it should be fixed in Mesa or in S&R.
Comment 1 Michel Dänzer 2010-09-13 01:59:47 UTC
The glxinfo output looks like this is actually a Git master snapshot. This problem could be fixed as of commit 6a6e6d7b0a84e20f9754af02a575ae34081d310c ('Fix crashes when some GLX API entrypoints are called with no current context.').
Comment 2 Hector 2010-09-27 18:58:42 UTC
yes seems fixed now. Thank you

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.