[PATCH] crash after setting root background pixmap to None, then setting color

Jeremy Huddleston jeremyhu at apple.com
Sat May 28 18:01:29 PDT 2011

I don't see it in your master branch:

Your git repo also doesn't seem to know about that commit reference:

Also, any thoughts that this could be related to but #31017?


On May 25, 2011, at 03:56, Daniel Stone wrote:

> Hi,
> On Mon, May 23, 2011 at 12:26:07PM +0200, Cyril Brulebois wrote:
>> Hi Jeremy,
>> Marko Macek <Marko.Macek at gmx.net> (21/05/2011):
>>> Please apply this patch:
>>> Fix crash after resetting root window background pixmap to None, then setting background color.
>>> Signed-off-by: Marko Macek <marko.macek at gmx.net>
> Thanks Marko!
> I have this (committed earlier) as:
> commit 0701a18b51213ae588cbe82069c0b6eefb8deae7
> Author: Marko Macek <Marko.Macek at gmx.net>
> Date:   Sat May 21 13:30:59 2011 +0100
>    DIX: Set backgroundState correctly for root window
>    When we change the root window's background to None, and we've run with
>    -wr or -br for a forced solid background, make sure we also change the
>    background state to BackgroundPixel, so we don't try to lookup either
>    pScreen->whitePixel or pScreen->blackPixel as a pixmap.
>    Signed-off-by: Marko Macek <Marko.Macek at gmx.net>
>    Reviewed-by: Walter Harms <wharms at bfs.de>
>    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
> It should be in the master branch of
> git://people.freedesktop.org/~daniels/xserver.
>> it'd be nice to keep an eye on that patch and pick it for the 1.10
>> branch, even though it appears not to be committed to master yet.
>> Seems to be the same issue as in:
>>  http://bugs.debian.org/626331
>> A fix for #36986 would also be appreciated for rc3 or final:
>> https://bugs.freedesktop.org/show_bug.cgi?id=36986
>> (still being discussed in another thread.)
> Yeah, it's a bit of a clanger, and most distros seem to run with either
> -wr or -br, so this would be a great stable candidate.  Let's give it a
> quick run in master and see if it doesn't destroy anything.
> Cheers,
> Daniel
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

More information about the xorg-devel mailing list