From owner-freebsd-gnome@FreeBSD.ORG Fri Jun 18 02:13:31 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 912B616A4CE for ; Fri, 18 Jun 2004 02:13:31 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C3A43D2D for ; Fri, 18 Jun 2004 02:13:31 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 1F9FFFD062; Thu, 17 Jun 2004 19:12:31 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34394-03; Thu, 17 Jun 2004 19:12:30 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 0AF0EFD03B; Thu, 17 Jun 2004 19:12:29 -0700 (PDT) From: Sean McNeil To: Joe Marcus Clarke In-Reply-To: <1087523669.56010.2.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> Content-Type: text/plain Message-Id: <1087524749.76523.3.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 17 Jun 2004 19:12:29 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-gnome@freebsd.org Subject: Re: firefox core dump X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 02:13:31 -0000 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 , 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 to continue, or q 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 to continue, or q 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 to continue, or q 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 ()