[Mesa-dev] [Bug 29646] New: baddrawable when resizing a window in gnome-shell/mutter

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 18 07:31:12 PDT 2010


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

           Summary: baddrawable when resizing a window in
                    gnome-shell/mutter
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: prahal at yahoo.com


Created an attachment (id=37951)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37951
 Review: https://bugs.freedesktop.org/review?bug=29646&attachment=37951

check if the xDrawable is still registered before freeing it

mutter produces :
Unexpected X error: BadDrawable (invalid Pixmap or Window parameter) serial
14367 error_code 9 request_code 137 minor_code 4)
and abort when resizing a window.

My clue for this patch was that Xserver freed the xDrawable before the client
does. DRI2DrawableGone is indeed called with the same id for the drawable.

Attached patch fix that though it needs review. I am too new to x11 lowlevel
and glx stuff to be confident it is the proper fix. At least it works.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list