Re: program hangs in thread scheduler

2001-02-02 Thread Jason Evans
On Thu, Feb 01, 2001 at 02:08:54PM -0500, Mike Heffner wrote: > > Is this a problem with the thread scheduler or is this somehow related to the > application? > > (gdb) bt > #0 0x284d74cc in poll () from /usr/lib/libc.so.5 > #1 0x2848ce74 in thread_kern_poll (wait_reqd=1) > at /usr/src/lib

program hangs in thread scheduler

2001-02-01 Thread Mike Heffner
Hi, I have an application that will repeatedly hang in the thread scheduler. They seem to occur at somewhat random times, but it's always at the same place. The hang occurs during the following code: ... if ((fp = popen(command, "r")) == NULL) return 0; if (fgets(str, sizeof(str)