Hi, We have built firefox 1.5.0.3 on mac with gtk as default toolkit. but we are unable to run the test application on Intel where as on PPC it is working fine.
Crash report on Intel as follows 0 dyld 0x8fe12f84 stub_binding_helper_interface + 18 1 <<00000000>> 0x00000000 0 + 0 2 libxpcom_core.dylib 0x010b036a xptiInterfaceInfo::GetInterfaceIID(nsID**) + 38 (xptiprivate.h:693) 3 libxpconnect.dylib 0x2df943cf nsJSIID::GetId(nsID**) + 75 (xpcjsid.cpp:426) 4 libxpconnect.dylib 0x2df93a06 nsJSID::Equals(nsIJSID*, int*) + 182 (xpcjsid.cpp:152) 5 libxpcom_core.dylib 0x0108c576 XPTC_InvokeByIndex + 56 (xptcinvoke_unixish_x86.cpp:179) 6 libxpconnect.dylib 0x2dfa9bb1 XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) + 4727 (xpcwrappednative.cpp:2152) 7 libxpconnect.dylib 0x2dfb349b XPC_WN_CallMethod(JSContext*, JSObject*, unsigned, long*, long*) + 353 (xpcwrappednativejsops.cpp:1444) 8 libmozjs.dylib 0x0048d2ad js_Invoke + 2818 (jsinterp.c: 1177) 9 libmozjs.dylib 0x00499501 js_Interpret + 44979 (jsinterp.c:3561) 10 libmozjs.dylib 0x0048d324 js_Invoke + 2937 (jsinterp.c: 1197) 11 libmozjs.dylib 0x0048d5c6 js_InternalInvoke + 241 (jsinterp.c:1274) 12 libmozjs.dylib 0x004613c0 JS_CallFunctionValue + 62 (jsapi.c:4171) 13 libxpconnect.dylib 0x2dfa3025 nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject(XPCCallContext&, JSObject*, nsID const&) + 719 (xpcwrappedjsclass.cpp:277) 14 libxpconnect.dylib 0x2dfa3124 nsXPCWrappedJSClass::GetRootJSObject(XPCCallContext&, JSObject*) + 48 (xpcwrappedjsclass.cpp:633) 15 libxpconnect.dylib 0x2df9f74c nsXPCWrappedJS::GetNewOrUsed(XPCCallContext&, JSObject*, nsID const&, nsISupports*, nsXPCWrappedJS**) + 182 (xpcwrappedjs.cpp:236) 16 libxpconnect.dylib 0x2df8b86d XPCConvert::JSObject2NativeInterface(XPCCallContext&, void**, JSObject*, nsID const*, nsISupports*, unsigned*) + 447 (xpcconvert.cpp: 1194) 17 libxpconnect.dylib 0x2df7a240 nsXPConnect::WrapJS(JSContext*, JSObject*, nsID const&, void**) + 312 (nsXPConnect.cpp:619) 18 libxpconnect.dylib 0x2dfbe95d mozJSComponentLoader::ModuleForLocation(char const*, nsIFile*) + 913 (mozJSComponentLoader.cpp:780) 19 libxpconnect.dylib 0x2dfbefc0 mozJSComponentLoader::AttemptRegistration(nsIFile*, int) + 288 (mozJSComponentLoader.cpp:544) 20 libxpconnect.dylib 0x2dfbf5f4 mozJSComponentLoader::AutoRegisterComponent(int, nsIFile*, int*) + 236 (mozJSComponentLoader.cpp:479) 21 libxpconnect.dylib 0x2dfbd562 mozJSComponentLoader::RegisterComponentsInDir(int, nsIFile*) + 488 (mozJSComponentLoader.cpp:381) 22 libxpconnect.dylib 0x2dfbd611 mozJSComponentLoader::AutoRegisterComponents(int, nsIFile*) + 31 (mozJSComponentLoader.cpp:335) 23 libxpcom_core.dylib 0x0105afe3 nsComponentManagerImpl::AutoRegisterNonNativeComponents(nsIFile*) + 527 (nsComponentManager.cpp:3299) 24 libxpcom_core.dylib 0x0105b8ae nsComponentManagerImpl::AutoRegisterImpl(int, nsIFile*, int) + 2046 (nsComponentManager.cpp:3266) 25 libxpcom_core.dylib 0x0105b922 nsComponentManagerImpl::AutoRegister(nsIFile*) + 50 (nsComponentManager.cpp:3441) 26 libxpcom_core.dylib 0x0100fcfa NS_InitXPCOM3_P + 3038 (nsXPComInit.cpp:630) 27 libxpcom.dylib 0x00019c4b NS_InitXPCOM3 + 45 (nsXPComStub.cpp:134) 28 libgtkembedmoz.dylib 0x00213d00 NS_InitEmbedding + 80 (nsEmbedAPI.cpp:112) 29 libgtkembedmoz.dylib 0x0020b040 EmbedPrivate::PushStartup() + 458 (EmbedPrivate.cpp:518) 30 libgtkembedmoz.dylib 0x0020b2d2 EmbedPrivate::EmbedPrivate[in-charge]() + 186 (EmbedPrivate.cpp:158) 31 libgtkembedmoz.dylib 0x00207b0e gtk_moz_embed_init(_GtkMozEmbed*) + 36 (gtkmozembed2.cpp:533) 32 libgobject-2.0.0.dylib 0x02aae71c g_type_create_instance + 1278 (gtype.c:1572) 33 libgobject-2.0.0.dylib 0x02a93962 g_object_constructor + 28 (gobject.c:1041) 34 libgobject-2.0.0.dylib 0x02a93fb6 g_object_newv + 490 (gobject.c:937) 35 libgobject-2.0.0.dylib 0x02a94c3b g_object_new_valist + 605 (gobject.c:981) 36 libgobject-2.0.0.dylib 0x02a94de6 g_object_new + 54 (gobject.c: 799) 37 libgtk-quartz-2.0.0.dylib 0x01d7a30a gtk_type_new + 53 (gtktypeutils.c:107) 38 libgtkembedmoz.dylib 0x00207b85 gtk_moz_embed_new + 27 (gtkmozembed2.cpp:546) 39 TestGtkEmbed 0x00002b42 new_gtk_browser(unsigned) + 1378 (TestGtkEmbed.cpp:432) 40 TestGtkEmbed 0x000039d2 main + 170 (TestGtkEmbed.cpp: 219) 41 TestGtkEmbed 0x00001fa2 _start + 216 42 TestGtkEmbed 0x00001ec9 start + 41 Then we built mozilla with -mstackalign option set, to avoid the crash due to misaligned stack. but it is failing in XPCom init. The following is the error reported on terminal ###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file R, line 594 Break: at file R, line 594 Segmentation fault Does anyone know why it is crashing only on intel? Thanks in advance, RV _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
