Description of problem:
This trivial "badly written" pthread test causes "strace -fF" to hang.
Version-Release number of selected component (if applicable):
Tested strace-4.4.99 and strace-4.4
Always on all (available for me) linuxthreads platforms.
Steps to Reproduce:
gcc -Wall -Werror stracetest.c -lpthread -o stracetest
strace -fF ./stracetest
Created attachment 94874 [details]
I cannot reproduce this in 4.4.99-1. Please verify the strace, glibc,
and kernel versions you are using.
As I wrote in original post before bugzilla corruption,
kernel-2.2.25 and kernel-2.4.22,
glibc-2.2.5 and glibc-2.3.2,
on few ALT Linux and Debian distributions.
All above with linuxthreads.
Created attachment 96533 [details]
patch which fix the problem
Apparently fixed in strace-4.5.1 (linuxthreads bug?);
your patch which fixes the problem is attached for convenience.