From owner-freebsd-ports@FreeBSD.ORG Sun Jun 2 20:51:10 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6BD88F20; Sun, 2 Jun 2013 20:51:10 +0000 (UTC) (envelope-from faber@lunabase.org) Received: from lunabase.org (adsl-63-200-244-106.dsl.lsan03.pacbell.net [63.200.244.106]) by mx1.freebsd.org (Postfix) with ESMTP id 096B018A3; Sun, 2 Jun 2013 20:51:09 +0000 (UTC) Received: from ylum.lunabase.org (localhost [127.0.0.1]) by lunabase.org (8.14.7/8.14.7) with ESMTP id r52KoxUf087621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Jun 2013 13:50:59 -0700 (PDT) (envelope-from faber@ylum.lunabase.org) Received: (from faber@localhost) by ylum.lunabase.org (8.14.7/8.14.7/Submit) id r52Koxtq087620; Sun, 2 Jun 2013 13:50:59 -0700 (PDT) (envelope-from faber) Date: Sun, 2 Jun 2013 13:50:59 -0700 From: Ted Faber To: Dimitry Andric Subject: Re: Another Firefox 21.0 crash (new backtrace) Message-ID: <20130602205057.GA87577@mail.lunabase.org> References: <20130525230731.GA93415@mail.lunabase.org> <51A49C40.1080209@FreeBSD.org> <20130528155234.GA17344@mail.lunabase.org> <20130529035333.GA2340@mail.lunabase.org> <6B3D745E-9ADD-4B2A-B2C0-53B920B9CC71@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <6B3D745E-9ADD-4B2A-B2C0-53B920B9CC71@FreeBSD.org> X-url: http://lunabase.org/~faber User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Kostik Belousov , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 20:51:10 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 02, 2013 at 05:35:27PM +0200, Dimitry Andric wrote: > On May 29, 2013, at 05:53, Ted Faber wrote: > > On Tue, May 28, 2013 at 08:52:35AM -0700, Ted Faber wrote: > >> On Tue, May 28, 2013 at 02:00:00PM +0200, Dimitry Andric wrote: > >>> On 2013-05-26 01:07, Ted Faber wrote: > >>>> I'm seeing a repeatable, consistent segmentation fault before the fi= rst > >>>> window appears (though firefox -ProfileManager brings up the > >>>> profile manager, but crashes when I try to actually start the browse= r). > ... > > OK, I improved my svn fu, pulled the tree, extracted the patch, applied > > it, made and installed world. > >=20 > > Now I see different behavior, but no better. Still gets a SEGV, but a > > different trace. (Attached) >=20 > Ok, I think I have figured out what the problem is: Firefox's JavaScript > OSFile implementation loads libc.so.6 if it is available! That is, if > you have the compat6x package installed, it loads > /usr/local/lib/libc.so.6, even while /lib/libc.so.7 is already loaded. >=20 > This wreaks havoc when it later tries to call libc functions via libffi, > and the result is that it calls into a completely bogus PLT entry. Most > of the time, this leads to a crash. >=20 > So the easiest way to avoid the crash for now is to uninstall the > compat6x package, and making sure there is no libc.so.6 in > /usr/local/lib/compat. Then Firefox should start with no problems. Removing the compat6x package does fix my problem. Thanks enormously. I'll reinstall and give your patch a try next, but this is clearly the right bug. Thanks enormously! --=20 http://www.lunabase.org/~faber Unexpected attachment? http://www.lunabase.org/~faber/FAQ.html#SIG --9amGYk9869ThD9tj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlGrsDAACgkQaUz3f+Zf+XugRQCg8O2Swdm/VCnkrBJ+CjhtxyDN iCQAoISsv9YgKHwupPE/oHnPz3V9ZP28 =aIC4 -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--