Win2000 and condvar tests
Stephen R. Johns
stephen.johns@securelogix.com
Mon Mar 26 14:03:00 GMT 2001
Since my post about the the Linux threads unlocking others'
mutexes, I decided to look at condvars to get around it.
The problem is that on both of my systems (Win2000 5.00.2195 and
NT 4.00.1381), only condvar tests 1 and 2 (TESTS/condvar1.c and
TESTS/condvar2.c) pass. 3 and up sigsegv:
Program received signal SIGSEGV, Segmentation fault.
0x10001f35 in
ptw32_cond_timedwait__FPP15pthread_cond_t_PP16pthread_mutex_t_PC8timespec
(cond=0x403000, mutex=0x403010, abstime=0x243ff50) at condvar.c:689
which is:
pthread_cleanup_pop (1); /* Always cleanup */
stack trace:
#0 0x10001f35 in
ptw32_cond_timedwait__FPP15pthread_cond_t_PP16pthread_mutex_t_PC8timespec
(cond=0x403000, mutex=0x403010, abstime=0x243ff50) at condvar.c:689
#1 0x10001fbc in pthread_cond_timedwait (cond=0x403000, mutex=0x403010,
abstime=0x243ff50) at condvar.c:815
#2 0x401839 in main () at condvar3.c:100
Any ideas?
More information about the Pthreads-win32
mailing list