Comment 22 for bug 651294

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Ubuntu-x-swat] [Bug 651294] Re: X crash on KDM logout (still - yes, really)

On Fri, 2010-12-10 at 20:36 +0000, Albert Damen 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
>

Excellent. I'd seen that patch, and was going to ask for testing on
this bug. It's pleasantly small and self-contained.

I'm on holiday for the next couple of days, but if no one else picks
this up before then I'll prepare an SRU.