Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 23:27:37 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Sean McNeil <sean@mcneil.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: firefox core dump
Message-ID:  <1087529257.27689.9.camel@shumai.marcuscom.com>
In-Reply-To: <1087524749.76523.3.camel@server.mcneil.com>
References:  <1087349838.99586.2.camel@server.mcneil.com> <1087364265.24564.8.camel@shumai.marcuscom.com> <1087499331.73513.3.camel@server.mcneil.com> <1087522521.27689.6.camel@shumai.marcuscom.com> <1087523669.56010.2.camel@server.mcneil.com> <1087524749.76523.3.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-BwQs/O3290mOEzKq0R0w
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-06-17 at 22:12, Sean McNeil wrote:
> On Thu, 2004-06-17 at 18:54, Sean McNeil wrote:
> > On Thu, 2004-06-17 at 18:35, Joe Marcus Clarke wrote:
> > > Debugging with Mozilla and Firefox has been problematic due to the la=
ck
> > > of KSE debugging support.  In general, libmap'ing libpthread to libc_=
r
> > > should get Firefox to compile.  However, running under libc_r might n=
ot
> > > produce any crashes.  At least this is what I'm seeing with a
> > > thunderbird-0.7 crash.
> > >=20
> > > Joe
> >=20
> > In this case, I think it is a compiler problem.  I just CC'd -gnome wit=
h
> > the results of looking into a warning message that turned out to be
> > invalid code.  Hopefully, this will solve my problem with firefox.  It'=
s
> > in the right area of code at least.  Still building, but I should know
> > soon enough.
> >=20
> > Sean
>=20
> I got a little farther now, but there is still something wrong.  If I
> try to run with libc_r I get into a loop where it just spits out
>=20
> *** loading the extensions datasource
>=20
> forever.  With pthread, now I get the following core dump:

This is exactly what I'm seeing with Thunderbird and KSE (see my post on
threads@).  However, if I libmap libthr or libc_r, then run Thunderbird,
I get it to come up.  After that, I can libmap libpthread back to
libpthread, and Thunderbird will still work.  It sounds like that's not
the case for you.

Out of curiosity, what user are you using to run Firefox?

Joe

>=20
> #0  0x0000000202b253bc in kse_create () at kse_create.S:2
> 2       RSYSCALL(kse_create)
> (gdb) bt
> #0  0x0000000202b253bc in kse_create () at kse_create.S:2
> #1  0x0000000202b1d9c0 in _kse_setthreaded (threaded=3D5361688)
>     at /usr/src/lib/libpthread/thread/thr_kern.c:432
> #2  0x0000000202b13d06 in _pthread_create (thread=3D0x7fffffffd260,
>     attr=3D0x7fffffffd270, start_routine=3D0x200dbc1a4 <PR_Select+644>,
>     arg=3D0x5d5d00) at thr_private.h:972
> #3  0x0000000200dbc5e7 in PR_Select ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libnspr4.so
> #4  0x0000000200dbc718 in PR_CreateThread ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libnspr4.so
> #5  0x000000020084fc0a in nsThread::Create ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #6  0x000000020084fcf9 in NS_NewThread ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #7  0x0000000205ce6c9b in nsSocketTransportService::ServiceEventQ ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libnecko.so
> #8  0x0000000205ccc572 in ?? ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libnecko.so
> #9  0x000000020086e51e in nsGenericFactory::~nsGenericFactory ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #10 0x00000002008463e7 in nsComponentManagerImpl::FindFactory ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #11 0x00000002008466b7 in nsComponentManagerImpl::FreeServices ()
> ---Type <return> to continue, or q <return> to quit---
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #12 0x000000020086e045 in nsGetServiceByCID::operator() ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #13 0x000000020086de68 in nsCOMPtr_base::assign_from_helper ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #14 0x0000000205cd5fb4 in nsIOService::Init ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libnecko.so
> #15 0x0000000205ccc36d in ?? ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libnecko.so
> #16 0x000000020086e51e in nsGenericFactory::~nsGenericFactory ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #17 0x00000002008464a5 in nsComponentManagerImpl::FindFactory ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #18 0x0000000200846f27 in nsComponentManagerImpl::FreeServices ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #19 0x00000002060c03d2 in nsScriptSecurityManager::Init ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libcaps.so
> #20 0x00000002060c08ba in nsScriptSecurityManager::GetScriptSecurityManag=
er ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libcaps.so
> #21 0x00000002060c2ee4 in nsSecurityNameSet::~nsSecurityNameSet ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libcaps.so
> #22 0x000000020086e51e in nsGenericFactory::~nsGenericFactory ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> ---Type <return> to continue, or q <return> to quit---
> #23 0x00000002008464a5 in nsComponentManagerImpl::FindFactory ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #24 0x0000000200846f27 in nsComponentManagerImpl::FreeServices ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #25 0x000000020086e0e1 in nsGetServiceByContractID::operator() ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #26 0x000000020086de68 in nsCOMPtr_base::assign_from_helper ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #27 0x00000002053d989a in mozJSComponentLoader::ReallyInit ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libxpconnect.so
> #28 0x00000002053da69a in mozJSComponentLoader::ModuleForLocation ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libxpconnect.so
> #29 0x00000002053d9fe1 in mozJSComponentLoader::AttemptRegistration ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libxpconnect.so
> #30 0x00000002053d9cf9 in mozJSComponentLoader::HasChanged ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libxpconnect.so
> #31 0x00000002053d9ab3 in mozJSComponentLoader::RegisterComponentsInDir (=
)
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libxpconnect.so
> #32 0x00000002053d9999 in mozJSComponentLoader::ReallyInit ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/components/libxpconnect.so
> #33 0x000000020084868c in nsComponentManagerImpl::AutoRegisterNonNativeCo=
mponents () from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #34 0x0000000200848554 in nsComponentManagerImpl::AutoRegisterImpl ()
> ---Type <return> to continue, or q <return> to quit---
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #35 0x00000002008489f1 in nsComponentManagerImpl::AutoRegisterNonNativeCo=
mponents () from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #36 0x00000002008158df in NS_InitXPCOM2 ()
>    from /usr/X11R6/lib/firefox/lib/firefox-0.9/libxpcom.so
> #37 0x0000000000407747 in ScopedXPCOMStartup::Initialize ()
> #38 0x0000000000409a6e in xre_main ()
> #39 0x00000000004058a0 in main ()
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-BwQs/O3290mOEzKq0R0w
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD4DBQBA0mEpb2iPiv4Uz4cRAv+PAJdlbfOlhpbdpzJbUhLne8BaPb9wAKCtWakp
iRp/uU+RujSgaUFO8viFPg==
=ggen
-----END PGP SIGNATURE-----

--=-BwQs/O3290mOEzKq0R0w--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1087529257.27689.9.camel>