[Mesa-dev] [PATCH] glx: Fix number of property values to read in glXImportContextEXT
Adam Jackson
ajax at redhat.com
Mon Jun 4 17:45:34 UTC 2018
On Fri, 2018-06-01 at 19:01 +0200, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> We were trying to read twice as many as the X server sent us, which
> upset XCB:
>
> [xcb] Too much data requested from _XRead
> [xcb] This is most likely caused by a broken X extension library
> [xcb] Aborting, sorry about that.
> glx-free-context: ../../src/xcb_io.c:732: _XRead: Assertion `!xcb_xlib_too_much_data_requested' failed.
>
> Fixing this takes 3 GLX piglit tests from crash to pass.
>
> Fixes: 085216295033 "glx: Be more tolerant in glXImportContext (v2)"
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Ugh. Truly embarrassing.
Reviewed-by: Adam Jackson <ajax at redhat.com>
- ajax
More information about the mesa-dev
mailing list