Closed Bug 301418 Opened 19 years ago Closed 17 years ago

hangs when failed to load applet, and can NOT close firefox browser gracefully.

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gold_eg, Unassigned)

References

()

Details

(Whiteboard: CLOSEME - 06/29)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

HTTP request not responsed, maybe the connection crashed and block other requests.

Then the process does NOT quit even the GUI disappear, new process can NOT be
launched.

Reproducible: Always

Steps to Reproduce:
1. go the url specified
2. if failed, or press stop button
3. go any other url

Actual Results:  
no response

Expected Results:  
stop current loading, then go other page
WFM
wfm with Mozilla/5.0 (Windows; U; Windows NT 5.2; de-DE; rv:1.8b4)
Gecko/20050717 SeaMonkey/1.0a
Same problem here, it seems.

After a failed applet load all page changes block forever.  You cannot open a new page, select a different tab, or use the [back] button.  The cursor over the menus displays as a waiting cursor.  Opening a new page in a new tab displays "Loading..." forever, but can still be closed.

Firefox can be closed but the process doesn't terminate.  It must be killed manually.  If it is not killed, a message box tells "Firefox is already running but is not responding. ..."


Software:
Firefox: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Windows: Windows 2000 Professional SP4, build 2195, French
Java: JRE version 1.5.0_06 Java HotSpot(TM) Client VM


Here is the offending page.

<html>
<body>
<applet code="NotFound.class">
</applet>
</body>
</html>

Of course, NotFound.class doesn't exist.  Given its simplicity I suspect it happens only in some very special cases.  Maybe something with my Java installation.  I noticed that if I add the codebase="." attribute, it works (i.e. fails) nicely and doesn't hang.

When loading this page, a Java icon appears in my task bar.  From there I can open the Java console.  Doing so reveals the following stack traces:


Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\FNF


----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class NotFound.class not found.
java.lang.ClassNotFoundException: NotFound.class
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\FNF\Bureau\FireFox problems\NotFound\class.class (Le chemin d'accès spécifié est introuvable)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at java.io.FileInputStream.<init>(Unknown Source)
	at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
	at sun.applet.AppletClassLoader.access$100(Unknown Source)
	at sun.applet.AppletClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
	at sun.plugin.AppletViewer.showAppletException(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
	at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-NotFound.class" java.lang.NullPointerException
	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
	at sun.plugin.AppletViewer.showAppletException(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/2007051502 Firefox/2.0.0.4

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/2007060204 Minefield/3.0a6pre

WFM.  Reporter, or anyone else that has seen this problem, do you still see this with the latest release of Firefox 2 when using a clean profile?

http://kb.mozillazine.org/Profile_Manager
Whiteboard: CLOSEME - 06/29
I can't reproduce using Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9a6pre) Gecko/20070701 Minefield/3.0a6pre ID:2007070104. Closing as WFM.

Reporter, if you're still seeing this, please comment with details and reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Version: unspecified → 1.0 Branch
I got the bug on both my home and my office PC.

So far I have found that on a clean reinstall of Firefox 2.0.0.4 on my PC, the problem does not appear.  But as soon as I reinstall my personal profile into
   C:\Documents and Settings\(me)\Application Data\Mozilla\Firefox\Profiles
then I get the bug.  I'll have to sort out what, in my profile, is causing that.
It is Adblock.
I had Adblock 0.5.3.043 installed.  Disabling it didn't help, but uninstalling it removed the symptoms.
Starting from a clean profile and Installing the latest Adblock Plus (0.7.5.1) reproduced the faulty behavior.
A a reminder, the problem is that the 6-line html page above hangs Firefox badly.  You have to stop the process from the Task Manager.
You need to log in before you can comment on or make changes to this bug.