-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi again,
With my little patch, valgrind/NTPL wine works like a charm (even with unreal2 and after too many errors) :)
Now going to sleep
Regards, Raphael
Le Monday 03 November 2003 23:14, Raphaël Junqueira a écrit :
Le Monday 03 November 2003 23:06, Lionel Ulmer a écrit :
Trying to run valgrind on wine directx (running Unreal2 with nvidia openGL drivers)
I think it's best to use software GL when using Valgrind... It is reported to make the DRI crash and not support all syscalls needed by the NVIDIA GL drivers.
well it seems NTPL-related (only one real reference of pthread_attr_setstack, in ntdll):
int SYSDEPS_SpawnThread( void (*func)(TEB *), TEB *teb ) { #ifdef HAVE_NPTL pthread_t id; pthread_attr_t attr;
pthread_attr_init( &attr ); pthread_attr_setstack( &attr, teb->DeallocationStack, (char *)teb->Tib.StackBase - (char
*)teb->DeallocationStack ); if (pthread_create( &id, &attr, (void * (*)(void *))func, teb )) return -1; return 0; #elif defined(HAVE_CLONE)
<snip>
Implementing it into valgrind is difficult ?
Anyway, I have a different issue :
valgrind: vg_ldt.c:167 (vgPlain_do_useseg): Assertion (seg_selector & 7) == 7' failed.
strange, valgrind love wine :p
Lionel
Regards, Raphael