#0 0x0fe85b50 in memset ()
from /usr/src/redhat/BUILD/libc/build-ppc-linux/libc.so.6
(gdb) where
#0 0x0fe85b50 in memset ()
from /usr/src/redhat/BUILD/libc/build-ppc-linux/libc.so.6
#1 0x0ff62f3c in pthread_allocate_stack ()
from /usr/src/redhat/BUILD/libc/build-ppc-linux/linuxthreads/libpthread.so.0
There is only one memset() call in pthread_allocate_stack which clears
the thread descriptor area. And only if the user provided a stack. I
cannot see how this can happen in the test case. Any chance you can get
glibc compiled with debugging info?