From owner-freebsd-x11@FreeBSD.ORG Wed May 9 05:07:28 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 731C61065670 for ; Wed, 9 May 2012 05:07:28 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id F0FB68FC08 for ; Wed, 9 May 2012 05:07:27 +0000 (UTC) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q4957QHS018755 for ; Wed, 9 May 2012 15:07:26 +1000 Received: from server.rulingia.com (c220-239-251-180.belrs5.nsw.optusnet.com.au [220.239.251.180]) by mail12.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q4957Gnu028444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 May 2012 15:07:17 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id q4957FfE060493; Wed, 9 May 2012 15:07:15 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id q4957FDC060491; Wed, 9 May 2012 15:07:15 +1000 (EST) (envelope-from peter) Date: Wed, 9 May 2012 15:07:15 +1000 From: Peter Jeremy To: Konstantin Belousov Message-ID: <20120509050715.GF91315@server.rulingia.com> References: <20120507114924.GA19126@server.vk2pj.dyndns.org> <20120507121352.GM2358@deviant.kiev.zoral.com.ua> <20120507203202.GB19126@server.vk2pj.dyndns.org> <20120508084605.GU2358@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7cm2iqirTL37Ot+N" Content-Disposition: inline In-Reply-To: <20120508084605.GU2358@deviant.kiev.zoral.com.ua> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-x11@freebsd.org Subject: Re: GL Programs SEGV on exit() X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 05:07:28 -0000 --7cm2iqirTL37Ot+N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-May-08 11:46:05 +0300, Konstantin Belousov wr= ote: >On Tue, May 08, 2012 at 06:32:02AM +1000, Peter Jeremy wrote: >> On 2012-May-07 15:13:52 +0300, Konstantin Belousov = wrote: >> >On Mon, May 07, 2012 at 09:49:24PM +1000, Peter Jeremy wrote: >> >> Since rebuilding WITH_NEW_XORG, I've been seeing segmentation >> >> violations in GL programs under some conditions. As a case that is >> >> quick and easy to reproduce, "glxinfo -b" with software GL (which is >> >> easily forced by running glxinfo in a X11-over-SSH session) will >> >> core dump on exit. >> (Due to atexit processing invoking a function in an unloaded .so) =2E.. >> I notice r211706 was initially marked "MFC after 3 weeks" but this was >> never done. I've found one posting that blames it for problems in >> emacs but nothing else. Is there a reason it wasn't MFC'd? > >It requires r211705 to get needed support from rtld. I mostly give up >merging rtld changes to stable/8 long time ago. > >If you can test this all, I would merge. I've updated my 8.x system to r235137 and merged r211705 and r211706 and neither glxinfo nor firefox now coredump. Based on that, I'd say r211705 and r211706 are prerequisites to running Mesa/dri 7.11.2 (part of WITH_NEW_XORG) on 8.x (and presumably 7.x). Thanks for the pointer. --=20 Peter Jeremy --7cm2iqirTL37Ot+N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+p+4MACgkQ/opHv/APuIcF9wCfeAoj6G5kkIC9G5wRtmA8cq2y zHoAnjLdxElWeXGHBy3zdZEwxNdAWHgY =WBMW -----END PGP SIGNATURE----- --7cm2iqirTL37Ot+N--