From owner-freebsd-ports@FreeBSD.ORG Sat Oct 15 04:48:32 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DEE816A423; Sat, 15 Oct 2005 04:48:32 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6649943D45; Sat, 15 Oct 2005 04:48:30 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.12.11/8.12.11) with ESMTP id j9F4mTKd096158; Fri, 14 Oct 2005 22:48:29 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.12.11/8.12.5/Submit) id j9F4mTOa096157; Fri, 14 Oct 2005 22:48:29 -0600 (MDT) (envelope-from ken) Date: Fri, 14 Oct 2005 22:48:29 -0600 From: "Kenneth D. Merry" To: Joe Marcus Clarke Message-ID: <20051015044829.GA96117@nargothrond.kdm.org> References: <20051011232309.GA69983@nargothrond.kdm.org> <1129075502.10684.2.camel@shumai.marcuscom.com> <20051012001315.GA70433@nargothrond.kdm.org> <1129076166.10684.5.camel@shumai.marcuscom.com> <1129085609.49727.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1129085609.49727.5.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.86.1/1134/Fri Oct 14 02:07:44 2005 on nargothrond.kdm.org X-Virus-Status: Clean Cc: gnome@freebsd.org, freebsd-ports@freebsd.org Subject: Re: firefox and mozilla install problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 04:48:32 -0000 On Tue, Oct 11, 2005 at 22:53:29 -0400, Joe Marcus Clarke wrote: > On Tue, 2005-10-11 at 20:16 -0400, Joe Marcus Clarke wrote: > > On Tue, 2005-10-11 at 18:13 -0600, Kenneth D. Merry wrote: > > > On Tue, Oct 11, 2005 at 20:05:02 -0400, Joe Marcus Clarke wrote: > > > > On Tue, 2005-10-11 at 17:23 -0600, Kenneth D. Merry wrote: > > > > > I'm having a problem installing firefox and mozilla. I'm running > > > > > FreeBSD-current from October 10th. > > > > > > > > > > # uname -a > > > > > FreeBSD erebor.kdm.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Oct 11 13:16:04 MDT 2005 ken@erebor.kdm.org:/usr/obj/usr/home/ken/perforce/FreeBSD-ken/src/sys/erebor i386 > > > > > > > > > > regchrome core dumps: > > > > > > > > > > =========================================================================== > > > > > # portupgrade -P -R -N mozilla > > > > > [Updating the pkgdb in /var/db/pkg ... - 330 packages found (-1 +0) (...) done] > > > > > ---> Found 2 ports matching 'mozilla': > > > > > www/mozilla > > > > > www/mozilla-devel > > > > > Install 'www/mozilla'? [yes] > > > > > Install 'www/mozilla-devel'? [yes] n > > > > > ---> Checking for the latest package of 'www/mozilla' > > > > > ---> Found a package of 'www/mozilla': /usr/ports/packages/All/mozilla-1.7.12,2.tbz (mozilla-1.7.12,2) > > > > > ---> Installing 'mozilla-1.7.12,2' from a package > > > > > ---> Installing the new version via the package > > > > > ===> Building Chrome's registry... > > > > > Segmentation fault (core dumped) > > > > > [Updating the pkgdb in /var/db/pkg ... - 331 packages found (-0 +1) . done] > > > > > =========================================================================== > > > > > > > > > > Here's the stack trace from regchrome: > > > > > > > > > > #0 0x28344227 in pthread_testcancel () from /usr/lib/libpthread.so.2 > > > > > [New Thread 0x807b800 (runnable)] > > > > > [New LWP 100110] > > > > > (gdb) where > > > > > #0 0x28344227 in pthread_testcancel () from /usr/lib/libpthread.so.2 > > > > > #1 0x2833cbdc in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 > > > > > #2 0x00000000 in ?? () > > > > > (gdb) > > > > > > > > > > Firefox has pretty much the same problem. > > > > > > > > > > Anyone have any ideas on how to fix this? > > > > > > > > What CFLAGS are you using? This problem is usually caused by > > > > over-optimizing. You might try a make clean in www/mozilla, then > > > > rebuild with default CFLAGS. > > > > > > I don't have any CFLAGS set in make.conf. > > > > > > The problem happens whether I'm installing from a package or the port. > > > (The above is from the package install.) > > > > I'll try a portupgrade on my -CURRENT machine after updating to today's > > -CURRENT, but I did not encounter this problem on previous builds, so it > > may be a hardware or other machine-dependent problem. > > Okay, I've now rebuilt Mozilla on: > > FreeBSD jclarke-pc.cisco.com 7.0-CURRENT FreeBSD 7.0-CURRENT #43: Tue Oct 11 21:15:41 EDT 2005 marcus@jclarke-pc.cisco.com:/usr/obj/usr/src/sys/JCLARKE-PC i386 > > And I have no problems building the chrome registry, or running Mozilla. > If there was something wrong in -CURRENT, it has been since fixed. Thanks for looking into this. I have fixed the problem. Just for the record/archives, the following things didn't work: - portupgrade -P -R -N mozilla (i.e. install mozilla using a port if available, and upgrade everything it depends on as well.) - portupgrade -P -R -N firefox (i.e. install firefox using a port if available, and upgrade everything it depends on as well.) - buildworld/installworld with the latest sources, GENERIC or non-GENERIC kernel What did eventually work was the following: portupgrade -P -R gnome2 That upgraded a whole ton of things, one of which was evidently causing regchrome to blow up, but wasn't registered as an explicit dependency. So now regchrome works and mozilla and firefox seem to work fine. The bizzare thing about this is that regchrome was crashing inside the thread library, but that really wasn't the issue at all. Maybe it was a memory spammage issue caused by an out of date library somewhere. portupgrade is a very handy tool...saves all sorts of effort with upgrading lots of ports by hand. Thanks, Ken -- Kenneth Merry ken@FreeBSD.ORG