From owner-freebsd-current@FreeBSD.ORG Mon Oct 6 10:10:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16CA81065695 for ; Mon, 6 Oct 2008 10:10:30 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF168FC1C for ; Mon, 6 Oct 2008 10:10:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m96A6ALv015239 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Oct 2008 21:08:43 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m96A6Avf020153; Mon, 6 Oct 2008 21:06:10 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m96A61ro020152; Mon, 6 Oct 2008 21:06:01 +1100 (EST) (envelope-from peter) Date: Mon, 6 Oct 2008 21:06:01 +1100 From: Peter Jeremy To: Jos Backus Message-ID: <20081006100601.GD18237@server.vk2pj.dyndns.org> References: <20081004080511.GA72641@lizzy.catnook.local> <20081004161024.GA67323@nagual.pp.ru> <20081004222249.GA48928@lizzy.catnook.local> <48E80F02.4070309@freebsd.org> <20081005233256.GB8507@lizzy.catnook.local> <48E95D0E.50202@freebsd.org> <20081006051424.GA5858@lizzy.catnook.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20081006051424.GA5858@lizzy.catnook.local> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: firefox3-bin crashes near arc4random_buf() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 10:10:30 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Oct-05 22:14:24 -0700, Jos Backus wrote: >Yeah. Oddly enough the debug version seems to make a difference; firefox3 >hasn't crashed yet. Normally even without touching it firefox3 will segfau= lt >within an hour or so. I will leave it up all night to see what happens. Either you've found a heisenbug or there was something screwy with the previous libc.so - if it doesn't die, you might like to do a 'strip -g' on your new /lib/libc.so.7 and see how that behaves, possibly followed by another # cp /lib/libc.so.7 /lib/libc.so.7-debug # cd /usr/src/lib/libc && make clean && make && make install Assuming that the only difference in flags is '-g', and the stripped debugging version of libc works whilst the non-debugging version doesn't, it looks like a bug in gcc. I haven't looked inside gcc 4.x but in earlier versions, '-g' does far more than "if (option_g) emit_debugging_section()" and can potentially change the generated code. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjp4wkACgkQ/opHv/APuId2eACfffJJUvhpAO9lnclLisXfTDlV N/cAnAg5wksQNYtgB6TpnsVVplS6Pjsr =K1wF -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--