United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6393921 JVM hang when multiple applets are loaded and simultaneous window refocus actions
JDK-6393921 : JVM hang when multiple applets are loaded and simultaneous window refocus actions

Details
Type:
Bug
Submit Date:
2006-03-03
Status:
Resolved
Updated Date:
2010-05-10
Project Name:
JDK
Resolved Date:
2006-04-11
Component:
deploy
OS:
windows
Sub-Component:
plugin
CPU:
x86
Priority:
P1
Resolution:
Fixed
Affected Versions:
1.4.2_08
Fixed Versions:
1.4.2_12 (b02)

Related Reports
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
This problem is reported by customer Merrill Lynch,
the following testcase is submitted by customer to demonstrate the problem.


1. Run on a dual cpu machine, or a single cpu with hyperthreading turned on
2. Run IE, load SmallApplet.html from /net/cores.central/cores/64930555/Mar03/LargerApplet.d
3. SmallApplet.htmi invokes SmallApplet multiple times, 
   while it is still loading, move some other
   windows around and on top of the browser,  
   the browser will hang at that point

Note that this ia an intermittent problem.
I found it easier to reproduce with the following sequence of events:

- enable java console
- load URL
- when IE prompt for:
"To help protect your security, IE has restricted this file from showing active content..."
- select "allow Blocked content"
- when the security popup appears, click "yes" and quickly move mouse
  over to the area where the java console window will appear and click on it
- the browser is now hang, java console overlapped with browser window at this point.


I have captured stack trace with windbg in /net/cores.central/cores/64930555/Mar03/LargerApplet.d/windows.stacktrace 

I am not sure if this is a plugin, awt, or browser interaction issue at this point.
java stack trace in
/net/cores.central/cores/64930555/Mar03/LargerApplet.d/java.stacktrace

                                    

Comments
EVALUATION

The main thread of Java plugin is blocked and no message loop to dispatch windows messages.
                                     
2006-03-16



Hardware and Software, Engineered to Work Together