Closed Bug 48050 Opened 24 years ago Closed 24 years ago

Browser hangs using java applet "link"

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 50547

People

(Reporter: jguilla, Assigned: stanley.ho)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m17) Gecko/20000807
BuildID:    20000080712

The browser seems to hang when I click in a java applet with navigation
(link-to-URL) functionality.

Reproducible: Always
Steps to Reproduce:
1.Open http://www.javasoft.com
2.Select "Applet menu" on the right bar.
3.Click any link in the applet window

Actual Results:  The browser hangs. I have to kill it using the task manager.

Expected Results:  It should have opened another page.

I'm using Sun's JDK and plugin 1.3
The output of java -version is as follows:

Microsoft Windows 2000 [Versión 5.00.2195]
(C) Copyright 1985-1999 Microsoft Corp.

U:\>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

U:\>

I'm using the SPANISH version of Windows 2000.
I haven't tried this under Win98 nor linux.
This does occurr on US English WINNT 4.0 SP3 systems with 1 August 2000 Mozilla 
and 7 August 2000 Java Plugin.

Also, this is an OJI bug, not a Java APIs to WebShell bug.
Status: UNCONFIRMED → ASSIGNED
Component: Java APIs to WebShell → OJI
Ever confirmed: true
Here is some value added stack trace information

After clicking on Industry News->Product News in the applet window, I get this 
console output before the browser hangs.

0[ab22a0]: WARNING: not calling OnDataAvailable, file E:\Projects\mozilla\netwer
k\base\src\nsAsyncStreamListener.cpp, line 403
WARNING: not calling OnDataAvailable, file E:\Projects\mozilla\netwerk\base\src\
nsAsyncStreamListener.cpp, line 403
Document: Done (2.874 secs)
Opening file cookperm.txt failed
Inside nsPluginHostImpl::FindStoppedPluginForURL...
For application/x-java-vm found plugin E:\Projects\mozilla\dist\WIN32_D.OBJ\bin\
plugins\NPJava32.dll
debug: edburns: CNetscapePlugin::SetWindow(04E6F12C)
debug: edburns: CJavaPluginView::SetWindow(04E6F12C)
JAR cache enabled.
InstantiateEmbededPlugin.. returning
debug: edburns: CNetscapePlugin::SetWindow(04E6F12C)
debug: edburns: CJavaPluginView::SetWindow(04E6F12C)
Inside nsPluginHostImpl::FindStoppedPluginForURL...
For application/x-java-vm found plugin E:\Projects\mozilla\dist\WIN32_D.OBJ\bin\
plugins\NPJava32.dll
debug: edburns: CNetscapePlugin::SetWindow(04E9523C)
debug: edburns: CJavaPluginView::SetWindow(04E9523C)
InstantiateEmbededPlugin.. returning
debug: edburns: CNetscapePlugin::SetWindow(04E9523C)
debug: edburns: CJavaPluginView::SetWindow(04E9523C)
Document http://www.javasoft.com/ loaded successfully
WEBSHELL+ = 5
WEBSHELL+ = 6
Enabling Quirk StyleSheet
Enabling Quirk StyleSheet
Setting content window
*** Pulling out the charset
in SetSecurityButton
Enabling Quirk StyleSheet
Document: Done (4.437 secs)
Error loading URL javascript:Start('/share/classes/sitemenuapplet/index.html')
Enabling Quirk StyleSheet
Document: Done (0.811 secs)
Inside nsPluginHostImpl::FindStoppedPluginForURL...
For application/x-java-vm found plugin E:\Projects\mozilla\dist\WIN32_D.OBJ\bin\
plugins\NPJava32.dll
debug: edburns: CNetscapePlugin::SetWindow(04EBECDC)
debug: edburns: CJavaPluginView::SetWindow(04EBECDC)
InstantiateEmbededPlugin.. returning
debug: edburns: CNetscapePlugin::SetWindow(04EBECDC)
debug: edburns: CJavaPluginView::SetWindow(04EBECDC)
debug: edburns: CNetscapePlugin::SetWindow(04EBECDC)
debug: edburns: CJavaPluginView::SetWindow(04EBECDC)
debug: edburns: CNetscapePlugin::SetWindow(04EBECDC)
debug: edburns: CJavaPluginView::SetWindow(04EBECDC)
Document http://www.javasoft.com/share/classes/sitemenuapplet/index.html loaded
successfully
debug: edburns: CNetscapePlugin::SetWindow(04EBECDC)
debug: edburns: CJavaPluginView::SetWindow(04EBECDC)
Navigation Applet
⌐ Image Intelligence Ltd.
http://www.imint.com
Version 5.52 - Tree Type II
Licenced to:
Sun Microsystems
http://(www.)java.sun.com
Actual Location
www.javasoft.com/share/classes/sitemenuapplet/
www.javasoft.com/192.18.97.137
0[ab22a0]: WARNING: not calling OnDataAvailable, file E:\Projects\mozilla\netwer
k\base\src\nsAsyncStreamListener.cpp, line 403
WARNING: not calling OnDataAvailable, file E:\Projects\mozilla\netwerk\base\src\
nsAsyncStreamListener.cpp, line 403
Document: Done (4.246 secs)
Document http://www.javasoft.com/industry/ loaded successfully
debug: edburns: CNetscapePlugin::SetWindow(00000000)
debug: edburns: CJavaPluginView::SetWindow(00000000)
debug: edburns: CJavaPluginView::PluginWndProc(): Msg = WM_DESTROY
debug: edburns: CNetscapePlugin::SetWindow(00000000)
debug: edburns: CJavaPluginView::SetWindow(00000000)
debug: edburns: CJavaPluginView::PluginWndProc(): Msg = WM_DESTROY
Enabling Quirk StyleSheet








Also, Here's the stack trace when I BREAK after the hang:

USER32! 77e7276a()
Java_sun_awt_windows_WToolkit_eventLoop(JNIEnv_ * 0x00921084, _jobject * 
0x0534fd28) line 1453
024654cd()
02462ffa()
024630c2()
JVM! 080e4eae()
JVM! 0801e87a()
JVM! 08040987()
JVM! 0801e77f()
JVM! 0801e4fd()
JVM! 0802b998()
JVM! 08057ba3()
JVM! 08057b74()
MSVCRT! 7800248d()

I'm reassigning to Stanley.  This may be related to bug 31220.

Assignee: edburns → stanley.ho
Status: ASSIGNED → NEW
*** Bug 48049 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
The browser hangs because of the applet lifecycle problem. Applet was not 
shutdown properly during page switch, and it creates deadlock in some 
situations. This is a duplicate of #50547 - master of all applet lifecycle bugs.

*** This bug has been marked as a duplicate of 50547 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.