Comment 21 for bug 651294

Revision history for this message
Albert Damen (albrt) wrote :

A patch was posted by Chris Wilson today on the dri-devel mailing list that fixes this crash for me:

    glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

    Although there may be more than one resource handles pointing to the
    Drawable, we only want to destroy it once and only reference the
    resource which may have just been deleted on the first instance.

    v2: Apply fixes and combine with another bug fix from Michel Dänzer,
        https://bugs.freedesktop.org/show_bug.cgi?id=28181

see http://lists.freedesktop.org/archives/dri-devel/2010-December/006137.html