Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Thu, 26 Sep 2002 19:16:42 +0400 From: egor duda Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <96457978257.20020926191642@logos-m.ru> To: Christopher Faylor Subject: Re: Many pthread failures in the test suite, one setgroup failure In-Reply-To: <20020925141653.GA6134@redhat.com> References: <20020925141653 DOT GA6134 AT redhat DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Wednesday, 25 September, 2002 Christopher Faylor cgf AT redhat DOT 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 AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19