Closed Bug 299024 Opened 19 years ago Closed 11 years ago

Java causes dom 1 html test suite to fail to complete with hung process

Categories

(Core Graveyard :: Java: OJI, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: bc, Unassigned)

References

()

Details

(Keywords: regression)

Java 1.5.0 update 4 causes DOM TS to fail to complete and leaves zombie process
when browser closed. This did not occur in update 2.

Steps to reproduce:

1. Run DOM Level 1 HTML test suite with IFRAME loader and text/html (see URL)
2. Will fail to load Applet during run
3. DOM TS will cease running, but browser is responsive
4. Close browser
5. View zombie firefox process in tasklist

Expected results:

Complete test suite
Do not leave zombie firefox process.

Reproducible in Firefox 1.0.4, Firefox 1.0.5 (20050627) and DeerPark (20050628)
on winxpsp2.

Sounds like a bug in Java 1.5.0 Update 4, but we should get a hung process as a
result of a bad applet.
If you don't see the problem after running throught the applet tests, close the
browser and repeat.
*** Bug 300981 has been marked as a duplicate of this bug. ***
Kyle is no longer working for Sun. So I guess Pete Zha is probably the right 
people to contact. Some update in Java Plug-in side, I am no longer working 
for that group. The right people to ask is Stanley Ho and Danielle Pham. 
Thanks.
Assignee: yuanyi21 → pete.zha
Java 5 Update 5/1.5.0_05 is out ... please test again
bc, is this an issue with whatever the current-java-of-the-day is?
(In reply to comment #5)

yes. I still get similar behavior in dom 1 html (various loaders/mime types) with update 5 using firefox 1.5 and trunk when java is enabled. :-(
Blocks: ghostproc
mass reassign to Alfred
Assignee: zhayupeng → alfred.peng
Linux too /jre 1.5.0_06.

I get this in the Java Console: (the swedish stuff means class not found...)

inläsning: klassen org/w3c/domts/DOMTSApplet.class finns inte.
java.lang.ClassNotFoundException: org.w3c.domts.DOMTSApplet.class
	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
	at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
	at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1757)
	at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
	at sun.applet.AppletPanel.run(AppletPanel.java:324)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: open HTTP connection failed.
	at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
	at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
	at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
	... 9 more
Exception in thread "Thread-9" java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
	at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1928)
	at sun.applet.AppletPanel.runLoader(AppletPanel.java:655)
	at sun.applet.AppletPanel.run(AppletPanel.java:324)
	at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
	at sun.plugin.AppletViewer.showAppletStatus(AppletViewer.java:1861)
	at sun.applet.AppletPanel.run(AppletPanel.java:369)
	at java.lang.Thread.run(Thread.java:595)
Exception in thread "thread applet-org/w3c/domts/DOMTSApplet.class" java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
	at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1928)
	at sun.applet.AppletPanel.run(AppletPanel.java:533)
	at java.lang.Thread.run(Thread.java:595)
inläsning: klassen org/w3c/domts/DOMTSApplet.class finns inte.
java.lang.ClassNotFoundException: org.w3c.domts.DOMTSApplet.class
	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599)
	at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
	at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1757)
	at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
	at sun.applet.AppletPanel.run(AppletPanel.java:324)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: open HTTP connection failed.
	at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
	at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
	at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
	... 9 more
OS: Windows XP → All
(In reply to comment #8)
> Linux too /jre 1.5.0_06.

could you please retry using JRE 5.0 Update 7 ?

http://java.sun.com/j2se/1.5.0/download.jsp

http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_07
Still hangs under firefox latest-branch/linux + jre 1.5.0_07, though I think now it's not the same place. 

Firefox 1.5.0.3/win + jre 1.5.0_07 doesn't seem to hang anymore.
WFM no zombie process. do you still see problem?

Java Plug-in 1.5.0_09 
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9pre) Gecko/2008042906 Minefield/3.0pre
Assignee: alfred.peng → nobody
QA Contact: oji → java.oji
bc, magnus - do you see this with latest FF and jre? (now at (build 1.6.0_13-b03))

see Bug 156994 comment 19 - Java uses lot of memory which is never freed
Still hangs completely, using 1.6.0_10 which is the latest jre in the ubuntu repos, and a few days old 1.9.1 build of ff.
Summary: Java 1.5.0 update 4 causes dom 1 html test suite to fail to complete with hung process → Java causes dom 1 html test suite to fail to complete with hung process
Product: Core → Core Graveyard
Mass-closing bugs in the "OJI" component: OJI plugin integration was replaced with npruntime long ago, and these bugs appear to be irrelevant now. If there is in fact a real bug that remains, please file it new in the "Core" product, component "Plug-ins".
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.