Bug#394716: TNL context is NULL

Alexander E. Patrakov patrakov at ums.usu.ru
Sun Nov 12 08:01:54 CET 2006


I have seen exactly the same backtrace as in Debian #394716 on LFS, so I 
think my comments may help. Please notify me if they are useful.

After recompilimg Mesa with debugging information, I found that the 
segfault is in r200InitTnlFuncs() called from r200CreateContext(). The 
only way the r200InitTnlFuncs() function can segfault is that 
TNL_CONTEXT(ctx) is NULL. I have added some debugging calls to 
_mesa_problem() to find out where it becomes NULL, and found that it is 
NULL already after _tnl_CreateContext( ctx ) in r200CreateContext().

Adding _mesa_problem()s to the _tnl_CreateContext() function doesn't 
print anything, I guess I have to recompile xorg-server with patched 
Mesa as well for them to be called.

-- 
Alexander E. Patrakov




More information about the Pkg-mesa-devel mailing list