Bug 29235

Summary: OpenGL applications segfault in glxMakeCurrent with git mesa
Product: Mesa Reporter: Giacomo Perale <ghepeu>
Component: GLXAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fix hw dri segfault in makeCurrent

Description Giacomo Perale 2010-07-25 02:33:49 UTC
Recent changes to mesa (almost certainly krh glx rework) made all GL applications segfault in glxMakeCurrent with DRI1, both hardware dri and software (but not with indirect rendering, ie. compiz).

Commit 4d58b5b482d06ab8d4c4b2db33d0b48b7c82d064 (glx: Drop duplicate psc field in drisw context struct) fixed software rendering, trivially making the same changes in dri_glx.c fixed rendering with hardware acceleration too.

Simple patch attached.
Comment 1 Giacomo Perale 2010-07-25 02:36:15 UTC
Created attachment 37358 [details] [review]
fix hw dri segfault in makeCurrent

Trivially apply to dri_glx.c the drisw_glx.c changes who fixed software rendering.
Comment 2 Giacomo Perale 2010-07-26 13:45:08 UTC
fixed in git.

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.