nptl/tst-cancel17

Greg Schafer gschafer@zip.com.au
Fri Apr 8 03:15:00 GMT 2005


Hi

This has come up before[1] but so far I haven't seen any resolution. To
recap, these failures started showing up since kernel 2.6.11:

$ grep "\*\*\*" glibc.log
make[2]: *** [/temptools/src/glibc-build/nptl/tst-cancel17.out] Error 1
make[2]: *** [/temptools/src/glibc-build/nptl/tst-cancelx17.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2

I found a patch (attached) in the Suse srpm but wonder why it hasn't been
applied to Glibc cvs (maybe it's incorrect?).

Are the Glibc developers not seeing these failures?
Are the Glibc developers running kernels that don't trigger the failures?
Is this one of those Mexican standoffs that happens occasionally between the
Kernel and Glibc folks? :-)

Thanks for any comments.

Regards
Greg

1. http://sources.redhat.com/ml/libc-alpha/2005-02/msg00041.html
   http://sources.redhat.com/ml/libc-alpha/2005-03/msg00059.html
-------------- next part --------------
--- nptl/tst-cancel17.c
+++ nptl/tst-cancel17.c	2005/02/09 09:39:16
@@ -228,7 +228,7 @@
 
   size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF);
   size_t page_size = sysconf (_SC_PAGESIZE);
-  len2 = (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
+  len2 = 16 * (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
   char *mem2 = malloc (len2);
   if (mem2 == NULL)
     {


More information about the Libc-alpha mailing list