From owner-freebsd-x11@FreeBSD.ORG Tue May 8 08:46:23 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A71861065670 for ; Tue, 8 May 2012 08:46:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 8C23D8FC08 for ; Tue, 8 May 2012 08:46:22 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q488k6Uh049594; Tue, 8 May 2012 11:46:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q488k5GE074984; Tue, 8 May 2012 11:46:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q488k5LI074983; Tue, 8 May 2012 11:46:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 8 May 2012 11:46:05 +0300 From: Konstantin Belousov To: Peter Jeremy Message-ID: <20120508084605.GU2358@deviant.kiev.zoral.com.ua> References: <20120507114924.GA19126@server.vk2pj.dyndns.org> <20120507121352.GM2358@deviant.kiev.zoral.com.ua> <20120507203202.GB19126@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XtmUwkI1+dJ5BgWx" Content-Disposition: inline In-Reply-To: <20120507203202.GB19126@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua 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: Tue, 08 May 2012 08:46:23 -0000 --XtmUwkI1+dJ5BgWx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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) >=20 > >Which OS version do you use ? >=20 > Sorry, this was on 8-stable. >=20 > >It was fixed in r211706 and some follow-up commits. The change is not in= 8. >=20 > The only explicit followups were r212497 (ppc64) and r214194 (ia64). > Were there others? >=20 > 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. --XtmUwkI1+dJ5BgWx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk+o3U0ACgkQC3+MBN1Mb4iaogCg8j++ll8Iv70c6FyVaw4gCQHn O3AAn0JpjLuNo9RY0QiElF5VjfC00tv/ =fOzC -----END PGP SIGNATURE----- --XtmUwkI1+dJ5BgWx--