libjava test suite keeps getting stuck

H . J . Lu hjl@lucon.org
Thu Apr 19 10:42:00 GMT 2001


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.



More information about the Java mailing list