The line: reply.length = (reply.numAttribs * reply.numFBConfigs); In programs/Server/GL/GLX/glxcmds.c is wrong. The GLX spec states that the reply length is numAttribs * numFBConfigs * 2. So it needs to be multiplied be 2.
Not only is this wrong with the protocol but mesa on xcb dies horribly with this one. So... BUMP
That is correct. Elsewhere in that routine "__GLX_TOTAL_FBCONFIG_ATTRIBS * 2" is used, and the same should be used there. I suspect this may be related to bug #3539.
(In reply to comment #2) > That is correct. Elsewhere in that routine "__GLX_TOTAL_FBCONFIG_ATTRIBS * 2" > is used, and the same should be used there. I suspect this may be related to > bug #3539. I was running using mesa 6.x (cvs) locally on an amd athlon thunderbird with Xorg 6.8.2.
I just committed the "obvious" fix for this. Could you please verify it? Thanks.
Ian's commit looks to have fixed this, and nobody has complained since the commit so I'm closing this.
(In reply to comment #5) > Ian's commit looks to have fixed this, and nobody has complained since the > commit so I'm closing this. Sorry, haven't had a chance to check... but I trust Ian.
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.