The result of _tnl_CreateContext( ctx ) isn't checked anywhere.

and so you may get a sigsegv later in _tnl_install_attrs()
in this line:
vtx->emit = choose_emit_func;

because ctx->swtnl_context is NULL if CALLOC didnt work.

This occurs with some demos when trying to run them in wine (CVS),
for example cryonics_are_we.exe (64kByte Intro, shown at ms2002, see www.scene.org)
All demos I tried worked sometime in the past.
And the demos DO WORK (but slow) with LIBGL_ALWAYS_INDIRECT=1,
but not with Radeon or R200 DRI.


Should I try a kernel with HIGHMEM (4G) support to workaround the problem?
current .config:
...
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_HIGHMEM is not set
...

Another odd thing: wine calls the CreateContext twice, the first time
with success, the second time without.

best regards,
Andreas


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to