Closed
Bug 339943
Opened 20 years ago
Closed 19 years ago
Applet causes firefox to hang
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: swarlock, Unassigned)
Details
(Keywords: hang)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Firefox crashes when a applet cast an Tread execption. The browser appears to become a zombie. You can shutdown the window thread.
The methods that cost this problem is Applet and Runnable.
But the firefox process is still running by the cause of java.
I was testing a site for for bugs.
I found that when the applet cast an
Exception in thread "thread applet-casino.system.client.BongoApplet" 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)
then the whole browser dies.
This problem i cause by that the casino.system.client.BongoApplet doesn't exist.
The problem appears ramdom.
It seems that the java thread is alive and while firefox trys to load the page.
I will come later on with more details.
I'm using the java runtime 1.5.0-06
Reproducible: Always
Steps to Reproduce:
1.write an applet that ties to access another file that don't exist use the broken applet.
2.I was running the orion server when i saw this problem.
3.try to go to the site a few times.
Build platform
target
i586-pc-msvc
Build tools
Compiler Version Compiler flags
$(CYGWIN_WRAPPER) cl 12.00.8804 -TC -nologo -W3 -Gy -Fd$(PDBFILE)
$(CYGWIN_WRAPPER) cl 12.00.8804 -TP -nologo -W3 -Gy -Fd$(PDBFILE)
Configure arguments
--enable-application=browser --enable-update-channel=release --enable-optimize --disable-debug --disable-tests --enable-static --disable-shared --enable-official-branding --enable-svg --enable-canvas --enable-update-packaging
| Reporter | ||
Comment 1•20 years ago
|
||
Thread dump from the java console when the problem appears:
Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing):
"AWT-EventQueue-3" prio=4 tid=0x07b3b278 nid=0x7b0 in Object.wait() [0x1235f000..0x1235f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x215c1460> (a java.awt.EventQueue)
at java.lang.Object.wait(Unknown Source)
at java.awt.EventQueue.getNextEvent(Unknown Source)
- locked <0x215c1460> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
"TimerQueue" daemon prio=6 tid=0x05f20368 nid=0x7d0 in Object.wait() [0x12a4f000..0x12a4fd68]
at java.lang.Object.wait(Native Method)
- waiting on <0x215a81a8> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(Unknown Source)
- locked <0x215a81a8> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Unknown Source)
"ConsoleWriterThread" daemon prio=6 tid=0x03641b00 nid=0x628 in Object.wait() [0x1288f000..0x1288f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x21260f60> (a java.lang.Object)
at java.lang.Object.wait(Unknown Source)
at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
- locked <0x21260f60> (a java.lang.Object)
"Thread-6" prio=6 tid=0x085e0758 nid=0xa74 runnable [0x00000000..0x0f83f71c]
"AWT-EventQueue-1" prio=6 tid=0x033f31b8 nid=0xe38 waiting on condition [0x1270f000..0x1270fa68]
at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
at com.sun.deploy.util.ConsoleWindow$1.actionPerformed(Unknown Source)
at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
"AWT-EventQueue-0" prio=6 tid=0x08731388 nid=0xc04 in Object.wait() [0x1210f000..0x1210fae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x21247c40> (a java.awt.EventQueue)
at java.lang.Object.wait(Unknown Source)
at java.awt.EventQueue.getNextEvent(Unknown Source)
- locked <0x21247c40> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
"AWT-Shutdown" prio=6 tid=0x07f702e0 nid=0xe10 in Object.wait() [0x0ff0f000..0x0ff0fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x2126e4b0> (a java.lang.Object)
at java.lang.Object.wait(Unknown Source)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
- locked <0x2126e4b0> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)
"traceMsgQueueThread" daemon prio=6 tid=0x0630a9e0 nid=0xf7c in Object.wait() [0x0fb3f000..0x0fb3fc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x21251c28> (a java.util.ArrayList)
at java.lang.Object.wait(Unknown Source)
at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
- locked <0x21251c28> (a java.util.ArrayList)
at java.lang.Thread.run(Unknown Source)
"AWT-Windows" daemon prio=6 tid=0x084a49e0 nid=0x6a8 runnable [0x0f93f000..0x0f93fce8]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Java2D Disposer" daemon prio=10 tid=0x05b0ae30 nid=0xeb8 in Object.wait() [0x0f73f000..0x0f73f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x21251920> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x21251920> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Low Memory Detector" daemon prio=6 tid=0x07a322c8 nid=0x838 runnable [0x00000000..0x00000000]
"CompilerThread0" daemon prio=10 tid=0x07c4d470 nid=0x3b4 waiting on condition [0x00000000..0x0f43f84c]
"Signal Dispatcher" daemon prio=10 tid=0x0780f138 nid=0xb50 runnable [0x00000000..0x00000000]
"Finalizer" daemon prio=8 tid=0x0543a8b0 nid=0xb20 in Object.wait() [0x0d1ff000..0x0d1ffc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x21251ac8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x21251ac8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x07b5d178 nid=0x55c in Object.wait() [0x0cf4f000..0x0cf4fce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x21251b48> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x21251b48> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x02525948 nid=0xc74 runnable [0x00000000..0x0012a370]
"VM Thread" prio=10 tid=0x07908ce0 nid=0x8d0 runnable
"VM Periodic Task Thread" prio=10 tid=0x08a00ba0 nid=0xbac waiting on condition
Comment 2•20 years ago
|
||
Do you have a link to a site that reproduces the problem?
Component: General → Java: OJI
Product: Firefox → Core
Summary: Applet cause firefox to crash → Applet cause firefox to crash (zombie)
Whiteboard: [sg:needinfo]
Version: unspecified → 1.8 Branch
| Reporter | ||
Comment 3•20 years ago
|
||
Not at the moment!
Was founding the problem when we where testing a site localy.
Updated•19 years ago
|
Whiteboard: [sg:needinfo]
Updated•19 years ago
|
Group: security
Severity: critical → major
Keywords: hang
Summary: Applet cause firefox to crash (zombie) → Applet causes firefox to hang
Updated•19 years ago
|
QA Contact: general → java.oji
Comment 4•19 years ago
|
||
Teo failed to close this out.
He had written "Problem is solved"
=> WFM
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•