Bug 1119307

Summary: Firefox 31 ESR fails to build on ppc (32-bit).
Product: [Fedora] Fedora Reporter: Martin Stransky <stransky>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: gecko-bugs-nobody, gustavold
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 858090 Environment:
Last Closed: 2014-07-29 09:09:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Martin Stransky 2014-07-14 13:27:25 UTC
Xpcshell (a js engine) crashes on ppc. xpcshell is used for Firefox build so Firefox fails to build here. ppc64 runs without issues.

Backtrace:

#0  0x0b7cd68c in mozJSComponentLoader::Import (this=0x102ca640, registryLocation=..., 
    targetValArg=<error reading variable: Cannot access memory at address 0xffffff82>, cx=0x102cf5d0, optionalArgc=0 '\000', 
    retval=...) at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/loader/mozJSComponentLoader.cpp:1111
#1  0x0b673dd4 in nsXPCComponents_Utils::Import (this=0x10313100, registryLocation=..., targetObj=..., cx=0x102cf5d0, 
    optionalArgc=0 '\000', retval=...)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCComponents.cpp:2733
#2  0x0997e750 in NS_InvokeByIndex ()
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.S:86
#3  0x0b761cc4 in CallMethodHelper::Invoke (this=0xfffed3e8)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCWrappedNative.cpp:2391
#4  0x0b75e848 in CallMethodHelper::Call (this=0xfffed3e8)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCWrappedNative.cpp:1732
#5  0x0b75e644 in XPCWrappedNative::CallMethod (ccx=..., mode=XPCWrappedNative::CALL_METHOD)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCWrappedNative.cpp:1699
#6  0x0b7747bc in XPC_WN_CallMethod (cx=0x102cf5d0, argc=1, vp=0x1027bc40)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1284
#7  0x0e1a488c in js::CallJSNative (cx=0x102cf5d0, 
    native=0xb774420 <XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*)>, args=...)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/jscntxtinlines.h:239
#8  0x0e1b020c in js::Invoke (cx=0x102cf5d0, args=..., construct=js::NO_CONSTRUCT)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/vm/Interpreter.cpp:475
#9  0x0e1c1b54 in Interpret (cx=0x102cf5d0, state=...)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/vm/Interpreter.cpp:2620
#10 0x0e1afc90 in js::RunScript (cx=0x102cf5d0, state=...)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/vm/Interpreter.cpp:422
#11 0x0e1b17a8 in js::ExecuteKernel (cx=0x102cf5d0, script=..., scopeChainArg=..., thisv=..., type=js::EXECUTE_GLOBAL, 
    evalInFrame=..., result=0xfffedf18) at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/vm/Interpreter.cpp:630
#12 0x0e1b1c4c in js::Execute (cx=0x102cf5d0, script=..., scopeChainArg=..., rval=0xfffedf18)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/vm/Interpreter.cpp:667
#13 0x0dee0934 in ExecuteScript (cx=0x102cf5d0, obj=..., scriptArg=..., rval=0xfffedf18)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/jsapi.cpp:4782
#14 0x0dee0af8 in JS_ExecuteScript (cx=0x102cf5d0, obj=..., scriptArg=..., rval=...)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/src/jsapi.cpp:4788
#15 0x0b731f80 in ProcessFile (cx=0x102cf5d0, obj=..., 
    filename=0xfffef776 "/builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/toolkit/mozapps/installer/precompile_cache.js", 
    file=0x10302b88, forceTTY=false)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCShellImpl.cpp:930
#16 0x0b732778 in Process (cx=0x102cf5d0, obj=..., 
    filename=0xfffef776 "/builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/toolkit/mozapps/installer/precompile_cache.js", 
    forceTTY=false) at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCShellImpl.cpp:1007
#17 0x0b733128 in ProcessArgs (cx=0x102cf5d0, obj=..., argv=0xfffef518, argc=4, aDirProvider=0xfffef144)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCShellImpl.cpp:1135
#18 0x0b734d20 in XRE_XPCShellMain (argc=4, argv=0xfffef518, envp=0xfffef52c)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/src/XPCShellImpl.cpp:1590
#19 0x100022ac in main (argc=9, argv=0xfffef504, envp=0xfffef52c)
    at /builddir/build/BUILD/firefox-31.0.0/mozilla-aurora/js/xpconnect/shell/xpcshell.cpp:42

Comment 1 Martin Stransky 2014-07-14 13:29:43 UTC
It can be ralated to https://bugzilla.mozilla.org/show_bug.cgi?id=1038088

Comment 2 Martin Stransky 2014-07-29 09:09:09 UTC
Fixed by FF31.