[Mesa-dev] [Bug 57372] x11-libs/libxcb media-libs/mesa segfault in __glXGetString

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 28 19:54:31 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57372

--- Comment #9 from Richard Freeman <rich0 at gentoo.org> ---
Ok, it turns out that I can eliminate this issue in xserver 1.13.0 if I revert
two commits:
ed6daa15a7dcf8dba930f67401f4c1c8ca2e6fac (mentioned above)
bcbf95b1bafa6ffe724768b9309295e2fdb4b860
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Thu Jul 12 00:36:10 2012 +0100

    Revert bogus GlxPushProvider() in commit a1d41e3

    a1d41e3 "Move extension initialisation prototypes into extinit.h"
    also includes a change to GlxExtensionInit to install the swrast GLX
    provider.

    Since b86aa74 "GLX: Insert swrast provider from GlxExtensionInit"
    already does this (correctly, by installing the swrast provider
    at the end of the chain, rather than at the beginning), and since this
    would seem to have the effect of making the swrast provider the most
    preferred provider, I'm guessing this wasn't intended.

    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Colin Harrison <colin.harrison at virgin.net>

Parts of that second commit appear to have gotten reverted along the way
already.  I suspect that the GlxExtensionInit is the part of the second commit
that is relevant.

So, I haven't had any time to try to decipher what is going on - I suspect this
will be more obvious to those who introduced the code in the first place. 
However, taking a look at this is my next step if nobody gets to it first.  

Appropriate action might be to either change xserver or mesa depending on which
is actually wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121129/675ef4b2/attachment-0001.html>


More information about the mesa-dev mailing list