JDK-6348224 : Firefox hangs on http://tours.tourfactory.com/tours/tour.asp?t=223372&sreferer=
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-11-09
  • Updated: 2010-04-04
  • Resolved: 2005-11-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u7Fixed 6 b63Fixed
Description
Summary:
Firefox hangs on applets.

Steps to reproduce the bug:
1. Download and install Firefox 1.5 RC1.
2. Download and install JRE 1.6 (latest build 59) or JRE 1.5.0_07.
3. Visit http://tours.tourfactory.com/tours/tour.asp?t=223372&sreferer=www.mlslistings.com&home=www.mlsli
and click "Java Viewer(Bubble)" inside the applet. 
4. Firefox hangs.

I attached the process with firefox and it shows jvm.dll in the stack trace, so I think java plug-in team should take a look at the problem. This bug can be reproduced on both 1.5.0_07 and latest mustang build. This bug can't be reproducible on IE.

Comments
EVALUATION Fix found. Problems are due to: - mishandling of window event during applet shutdown - mishandling of null event during applet startup. Fix will be in 1.6.0 B64 and earliest possible 1.5.0 update build.
18-11-2005

EVALUATION There is no evidence that AWT is causing any problems in this case. The methods that are mentioned above do not belong to AWT. None of the stacks show any kind of deadlock or other kind of AWT problem. Please find some factual information pointing to the problem in AWT before recategorizing the bug to AWT.
11-11-2005

EVALUATION The following java-backed virtual tour applet hang when running with 6.0 latest as well as 1.5.0_06 on Firefox 1.5 (beta): http://tours.tourfactory.com/tours/tour.asp?t=223372&sreferer=www.mlslistings.com&home=www.mlsli Besides this virtual tour, many other virtual tour java applets are also having the same problem as reported by Mozilla.org. I was able to reproduce the problem on WinXP SP2 using latest 6.0 build or promoted 1.5.0_06. After loading the above page, you'll see the tour window displaying the house. Right below the tour window are 4 buttons. The 2 right most buttons are: "java viewer (flat)" and "java viewer (bubble)". Click to switch from "flat" to "bubble" or vice-versa then you will see the hang. It hangs very consistently. Only once in a while that I was able to switch between "flat" and "bubble" without problem. Please see 2 thread dump traces attached. These traces were produced with 1.5.0_06; similar is seen with 1.6.0 latest. Switching between "flat" and "bubble" causes the applet to reload. FFTigerGood.trace is when applet reload without problem (this is rare to happen) FFTigerBad.trace is when applet reload hanging (this happens very frequent) Per the traces, as well as debug from JPI side, I see that, the problem occurs because AppletPanel.createAppletThread() was not able to start the "thread applet-ptviewer.class" thread to run the applet. And it seems to be a race condition between AppletPanel.createAppletThread() and AppletPanel.getClassLoader(). Otherwise, it doesn't look like there is anything on JPI side that causes this hang.
11-11-2005