firefox core dump

Sean McNeil sean at mcneil.com
Thu Jun 17 19:13:31 PDT 2004


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 lack
> > of KSE debugging support.  In general, libmap'ing libpthread to libc_r
> > should get Firefox to compile.  However, running under libc_r might not
> > produce any crashes.  At least this is what I'm seeing with a
> > thunderbird-0.7 crash.
> > 
> > Joe
> 
> In this case, I think it is a compiler problem.  I just CC'd -gnome with
> 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.
> 
> Sean

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

*** loading the extensions datasource

forever.  With pthread, now I get the following core dump:

#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=5361688)
    at /usr/src/lib/libpthread/thread/thr_kern.c:432
#2  0x0000000202b13d06 in _pthread_create (thread=0x7fffffffd260,
    attr=0x7fffffffd270, start_routine=0x200dbc1a4 <PR_Select+644>,
    arg=0x5d5d00) 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::GetScriptSecurityManager ()
   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::AutoRegisterNonNativeComponents () 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::AutoRegisterNonNativeComponents () 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 ()




More information about the freebsd-gnome mailing list