Misha,

I'm using your patch and I followed your howto to use gdb with Xgl, here is the output for the bt command in gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212475728 (LWP 10086)]
0xb7f0c520 in glitz_context_make_current () from /usr/lib/libglitz.so.1
(gdb) bt
#0 0xb7f0c520 in glitz_context_make_current () from /usr/lib/libglitz.so.1
#1 0xb7915e03 in xglxUseXorgMsg () from /usr/lib/xorg/modules/xgl/libxglx.so
#2 0xb791b7a9 in xglxUseXorgMsg () from /usr/lib/xorg/modules/xgl/libxglx.so
#3 0xb796e06d in __glXForceCurrent () from /usr/lib/xorg/modules/xgl/libglxext.so
#4 0xb798d403 in DoGetString () from /usr/lib/xorg/modules/xgl/libglxext.so
#5 0xb798d65c in DoGetString () from /usr/lib/xorg/modules/xgl/libglxext.so
#6 0xb796e5d0 in __glXFreeContext () from /usr/lib/xorg/modules/xgl/libglxext.so
#7 0x08089aea in Dispatch ()
#8 0x0809ac89 in main ()

Could this help?

Thanks,
Felipe