bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pthreads, linux, gdb, oh my!


From: Peter Berger
Subject: Re: Pthreads, linux, gdb, oh my!
Date: Fri, 8 Dec 2000 11:58:00 -0500 (EST)

On 8 Dec 2000, Mark Kettenis wrote:
> > - it runs OK with the same version of gdb on FreeBSD.
> GDB is able to handle threads on FreeBSD?

I didn't try the complete deluxe debugging experience, but the program
at least ran correctly.
 
> The zombie problem is a kernel bug.  AFAIK there is no kernel that
> doesn't have this bug.  Unfortunately getting the bugfix in isn't very
> easy.  I'll try poking Linus again when I can find the time.
 
Thanks.

> you're describing with your friend's machine.  This should be fixed in
> the current GDB development version (in CVS or a recent snapshot) but
> that version of GDB will get into trouble after you've created
> 30-something threads.

I am using gdb 5.0, i have tried others; the problem from my perspective,
though, is that in a just world i HAVEN'T created 30 or so threads -- I
have created 2. that zombie problem is a major obstacle.

Thanks for the feedback.  I'm posting the test program to linux-kernel,
and am readying my baseball bat to use on the first person that says "why
would you ever want to destroy a thread?  just create 10 and keep them
around."

-Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]