Re: Firefox 1.0.7 crashed on installing PB

From: Stefano Mazzocchi <stefanom_at_mit.edu>
Date: Fri, 30 Sep 2005 17:32:00 -0700

Jon,

I just installed 1.0.7 clean and installed the latest piggybank on a
macosx 10.4.2 (with java 1.4.2) and it works just fine.

have you installed the "java embedding plugin"?

See further comments below:

Jon Crump wrote:
> I installed the latest firefox 1.0.7 and then tried to install PB. Running
> Mac OS X 10.4.2 on iBook G4. Crashed: long delay in getting email text
> box. PB seemed to install but no data no PB page. Started Firefox in safe
> mode. Uninstalled PB, tried again: same deal. Got these errors in js
> console:
>
> Error: uncaught exception: [Exception... "Cannot find interface
> information for parameter arg 0 [nsIDOMNSHTMLInputElement.controllers]"
> nsresult: "0x80570006 (NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO)" location:
> "JS frame :: chrome://global/content/bindings/textbox.xml ::
> get_controllers :: line 0" data: no]
>
> Exception: [Overlay.initialize] initialize
> [Exception... "Cannot find interface information for parameter arg 0
> [nsIDOMXULElement.controllers]" nsresult: "0x80570006
> (NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO)" location: "JS frame ::
> chrome://browser/content/browser.js :: delayedStartup :: line 684" data:
> no]

I have never seen these errors. :-/

> Trashed the whole default profile folder and tried again: Firefox
> crashed. Could be something I'm doing, but I don't know what.
>
> Talkback incident report appended below:
>
>
> Date/Time: 2005-09-30 10:10:17.404 -0700
> OS Version: 10.4.2 (Build 8C46)
> Report Version: 3
>
> Command: firefox-bin
> Path: /Applications/InternetApps/Firefox.app/Contents/MacOS/firefox-bin
> Parent: WindowServer [13821]
>
> Version: 1.0.7 (1.0.7)
>
> PID: 14389
> Thread: 0
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
>
> Thread 0 Crashed:
> 0 libhotspot.dylib 0x9644cd34
> JVM_GetStackAccessControlContext + 196
> 1 <<00000000>> 0x0f10a668 0 + 252749416
> 2 <<00000000>> 0x0f1085cc 0 + 252741068
> 3 <<00000000>> 0x0f10868c 0 + 252741260
> 4 <<00000000>> 0x0f10868c 0 + 252741260
> 5 <<00000000>> 0x0f10868c 0 + 252741260
> 6 <<00000000>> 0x0f1085cc 0 + 252741068
> 7 <<00000000>> 0x0f1085cc 0 + 252741068
> 8 <<00000000>> 0xa4d51f30 typeinfo name for std::bad_exception +
> 28296
> 9 libjvm.dylib 0x94d464ac JVM_CurrentTimeMillis + 4968

hmmm, this seems like a JVM bug. What version are you using, the new 1.5?

> 10 libjvm.dylib 0x94d7b970 JVM_GetCPClassNameUTF + 6044
> 11 libjvm.dylib 0x94d6f298 JVM_DoPrivileged + 852
> 12 <<00000000>> 0x0f10a668 0 + 252749416
> 13 <<00000000>> 0x0f1085cc 0 + 252741068
> 14 <<00000000>> 0x0f10868c 0 + 252741260
> 15 <<00000000>> 0x0f1085cc 0 + 252741068
> 16 <<00000000>> 0x0f1085cc 0 + 252741068
> 17 <<00000000>> 0xa4d51f30 typeinfo name for std::bad_exception +
> 28296
> 18 libjvm.dylib 0x94d464ac JVM_CurrentTimeMillis + 4968
> 19 libjvm.dylib 0x94d7b970 JVM_GetCPClassNameUTF + 6044
> 20 libjvm.dylib 0x94d990f0 JVM_MonitorNotifyAll + 12228
> 21 libjvm.dylib 0x94e21404 ps + 69124
> 22 libjvm.dylib 0x94d846b0 JVM_GetCPMethodModifiers + 12224
> 23 libjvm.dylib 0x94d4c59c JVM_GetClassName + 3508
> 24 libjvm.dylib 0x94d5beb4 __divdi3 + 5348
> 25 libjvm.dylib 0x94d5b090 __divdi3 + 1728
> 26 libjvm.dylib 0x94d501f8
> JVM_GetMethodIxExceptionTableLength + 284
> 27 libjvm.dylib 0x94da93b0 JVM_Close + 2896
> 28 com.netscape.MRJPlugin 0x01b30f14 JNIEnv_::FindClass(char
> const*) + 60 (jni.h:767)
> 29 com.netscape.MRJPlugin 0x01b142f8
> InitLiveConnectSupport(MRJPlugin*) + 236 (LiveConnectNativeMethods.cpp:136)
> 30 com.netscape.MRJPlugin 0x01b127a8 MRJPlugin::StartupJVM() + 452
> (MRJPlugin.cpp:482)
> 31 com.netscape.MRJPlugin 0x01b129e8
> MRJPlugin::CreateSecureEnv(JNIEnv_*, nsISecureEnv**) + 60
> (MRJPlugin.cpp:520)

This shows that you do have the MRJ plugin running.

> 32 org.mozilla.firefox 0x00072770 CreateProxyJNI(nsIJVMPlugin*,
> nsISecureEnv*) + 48
> 33 org.mozilla.firefox 0x000712a4 JVM_GetJNIEnv + 56
> 34 org.mozilla.firefox 0x00071f58 GetJVMContext() + 2272
> 35 org.mozilla.firefox 0x007d0c3c JSJ_ConnectToJavaVM + 272
> 36 org.mozilla.firefox 0x007d122c JSJ_AttachCurrentThreadToJava
> + 32
> 37 org.mozilla.firefox 0x00071900 GetJVMContext() + 648
> 38 org.mozilla.firefox 0x007d746c jsj_EnterJava + 96
> 39 org.mozilla.firefox 0x007d8e8c jsj_init_JavaMember + 616
> 40 libmozjs.dylib 0x0603b024 js_LookupPropertyWithFlags + 1184
> 41 libmozjs.dylib 0x0603b62c js_GetProperty + 196
> 42 libmozjs.dylib 0x0602f7c0 js_Interpret + 22792
> 43 libmozjs.dylib 0x060291b0 js_Invoke + 1780
> 44 org.mozilla.firefox 0x0003c314
> nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short,
> nsXPTMethodInfo const*, nsXPTCMiniVariant*) + 2288
> 45 libxpcom.dylib 0x07059818 PrepareAndDispatch + 756
> 46 libxpcom.dylib 0x0705a1bc SharedStub + 112
> 47 libxpcom.dylib 0x0705997c _XPTC_InvokeByIndex + 216
> 48 org.mozilla.firefox 0x000330a0
> XPCWrappedNative::CallMethod(XPCCallContext&,
> XPCWrappedNative::CallMode) + 2508
> 49 org.mozilla.firefox 0x00028f34 XPC_WN_CallMethod(JSContext*,
> JSObject*, unsigned, long*, long*) + 220
> 50 libmozjs.dylib 0x06029170 js_Invoke + 1716
> 51 libmozjs.dylib 0x0603058c js_Interpret + 26324
> 52 libmozjs.dylib 0x060291b0 js_Invoke + 1780
> 53 libmozjs.dylib 0x0603058c js_Interpret + 26324
> 54 libmozjs.dylib 0x060291b0 js_Invoke + 1780
> 55 org.mozilla.firefox 0x0003c314
> nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short,
> nsXPTMethodInfo const*, nsXPTCMiniVariant*) + 2288
> 56 libxpcom.dylib 0x07059818 PrepareAndDispatch + 756
> 57 libxpcom.dylib 0x0705a1bc SharedStub + 112
> 58 org.mozilla.firefox 0x0029d794
> nsEventListenerManager::HandleEventSubType(nsListenerStruct*,
> nsIDOMEvent*, nsIDOMEventTarget*, unsigned, unsigned) + 568
> 59 org.mozilla.firefox 0x0029daa4
> nsEventListenerManager::HandleEvent(nsIPresContext*, nsEvent*,
> nsIDOMEvent**, nsIDOMEventTarget*, unsigned, nsEventStatus*) + 700
> 60 org.mozilla.firefox 0x002f0a40
> GlobalWindowImpl::HandleDOMEvent(nsIPresContext*, nsEvent*,
> nsIDOMEvent**, unsigned, nsEventStatus*) + 904
> 61 org.mozilla.firefox 0x0024ae7c
> DocumentViewerImpl::LoadComplete(unsigned) + 224
> 62 org.mozilla.firefox 0x0055dd3c
> nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, unsigned) + 108
> 63 org.mozilla.firefox 0x0053ba10
> nsWebShell::EndPageLoad(nsIWebProgress*, nsIChannel*, unsigned) + 180
> 64 org.mozilla.firefox 0x0055dbb8
> nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned,
> unsigned) + 736
> 65 org.mozilla.firefox 0x00540da0
> nsDocLoaderImpl::FireOnStateChange(nsIWebProgress*, nsIRequest*, int,
> unsigned) + 324
> 66 org.mozilla.firefox 0x005402ac
> nsDocLoaderImpl::doStopDocumentLoad(nsIRequest*, unsigned) + 56
> 67 org.mozilla.firefox 0x005401f8
> nsDocLoaderImpl::DocLoaderIsEmpty() + 232
> 68 org.mozilla.firefox 0x00540064
> nsDocLoaderImpl::OnStopRequest(nsIRequest*, nsISupports*, unsigned) + 448
> 69 org.mozilla.firefox 0x00085550
> nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, unsigned) + 296
> 70 org.mozilla.firefox 0x0019dde8
> imgRequestProxy::RemoveFromLoadGroup() + 96
> 71 org.mozilla.firefox 0x001a2ff8
> imgRequest::OnStopRequest(nsIRequest*, nsISupports*, unsigned) + 380
> 72 org.mozilla.firefox 0x000e6e38
> nsFileChannel::OnStopRequest(nsIRequest*, nsISupports*, unsigned) + 80
> 73 org.mozilla.firefox 0x000ad3d0
> nsInputStreamPump::OnStateStop() + 160
> 74 org.mozilla.firefox 0x000ad03c
> nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) + 128
> 75 libxpcom.dylib 0x0708010c
> nsAStreamCopier::PostContinuationEvent_Locked() + 1240
> 76 libxpcom.dylib 0x07041cf8 PL_HandleEvent + 36
> 77 libxpcom.dylib 0x07041c1c PL_ProcessPendingEvents + 128
> 78 libxpcom.dylib 0x07042100 PL_IsQueueNative + 136
> 79 com.apple.HIToolbox 0x931288d4
> DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
> HandlerCallRec*) + 692
> 80 com.apple.HIToolbox 0x9312802c
> SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
> HandlerCallRec*) + 372
> 81 com.apple.HIToolbox 0x93127ea8
> SendEventToEventTargetWithOptions + 40
> 82 com.apple.HIToolbox 0x9312f1ec
> ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,
> OpaqueEventRef*, void*) + 704
> 83 com.apple.HIToolbox 0x93128b24
> DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
> HandlerCallRec*) + 1284
> 84 com.apple.HIToolbox 0x9312802c
> SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
> HandlerCallRec*) + 372
> 85 com.apple.HIToolbox 0x9312edb0 SendEventToEventTarget + 40
> 86 com.apple.HIToolbox 0x9316fce0 ToolboxEventDispatcher + 92
> 87 com.apple.HIToolbox 0x9320ece4 TryEventDispatcher + 112
> 88 com.apple.HIToolbox 0x9320e938 GetOrPeekEvent + 304
> 89 com.apple.HIToolbox 0x9320e674 GetNextEventMatchingMask + 156
> 90 com.apple.HIToolbox 0x9320e51c WNEInternal + 140
> 91 com.apple.HIToolbox 0x9320e47c WaitNextEvent + 76
> 92 org.mozilla.firefox 0x001d5ab0
> nsMacMessagePump::GetEvent(EventRecord&) + 116
> 93 org.mozilla.firefox 0x001d5994
> nsMacMessagePump::DoMessagePump() + 48
> 94 org.mozilla.firefox 0x001bce88 nsAppShell::Run() + 56
> 95 org.mozilla.firefox 0x007f1c40 xre_main(int, char**,
> nsXREAppData const*) + 2752
> 96 org.mozilla.firefox 0x0000f54c start + 432
> 97 org.mozilla.firefox 0x0000f3cc start + 48

This stacktrace seems to indicate that the JVM crashes when initializing
the LiveConnect subsystem. I have never experienced this, but I've
always used 1.4.2, I have not used 1.5 much.

So, either there is something wrong with the java embedding plugin, or
there is something wrong with the JVM, I don't think this is anything
Piggy bank specific, also because I can't reproduce that bug with the
same firefox and OS version.

-- 
Stefano Mazzocchi
Research Scientist                 Digital Libraries Research Group
Massachusetts Institute of Technology            location: E25-131C
77 Massachusetts Ave                   telephone: +1 (617) 253-1096
Cambridge, MA  02139-4307              email: stefanom at mit . edu
-------------------------------------------------------------------
Received on Sat Oct 01 2005 - 00:27:11 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT