Having recently updated to git HEAD for mesa, X server, drm and intel, I noticed that calling glXImportContextEXT systematically result in a crash in the client.
#0 0xb7df14a1 in __glXQueryContextInfo (dpy=0x804b008, ctx=0x80562a8)
#1 0xb7df15a0 in glXImportContextEXT (dpy=0x804b008, contextID=50331649)
#2 0x08049b5a in main (argc=3, argv=0xbfa0a7d4) at test.c:284
(gdb) print ctx->psc
$1 = (__GLXscreenConfigs *) 0x0
This used to work fine with mesa 7.0.2
Created attachment 13926 [details]
Run first without argument, then append the context id and window id given by the first process
Mass version move, cvs -> git
Should be fixed by this commit:
Author: Kristian Høgsberg <firstname.lastname@example.org>
Date: Fri May 7 18:38:35 2010 -0400
glx: Get GLX_SCREEN first in __glXQueryContextInfo()
And lookup the GLX screen for the context. Otherwise we'll end up
jumping through a NULL-pointer once we try to look up the visual
or config for the shared context.
The test case works.