pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firefox on sparc



On Wednesday 17 December 2008 13:01:23 Martin Husemann wrote:
> On Wed, Dec 17, 2008 at 12:57:31PM +0000, raymond.meyer%rambler.ru@localhost 
> wrote:
> > Hi, I can't get firefox to work on 32-bit netbsd sparc port. The package
> > builds OK, but when I try to run it, it dumps core. Firefox works on
> > 64-bit sparc64 port, I think that's because platform specific xptc* files
> > are copied from www/seamonkey/files directory.
>
> This is only because the support has not been imported by mozilla.org yet.
> Don't ask.
>
> > Can anyone create the same files for netbsd sparc platform?
>
> That would not help, the xptcom support is there, you need to find out
> where it crashes.
>
> Martin

Well when installing firefox it dumps core:

=> Automatic manual page handling
=> Running POST-INSTALL script actions
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
=> Registering installation for firefox-2.0.0.18

Running gdb on the core file gives:

Core was generated by `firefox-bin'.
Program terminated with signal 11, Segmentation fault.
#0  0x418f2240 in nsScriptSecurityManager::CheckObjectAccess (cx=0x41498180,
    obj=0x414ed9b0, id=1095681412, mode=JSACC_READ, vp=0xffff9ba4)
    at nsScriptSecurityManager.cpp:514
514                                      
nsIXPCSecurityManager::ACCESS_GET_PROPERTY);
(gdb) where
#0  0x418f2240 in nsScriptSecurityManager::CheckObjectAccess (cx=0x41498180,
    obj=0x414ed9b0, id=1095681412, mode=JSACC_READ, vp=0xffff9ba4)
    at nsScriptSecurityManager.cpp:514
#1  0x4013ba08 in js_CheckAccess (cx=0x41498180, obj=0x414ed9b0,
    id=1095605952, mode=JSACC_READ, vp=0xffff9ba4, attrsp=0xffff99a0)
    at jsobj.c:4284
#2  0x4013c4e4 in CheckCtorGetAccess (cx=0x41498180, obj=0x414ed9b0,
    id=1095681412, vp=0xffff9ba4) at jsobj.c:4544
#3  0x40137974 in js_NativeGet (cx=0x41498180, obj=0x414ed9b0,
    pobj=0x414ed9b0, sprop=0x414f43ac, vp=0xffff9ba4) at jsobj.c:3483


When running firefox from command line it dumps core too:

Core was generated by `firefox-bin'.
Program terminated with signal 10, Bus error.
#0  0x4476b19c in nsXPCComponents::GetConstructor (this=0x44964b36,
    aConstructor=0xffffaaf8) at xpccomponents.cpp:2878
2878    XPC_IMPL_GET_OBJ_METHOD(nsIXPCComponents_, Constructor)
(gdb) where
#0  0x4476b19c in nsXPCComponents::GetConstructor (this=0x44964b36,
    aConstructor=0xffffaaf8) at xpccomponents.cpp:2878
#1  0x403649c8 in XPTC_InvokeByIndex () at xptcinvoke_asm_sparc_netbsd.s:67
#2  0x447ba7ac in XPCWrappedNative::CallMethod (ccx=@0xffffada4,
    mode=XPCWrappedNative::CALL_GETTER) at xpcwrappednative.cpp:2169
#3  0x447d26a4 in XPCWrappedNative::GetAttribute (ccx=@0xffffada4)
    at xpcprivate.h:1965

I don't really understand why the above core dumps do not happen on sparc64 
port???


Home | Main Index | Thread Index | Old Index