-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/ptNCp7NA3AmQTU4RAgF6AJ9p1GkWWvPsbr+fOiYBPnQyeLBTPgCeMPuQ 9GcdAWRKgK7ANP4+MBCOAlE= =LJV6 -----END PGP SIGNATURE-----