This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Many pthread failures in the test suite, one setgroup failure
- From: egor duda <deo at logos-m dot ru>
- To: Christopher Faylor <cygwin-developers at cygwin dot com>
- Date: Thu, 26 Sep 2002 19:16:42 +0400
- Subject: Re: Many pthread failures in the test suite, one setgroup failure
- Organization: deo
- References: <20020925141653.GA6134@redhat.com>
- Reply-to: egor duda <cygwin-developers at cygwin dot com>
Hi!
Wednesday, 25 September, 2002 Christopher Faylor cgf@redhat.com wrote:
CF> So much for releasing cygwin 1.3.13.
CF> Robert, Thomas, can you look into the problems below?
It looks like all pthread testsuite failures are caused by the fact
that pthread_create(x, NULL, y, z), i.e. with attr == NULL, fails with
EAGAIN. SUSv2 says that in case of attr == NULL we should use default
attributes. Frankly, i'm not following latest pthread changes very
closely, but it looks like thread::precreate() method should be able
to deal with NULL parameter somehow.
[...]
CF> pthread/mutex3.c: Assertion failed: (pthread_create(&t, NULL, func, NULL) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/mutex3.c, line 35
CF> pthread/exit2.c: Assertion failed: (pthread_create(&t, NULL, func, (void *) NULL) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/exit2.c, line 25
CF> pthread/exit3.c: Assertion failed: (pthread_create(&id[i], NULL, func, (void *) i) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/exit3.c, line 27
CF> pthread/mutex6r.c: Assertion failed: (pthread_create(&t, NULL, locker, NULL) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/mutex6r.c, line 54
CF> pthread/count1.c: Assertion failed: (pthread_create(&threads[i], NULL, myfunc, 0) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/count1.c, line 42
CF> pthread/tsd1.c: Assertion failed: (pthread_create(&thread[i], NULL, mythread, (void *)&accesscount[i]) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/tsd1.c, line 111
CF> pthread/cleanup2.c: Assertion failed: (pthread_create(&t[i], NULL, mythread, (void *) &threadbag[i]) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/cleanup2.c, line 103
CF> pthread/cleanup3.c: Assertion failed: (pthread_create(&t[i], NULL, mythread, (void *) &threadbag[i]) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/cleanup3.c, line 106
CF> pthread/create1.c: Assertion failed: (pthread_create(&t, NULL, func, NULL) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/create1.c, line 25
CF> pthread/create2.c: Assertion failed: (pthread_create(&t, &attr, func, NULL) == 0), file /cygnus/src/uberbaum/winsup/testsuite/winsup.api/pthread/create2.c, line 68
[...]
CF> === winsup Summary ===
CF> # of expected passes 192
CF> # of unexpected failures 30
CF> # of unexpected successes 1
CF> # of expected failures 20
Hmm, it's nice to see that testsuite is actually catching something... :)
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19