This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libjava test suite keeps getting stuck
On Thu, Apr 19, 2001 at 10:28:40AM -0700, Zack Weinberg wrote:
> On Thu, Apr 19, 2001 at 10:12:08AM -0700, Zack Weinberg wrote:
> >
> > If I run Divide_1 by hand it doesn't get stuck
>
> Correction: it does. The process the shell is waiting for terminates,
> but there are two or three more processes which don't. dejagnu
> presumably waits for them all to die.
>
> This is likely to be a long-standing bug in the Linux thread library.
> exit(3) from the main thread does not reliably terminate all other
> threads. libjava may be assuming that it does. The bug is more or
> less unfixable, and needs to be worked around.
>
Can you provide a small testcase to show the Linux thread library
bug?
H.J.