firefox issues on a PPC running YDL-4 [long]



The version of firefox that gets pulled down by garnome-2.9.91.1 builds
but does *not* run on a PPC running YDL-4.0.1 [see attached log].

The version built from the 16Feb05 CVS code does run properly.

==========================================================================

Discussion:
-----------
Prior to building garnome-2.9.91, I had installed a statically linked, 
binary version of firefox that I had pulled down from "The Code Factory"

	http://www.thecodefactory.org/mozilla/

The Code Factory version, which was built on a PPC running Debian,

        Linux kunk 2.4.27 #2 Wed Oct 27 23:43:00 CDT 2004 ppc GNU/Linux
        gcc version 3.3.4 (Debian 1:3.3.4-13)

works just fine on my system, so I know a version of firefox can be
built that runs under YDL-4.0.1.

I was curious about building firefox so I downloaded, built, and
installed the current development FC3 SRPM

	firefox-1.08.src.rpm

It too failed to run.

I puzzled over these failures and concluded that there could be issues
with the build configuration, the source code, or both. What to do???

Yesterday I pulled down the CVS code and built firefox-1.0+ using a
simple configuration:

        . $topsrcdir/browser/config/mozconfig
        mk_add_options MOZ_OBJDIR= TOPSRCDIR@/ff-opt
        
        ac_add_options --enable-optimize
        ac_add_options --disable-debug
        ac_add_options --with-pthreads
        ac_add_options --disable-tests
        ac_add_options --enable-xft
        ac_add_options --disable-freetype2
        ac_add_options --enable-xinerama
        ac_add_options --enable-default-toolkit=gtk2

that builds firefox under the current YDL_4.0.1 environment. Worked like
a charm!!!

Encouraged,  I switched configurations and used the one provided by
garmone-2.9.91.1, adding a "configure --prefix=/opt/garmone" flag to
pick up the latest garnome libraries and includes:

        . $topsrcdir/browser/config/mozconfig
        mk_add_options MOZ_OBJDIR= TOPSRCDIR@/ff-garmone
                                                                                                        
        export BUILD_OFFICIAL=1
        export MOZILLA_OFFICIAL=1
        mk_add_options BUILD_OFFICIAL=1
        mk_add_options MOZILLA_OFFICIAL=1
                                                                                                       
        ac_add_options --prefix=/opt/garmone
        ac_add_options --without-system-nspr
        ac_add_options --with-system-zlib
        ac_add_options --with-system-png
        ac_add_options --with-system-jpeg
        ac_add_options --with-pthreads
        ac_add_options --enable-xft
        ac_add_options --enable-xinerama
        ac_add_options --enable-pango
        ac_add_options --enable-crypto
        ac_add_options --enable-default-toolkit=gtk2
        ac_add_options --enable-official-branding
        ac_add_options --disable-postscript
        ac_add_options --disable-xprint
        ac_add_options --disable-strip
        ac_add_options --disable-jsd
        ac_add_options --disable-mailnews
        ac_add_options --disable-installer
        ac_add_options --disable-ldap
        ac_add_options --disable-svg
        ac_add_options --disable-pedantic
        ac_add_options --disable-mathml
        ac_add_options --disable-composer
        ac_add_options --disable-calendar
        ac_add_options --disable-activex
        ac_add_options --disable-tests
        ac_add_options --disable-debug
        ac_add_options --disable-dtd-debug
        ac_add_options --disable-freetype2

That also worked...


Postmortem:
-----------
I conclude that the problem was with the particular version of the
source code and not [necessarily] the configuration. 

I am still puzzling over the myriad of configuration options, trying to
ascertain "what to leave in, what to leave out".

Still running against the wind...

-Joseph

