From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 07:42:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75C6F16A4CE for ; Tue, 30 Mar 2004 07:42:51 -0800 (PST) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A54A43D5E for ; Tue, 30 Mar 2004 07:42:51 -0800 (PST) (envelope-from nectar@celabo.org) Received: from localhost (localhost [127.0.0.1]) by gw.celabo.org (Postfix) with ESMTP id 9F3B154840; Tue, 30 Mar 2004 09:42:50 -0600 (CST) Received: from gw.celabo.org ([127.0.0.1]) by localhost (hellblazer.celabo.org [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 83042-05; Tue, 30 Mar 2004 09:42:40 -0600 (CST) Received: from lum.celabo.org (lum.celabo.org [10.0.1.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lum.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id 5CA415488D; Tue, 30 Mar 2004 09:41:57 -0600 (CST) Received: by lum.celabo.org (Postfix, from userid 501) id 8B4CE183307; Tue, 30 Mar 2004 08:16:31 -0600 (CST) Date: Tue, 30 Mar 2004 08:16:31 -0600 From: "Jacques A. Vidrine" To: Sean McNeil Message-ID: <20040330141631.GH10949@lum.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Sean McNeil , Daniel Eischen , freebsd-current@freebsd.org References: <1080334840.11426.12.camel@server.mcneil.com> <20040330023247.GA5637@madman.celabo.org> <1080614678.52004.5.camel@server.mcneil.com> <20040330030243.GB5757@madman.celabo.org> <1080639464.81872.3.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1080639464.81872.3.camel@server.mcneil.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: nss_ldap broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 30 Mar 2004 15:42:51 -0000 On Tue, Mar 30, 2004 at 01:37:44AM -0800, Sean McNeil wrote: > On Mon, 2004-03-29 at 19:02, Jacques A. Vidrine wrote: > > Thanks! So, could you try the patch below? I think it is now > > basically identical with what you posted, except for the changes to > > nss_compat.c. > > After making a bone-head mistake and just installing the libc after a > make update (duh!) I finally managed to salvage my system and give the > patch a go. Things look good. Thanks! I'll commit it. > I'm still concerned that nss_atexit can cause a seg11 if a nss_*.so.1 > starts up any threads when the program isn't threaded otherwise. Don't > really know why an nss plugin would want to do that, but it is > hazardous. The locks may not be needed regardless. Dan, how do threads interact with atexit()? Are threads serialized at that point? Does the main thread call all the atexit handlers? Cheers, -- Jacques Vidrine / nectar@celabo.org / jvidrine@verio.net / nectar@freebsd.org