When using linuxthreads.old the stack allocation will corrupt the vm mappings for the dynamic linker causing segfaults at random places at random times. As a workaround its possible use 'ulimit -s unlimited' This probably only affects newer kernels that randomizes mmap addresses.
Created attachment 371 [details] testcase small testcase i got from Timo Teräs
This is fixed in NPTL and no point try fix it in linuxthreads. I'm closing it.