This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: printStackTrace() hangs in read()
- From: Andrew Haley <aph at redhat dot com>
- To: Jost Boekemeier <JBoekemeier at inetsoftware dot de>
- Cc: "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
- Date: Wed, 5 Feb 2003 18:17:35 +0000 (GMT)
- Subject: RE: printStackTrace() hangs in read()
- References: <91B8EADC2C6ED611A36C00A0246A00AA6E19@st3.intern.de>
Jost Boekemeier writes:
> > -lpthread
>
> Thanks, that was helpful! If I link with the pthread library, then the jni
> example also works.
>
>
> > It's a bug in Red Hat 8.0's Java installation.
>
> Then I am not the only one who made this mistake. -- It doesn't seem a good
> idea to load pthreads dynamically. :)
There's a fix in the works, which means that in future pthreads will
no longer fail to work because of incorrect shared library ordering.
I don't know if it's in the current release of glibc.
Andrew.