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. (gdb) bt #0 0xb7df14a1 in __glXQueryContextInfo (dpy=0x804b008, ctx=0x80562a8) at glxcmds.c:1517 #1 0xb7df15a0 in glXImportContextEXT (dpy=0x804b008, contextID=50331649) at glxcmds.c:1599 #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] test case 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: commit db178af09d734f2f973d50de9ff90fe1cbb5e9c9 Author: Kristian Høgsberg <krh@bitplanet.net> 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. https://bugs.freedesktop.org/show_bug.cgi?id=14245 The test case works.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.