Java6 hangs Firefox

Bug #126194 reported by Mikko Ohtamaa
2
Affects Status Importance Assigned to Milestone
Mozilla Firefox
New
Unknown
mozilla-firefox (Ubuntu)
Incomplete
Low
Mozilla Bugs

Bug Description

Java5 happened to hang on my firefox. UI didn't respond, had to force quit. Cause unknown. I am not sure whether I can repeat this. But I managed to get the backtrace.

(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7782893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xadad0b18 in JavaVM5::ProcessWorkQueue ()
   from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjavaplugin_nscp.so
#3 0xadad1f1d in JavaVM5::GetJavaObjectForInstance ()
   from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjavaplugin_nscp.so
#4 0xadacc7d4 in JavaPluginFactory5::GetJavaObjectForInstance ()
   from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjavaplugin_nscp.so
#5 0xadacede0 in JavaPluginInstance5::GetJavaObject ()
   from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjavaplugin_nscp.so
#6 0xade2ae5f in CNSAdapter_JavaPlugin::GetJavaObject ()
   from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/plugin/i386/ns7/libjavaplugin_oji.so
#7 0xb706066b in nsHTMLAppletElementSH::GetPluginJSObject (this=0xedcc4f8, cx=0xeaf4ee8, obj=0xdf34618,
    plugin_inst=0xf823338, plugin_obj=0xbf9315f4, plugin_proto=0xbf9315f0) at nsDOMClassInfo.cpp:9149
#8 0xb706f053 in nsHTMLExternalObjSH::PostCreate (this=0xedcc4f8, wrapper=0xc403ab8, cx=0xeaf4ee8, obj=0xdf34618)
    at nsDOMClassInfo.cpp:8894
#9 0xb65f9b17 in XPCWrappedNative::GetNewOrUsed (ccx=@0xbf931b0c, Object=0xba79548, Scope=0xd6dff80,
    Interface=0x8552e90, isGlobal=0, resultWrapper=0xbf931808) at xpcwrappednative.cpp:466
#10 0xb65f991f in XPCWrappedNative::GetNewOrUsed (ccx=@0xbf931b0c, Object=0xeebf320, Scope=0x86079d0,
    Interface=0x8552e90, isGlobal=0, resultWrapper=0xbf931808) at xpcwrappednative.cpp:336
#11 0xb65e2357 in XPCConvert::NativeInterface2JSObject (ccx=@0xbf931b0c, dest=0xbf931868, src=0xeebf320,
    iid=0xbf931ab8, scope=0xdf34648, allowNativeWrapper=1, isGlobal=0, pErr=0xbf931aa8) at xpcconvert.cpp:1078
#12 0xb65e28a0 in XPCConvert::NativeData2JS (ccx=@0xbf931b0c, d=0xbf931aa4, s=0xbf9319dc, type=@0xbf931a9c,
    iid=0xbf931ab8, scope=0xdf34648, pErr=0xbf931aa8) at xpcconvert.cpp:471
#13 0xb65f7432 in XPCWrappedNative::CallMethod (ccx=@0xbf931b0c, mode=XPCWrappedNative::CALL_GETTER)
    at xpcwrappednative.cpp:2257
#14 0xb65fd59d in XPC_WN_GetterSetter (cx=0xeaf4ee8, obj=0xdf34648, argc=0, argv=0xe6c36ac, vp=0xbf931c30)
    at xpcprivate.h:1959
#15 0xb7f0b7b5 in js_Invoke (cx=0xeaf4ee8, argc=0, flags=2) at jsinterp.c:1375
#16 0xb7f1bccd in js_InternalInvoke (cx=0xeaf4ee8, obj=0xdf34648, fval=152258088, flags=2, argc=0, argv=0x0,
    rval=0xbf931fd8) at jsinterp.c:1469
#17 0xb7f1bdf5 in js_InternalGetOrSet (cx=0xeaf4ee8, obj=0xdf34648, id=135528232, fval=0, mode=JSACC_READ, argc=0,
    argv=0x0, rval=0xbf931fd8) at jsinterp.c:1540
