Bug 29235 - OpenGL applications segfault in glxMakeCurrent with git mesa
Summary: OpenGL applications segfault in glxMakeCurrent with git mesa
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-25 02:33 UTC by Giacomo Perale
Modified: 2010-07-26 13:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix hw dri segfault in makeCurrent (980 bytes, patch)
2010-07-25 02:36 UTC, Giacomo Perale
Details | Splinter Review

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.