Sun version hangs when attempting to execute program. Sun version: java version "1.3.0beta_refresh" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta_refresh-b09) Java HotSpot(TM) Client VM (build 1.3.0beta-b07, mixed mode) IBM version throws this exception: java.lang.IllegalMonitorStateException: JVMLK008: current thread not owner at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:421) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:227) at org.apache.tools.ant.taskdefs.Execute.waitFor(Execute.java:292) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:229) at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:762) at org.apache.tools.ant.Target.execute(Target.java:132) at org.apache.tools.ant.Project.runTarget(Project.java:721) at org.apache.tools.ant.Project.executeTarget(Project.java:451) at org.apache.tools.ant.Project.executeTargets(Project.java:425) at org.apache.tools.ant.Main.runBuild(Main.java:298) at org.apache.tools.ant.Main.main(Main.java:119) IBM version: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20000623 (JIT enabled: jitc))
Since you did not tell which exact program you were trying to run with what arguments, I'll ask a few questions: can you try on some testbox glibc-2.1.92 from rawhide and see if it hangs/throws that exception? If you have the possibility, can you rpm -Uvh glibc-2.1.3-19.src.rpm, remove the glibc-2.1.3/linuxthreads/pthread.c part from /usr/src/redhat/SOURCES/glibc-2.1.3-security.patch, rpm -ba /usr/src/redhat/SPECS/glibc-2.1.spec and see if that makes the threading problems go away (that is the only thread related change in the patches which fixes a bug IBM was complaining about)?
I'll attempt to find a box to test on, but in the meantime the following programs cause the bug to manifest: - ant - build something like Jakarta Tomcat - SVGView from IBM Alphaworks
Tried the glibc from ftp://ultra.linux.cz/private/glibc/6.x/*2.1.3-20*.rpm, still locks up.
Ok, can you please try ftp://ultra.linux.cz/private/glibc/6.x/*2.1.3-21*.rpm, hopefully final?
OK, Works for me now on IBM and Sun JDK's.
Running RH 6.1 w/ extensive upgrades on am IBM Thinkpad 600X, NON-SMP, have Sun JDK1.2.2 and 1.3 installed. After security upgrade to glibc-2.1.3-19, all threaded javba applications either hard loop at 98% CPU util or throw exceptions dealing with thread ownership. Apps that will abend: Bluej Java tutorial IDE, Apps that will loop: ArgoUML and TogetherJ whiteboard edition. Tom Porter, txporter
This has fawked mozilla too, won't even start under -19. all better in -21. if anyone's interested, I think mozilla guys will track this at http://bugzilla.mozilla.org/show_bug.cgi?id=51482
Should be fixed by RHSA-2000:057-04