#18 0xb7f2419b in js_NativeGet (cx=0xeaf4ee8, obj=0xdf34648, pobj=0x9135b28, sprop=0x91b3ed4, vp=0xbf931fd8)
---Type <return> to continue, or q <return> to quit---
    at jsobj.c:3409
#19 0xb7f25d03 in js_GetProperty (cx=0xeaf4ee8, obj=0xdf34648, id=135528232, vp=0xbf931fd8) at jsobj.c:3556
#20 0xb7f163e9 in js_Interpret (cx=0xeaf4ee8, pc=0xbf931f98 "�\037\223��", result=0xbf932108) at jsinterp.c:3690
#21 0xb7f0be36 in js_Invoke (cx=0xeaf4ee8, argc=1, flags=2) at jsinterp.c:1394
#22 0xb65f4cda in nsXPCWrappedJSClass::CallMethod (this=0x86e8ed8, wrapper=0xe08d118, methodIndex=3, info=0x8560a38,
    nativeParams=0xbf9323fc) at xpcwrappedjsclass.cpp:1415
#23 0xb65eeaf3 in nsXPCWrappedJS::CallMethod (this=0xe08d118, methodIndex=3, info=0x8560a38, params=0xbf9323fc)
    at xpcwrappedjs.cpp:467
#24 0xb7ea8141 in PrepareAndDispatch (methodIndex=<value optimized out>, self=0xe08d118, args=<value optimized out>)
    at xptcstubs_gcc_x86_unix.cpp:100
#25 0xb6f33ea0 in nsEventListenerManager::HandleEventSubType (this=0xcac15a8, aListenerStruct=0xd5e8848,
    aListener=0xe08d118, aDOMEvent=0xe05fb98, aCurrentTarget=0xe2ebb24, aSubType=16, aPhaseFlags=4)
    at nsEventListenerManager.cpp:1655
#26 0xb6f35f60 in nsEventListenerManager::HandleEvent (this=0xcac15a8, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aCurrentTarget=0xe2ebb24, aFlags=4, aEventStatus=0xbf9343a8)
    at nsEventListenerManager.cpp:1759
#27 0xb704dda7 in nsGlobalWindow::HandleDOMEvent (this=0xebcad10, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=4, aEventStatus=0xbf9343a8) at nsGlobalWindow.cpp:1694
#28 0xb6ee8ddc in nsDocument::HandleDOMEvent (this=0xeccde08, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=4, aEventStatus=0xbf9343a8) at nsDocument.cpp:4065
#29 0xb6f008c7 in nsGenericElement::HandleDOMEvent (this=0xc3ac838, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2186
#30 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xed5b340, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#31 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xd7bd2f8, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#32 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xe2aacd0, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#33 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xe31c448, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#34 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xe2bad98, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#35 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xaf70af0, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
---Type <return> to continue, or q <return> to quit---
#36 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xae4d1d0, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#37 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xb846878, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#38 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xd310c70, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#39 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xadb70a8, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#40 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xdecc048, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#41 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xbcf5260, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#42 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xaa3db80, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#43 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xb82fca8, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#44 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xd892d60, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#45 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xcbe83f8, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#46 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xf16a8d0, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#47 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xd8168a8, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#48 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xcfb4548, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#49 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xcd7c368, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#50 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xc0db828, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#51 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xd539a38, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#52 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0x9b9be48, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
---Type <return> to continue, or q <return> to quit---
#53 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xcf0f288, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#54 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xc4f2140, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#55 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xe3a9c18, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#56 0xb6f00399 in nsGenericElement::HandleDOMEvent (this=0xba79548, aPresContext=0xeffb400, aEvent=0xbf93435c,
    aDOMEvent=0xbf934314, aFlags=<value optimized out>, aEventStatus=0xbf9343a8) at nsGenericElement.cpp:2179
#57 0xb6f36c4c in nsEventStateManager::DispatchMouseEvent (this=0xf010358, aEvent=0xbf934864, aMessage=331,
    aTargetContent=0xba79548, aRelatedContent=0xc8de518) at nsEventStateManager.cpp:2795
#58 0xb6f3d308 in nsEventStateManager::NotifyMouseOver (this=0xf010358, aEvent=0xbf934864, aContent=0xba79548)
    at nsEventStateManager.cpp:2921
