JDK-5075590 : JRE 1.4.2_04 or later hangs Mozilla when open and close and reopen new window.
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0
  • Priority: P5
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-07-19
  • Updated: 2004-08-18
  • Resolved: 2004-08-18
Description
Name: gm110360			Date: 07/19/2004


FULL PRODUCT VERSION :
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Windows XP, Windows 2000, and maybe all version of Windows that can run JRE.

A DESCRIPTION OF THE PROBLEM :
Original report is
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=3824 (Japanese)
http://bugzilla.mozilla.org/show_bug.cgi?id=172129

When a page contains Java applet and opened by  JavaScript and
closed by JavaScript, Mozilla hangs after open and close and reopen
tha page.

1.4.1_01 didn't hangs Mozilla. This is a regression.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. opens http://web-p.wics.ne.jp/char_audi/applet/OYA.html
2. push input button to open new window.
   The new window contains a Java applet.
3. push input button to close new window.
4. push input button to open new window.



EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Mozilla doesn't hangs.
ACTUAL -
Mozilla hangs.


ERROR MESSAGES/STACK TRACES THAT OCCUR :
Mozilla can't display any message.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import java.awt.*;
import java.applet.*;

public class SimpleApplet extends Applet {
    public void paint (Graphics g) {
        g.drawString("Simple Applet", 10, 30);
    }
} 

---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
push A tag's link to close new window.
(Incident Review ID: 286320) 
======================================================================

Comments
EVALUATION When the browser hang, I can't see any deadlock in any Java related thread. Also, Mozilla is not even trying to call plug-in to initialize the applet etc. This bug can be easily reproduced with 1.4.1 as well. So I don't consider it as our bug. Will update the bugzilla bug as well. ###@###.### 2004-07-19
19-07-2004