Bug 17203 - glibc-2.1.3-19 breaks Sun and IBM Java 1.3 on SMP
Summary: glibc-2.1.3-19 breaks Sun and IBM Java 1.3 on SMP
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 6.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-09-03 14:10 UTC by jhut
Modified: 2008-05-01 15:37 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2000-09-06 14:50:44 UTC

Attachments (Terms of Use)

Description jhut 2000-09-03 14:10:23 UTC
Sun version hangs when attempting to execute program.
Sun version:
java version "1.3.0beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build
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:

Comment 1 Jakub Jelinek 2000-09-03 18:52:30 UTC
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
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)?

Comment 2 jhut 2000-09-04 00:43:38 UTC
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

Comment 3 jhut 2000-09-05 13:29:47 UTC
Tried the glibc from ftp://ultra.linux.cz/private/glibc/6.x/*2.1.3-20*.rpm,
still locks up.

Comment 4 Jakub Jelinek 2000-09-05 15:20:40 UTC
Ok, can you please try ftp://ultra.linux.cz/private/glibc/6.x/*2.1.3-21*.rpm,
hopefully final?

Comment 5 jhut 2000-09-05 15:55:22 UTC
OK, Works for me now on IBM and Sun JDK's.

Comment 6 thomas porter 2000-09-06 03:02:17 UTC
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@mindspring.com

Comment 7 h0e 2000-09-06 14:50:40 UTC
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

Comment 8 Jakub Jelinek 2000-09-08 07:42:33 UTC
Should be fixed by RHSA-2000:057-04

Note You need to log in before you can comment on or make changes to this bug.