#59 0xb6f3d3f6 in nsEventStateManager::GenerateMouseEnterExit (this=0xf010358, aEvent=0xbf934864)
    at nsEventStateManager.cpp:2952
#60 0xb6f40457 in nsEventStateManager::PreHandleEvent (this=0xf010358, aPresContext=0xeffb400, aEvent=0xbf934864,
    aTargetFrame=0xdc6c038, aStatus=0xbf9346c0, aView=0xc911e88) at nsEventStateManager.cpp:566
#61 0xb6d51c17 in PresShell::HandleEventInternal (this=0xea217c0, aEvent=0xbf934864, aView=0xc911e88, aFlags=1,
    aStatus=0xbf9346c0) at nsPresShell.cpp:6423
#62 0xb6d528d3 in PresShell::HandleEvent (this=0xea217c0, aView=0xc911e88, aEvent=0xbf934864,
    aEventStatus=0xbf9346c0, aForceHandle=0, aHandled=@0xbf9346b8) at nsPresShell.cpp:6268
#63 0xb7033128 in nsViewManager::HandleEvent (this=0xefcbc70, aView=0x9ecb190, aEvent=0xbf934864, aCaptured=0)
    at nsViewManager.cpp:2564
#64 0xb7035d94 in nsViewManager::DispatchEvent (this=0xefcbc70, aEvent=0xbf934864, aStatus=0xbf934820)
    at nsViewManager.cpp:2253
#65 0xb702a106 in HandleEvent (aEvent=0xbf934864) at nsView.cpp:171
#66 0xb6bdf23e in nsCommonWidget::DispatchEvent (this=0xeb47098, aEvent=0xbf934864, aStatus=@0xbf9348ac)
    at nsCommonWidget.cpp:219
#67 0xb6bdbfb6 in nsWindow::OnLeaveNotifyEvent (this=0xeb47098, aWidget=0x864d690, aEvent=0xe01c0c0)
    at nsWindow.cpp:1572
#68 0xb6bdc011 in leave_notify_event_cb (widget=0x864d690, event=0xe01c0c0) at nsWindow.cpp:3871
#69 0xb7ba46b0 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0

#70 0xb75d462b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#71 0xb75e5103 in ?? () from /usr/lib/libgobject-2.0.so.0
#72 0x086adea0 in ?? ()
---Type <return> to continue, or q <return> to quit---
#73 0xbf934a30 in ?? ()
#74 0x00000002 in ?? ()
#75 0xbf934b0c in ?? ()
#76 0xbf934a1c in ?? ()
#77 0x00000000 in ?? ()
(gdb)

Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

I can repeat this always by going to this URL:

http://www.1470wmbd.com/pages/683169.php?contentType=4&contentId=690484

The page loads, but hangs after a while. Looks like there is java widget in the top right corner causing it.

Revision history for this message
unksi (unksi) wrote :

Happens here too. Kubuntu Feisty, Firefox 2.0.0.4 from the repos.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Have you tested this with java6 by chance? if java6 hangs as well i think i have already uploaded a solution to this issue in the mozillateam repo but i want to beable to have more ifno before ending you to use it.

Changed in mozilla-firefox:
assignee: nobody → mozilla-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

Hmm, looks like the title is wrong. It's Java 6.0 instead of 5.0.

I was confused by "JavaVM5" but if you look paths it uses Java 6.0.

Revision history for this message
John Vivirito (gnomefreak) wrote :

I changed the title. i Also think this is a dup of bug #122442.
Is it only firefox that you see this issue with? Can you please try konqueror and epiphany see if they act same way. if this is a java bug than it should happen on any java enabled browser. From your discription i think its java not mozilla, however i am working on getting java6 update 1and or 2 in there. Sees java6 in feisty has a mem leak that was fixed in update1 as you can see from bug #122442

Changed in firefox:
status: Unknown → New
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

The same computer.

Does not crash Konqueror. Works flawlessly.

For Feisty, put /usr/lib/jvm/java-6-sun/jre/lib/i386/ to Konqueror Java path setting to enable Java plug-in.

Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

This bug does not exist on Gutsy Gibbon / Tribe 5 anymore.

Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

This bug can be closed-

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.