-- 
joseph_sacco[at]comcast[dot]net
No Persistent Registry Found.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51
Type Manifest File: /root/.mozilla/firefox/7saubwa9.default/xpti.dat
nsNativeComponentLoader: autoregistering begins.
*** Registering embedcomponents components (all right -- a generic module!)
*** Registering nsWebServicesModule components (all right -- a generic module!)
*** Registering nsComposerModule components (all right -- a generic module!)
*** Registering nsLayoutModule components (all right -- a generic module!)
*** Registering nsSoftwareUpdate components (all right -- a generic module!)
*** Registering mozgnome components (all right -- a generic module!)
*** Registering nsPrefModule components (all right -- a generic module!)
*** Registering xpcomObsoleteModule components (all right -- a generic module!)
*** Registering docshell_provider components (all right -- a generic module!)
*** Registering nsAutoConfigModule components (all right -- a generic module!)
*** Registering nsWidgetGtk2Module components (all right -- a generic module!)
*** Registering nsParserModule components (all right -- a generic module!)
*** Registering nsFindComponent components (all right -- a generic module!)
*** Registering nsAccessibilityModule components (all right -- a generic module!)
*** Registering nsPluginModule components (all right -- a generic module!)
*** Registering nsSecurityManagerModule components (all right -- a generic module!)
*** Registering XRemoteServiceModule components (all right -- a generic module!)
*** Registering nsUniversalCharDetModule components (all right -- a generic module!)
*** Registering appshell components (all right -- a generic module!)
*** Registering nsBrowserCompsModule components (all right -- a generic module!)
*** Registering nsSystemPrefModule components (all right -- a generic module!)
*** Registering nsGnomeVFSModule components (all right -- a generic module!)
*** Registering nsFileViewModule components (all right -- a generic module!)
*** Registering nsMorkModule components (all right -- a generic module!)
*** Registering nsImageLib2Module components (all right -- a generic module!)
*** Registering nsInspectorModule components (all right -- a generic module!)
*** Registering nsToolkitCompsModule components (all right -- a generic module!)
*** Registering TransformiixModule components (all right -- a generic module!)
*** Registering XRemoteClientModule components (all right -- a generic module!)
*** Registering NSS components (all right -- a generic module!)
*** Registering Browser_Embedding_Module components (all right -- a generic module!)
*** Registering nsNegotiateAuthModule components (all right -- a generic module!)
*** Registering nsChromeModule components (all right -- a generic module!)
*** Registering xpconnect components (all right -- a generic module!)
*** Registering nsXMLExtrasModule components (all right -- a generic module!)
*** Registering necko_core_and_primary_protocols components (all right -- a generic module!)
*** Registering nsJarModule components (all right -- a generic module!)
*** Registering nsRDFModule components (all right -- a generic module!)
*** Registering nsUConvModule components (all right -- a generic module!)
*** Registering nsGfxGTKModule components (all right -- a generic module!)
*** Registering PKI components (all right -- a generic module!)
*** Registering nsEditorModule components (all right -- a generic module!)
*** Registering necko_secondary_protocols components (all right -- a generic module!)
*** Registering nsCJVMManagerModule components (all right -- a generic module!)
*** Registering BOOT components (all right -- a generic module!)
*** Registering nsTransactionManagerModule components (all right -- a generic module!)
*** Registering nsCookieModule components (all right -- a generic module!)
*** Registering nsI18nModule components (all right -- a generic module!)
*** Registering application components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51
nNCL: registering deferred (0)
nNCL: registering deferred (0)
nNCL: registering deferred (0)
nNCL: registering deferred (0)
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
++WEBSHELL == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsPermissionManager.cpp, line 623
++DOMWINDOW == 1
Assertion failure: dummy1addr < &dummy2, at jsapi.c:1790

Program /opt/garnome/lib/firefox-1.0/firefox-bin (pid = 8265) received signal 6.
Stack:
_Z15ah_crap_handleri+0x0000005C [/opt/garnome/lib/firefox-1.0/firefox-bin +0x000282EC]
_ZN13nsProfileLock18FatalSignalHandlerEi+0x000000DC [/opt/garnome/lib/firefox-1.0/firefox-bin +0x00029A98]
UNKNOWN 0x7fffe428
UNKNOWN 0x7fffe9f0
abort+0x00000274 [/lib/tls/libc.so.6 +0x00034AE0]
UNKNOWN [/opt/garnome/lib/firefox-1.0/libmozjs.so +0x00095708]
UNKNOWN [/opt/garnome/lib/firefox-1.0/libmozjs.so +0x0001BA94]
JS_SetThreadStackLimit+0x00000024 [/opt/garnome/lib/firefox-1.0/libmozjs.so +0x0001BAEC]
_ZN11nsJSContextC1EP9JSRuntime+0x00000194 [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libgklayout.so +0x0086DDA0]
_ZN15nsJSEnvironment16CreateNewContextEPP16nsIScriptContext+0x00000044 [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libgklayout.so +0x0086DE78]
_Z22NS_CreateScriptContextP21nsIScriptGlobalObjectPP16nsIScriptContext+0x00000078 [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libgklayout.so +0x0086DF50]
UNKNOWN [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libgklayout.so +0x008C697C]
UNKNOWN [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libdocshell.so +0x00062238]
UNKNOWN [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libdocshell.so +0x00098808]
_ZNK14nsGetInterfaceclERK4nsIDPPv+0x00000138 [/opt/garnome/lib/firefox-1.0/libxpcom.so +0x00149610]
_ZN8nsCOMPtrI20nsIDOMWindowInternalE18assign_from_helperERK15nsCOMPtr_helperRK4nsID+0x00000038 [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libnsappshell.so +0x0003604C]
_ZN8nsCOMPtrI20nsIDOMWindowInternalEC1ERK15nsCOMPtr_helper+0x0000003C [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libnsappshell.so +0x00036694]
UNKNOWN [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libnsappshell.so +0x0004B53C]
_ZN17nsAppShellService23SetXPConnectSafeContextEv+0x000000B0 [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libnsappshell.so +0x000495B8]
UNKNOWN [/opt/garnome-2.9.91.1/lib/firefox-1.0/components/libnsappshell.so +0x00049754]
_Z8xre_mainiPPcPK12nsXREAppData+0x00000820 [/opt/garnome/lib/firefox-1.0/firefox-bin +0x000152D0]
main+0x00000018 [/opt/garnome/lib/firefox-1.0/firefox-bin +0x00010E50]
UNKNOWN [/lib/tls/libc.so.6 +0x0001B8A4]
UNKNOWN [/lib/tls/libc.so.6 +0x0001BA70]
Sleeping for 5 minutes.
Type 'gdb /opt/garnome/lib/firefox-1.0/firefox-bin 8265' to attach your debugger to this thread.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]