Re: [Bugme-new] [Bug 9906] New: Weird hang with NPTL and SIGPROF.

Parag Warudkar
2008-02-07T02:58:18Z

On Wed, 6 Feb 2008, Frank Mayhar wrote:

> On Wed, 2008-02-06 at 16:50 -0800, Andrew Morton wrote:
> > It's probably better to handle this one via email, so please send that
> > testcase vie reply-to-all to this email, thanks.
>
> Testcase attached.
>
> Build with
> gcc -D_GNU_SOURCE -c hangc-2.c -o hangc-2.o
> gcc -lpthread -o hangc-2 hangc-2.o
>
> Run with
> hangc-2 4500 4500

FWIW this is not reproducible on 2.6.24/x86/CentOS-51. (I tried running
it nearly 1500 times in a loop.) Assuming those many tries are sufficient
to reproduce this bug, there seems to be something specific to the
environment/architecture/configuration that's necessary to trigger it.

It might be helpful to provide full details like glibc version, compiler
version, .config etc.

Parag