From owner-freebsd-current@FreeBSD.ORG Thu Apr 1 07:32:25 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 6D22516A4CE for ; Thu, 1 Apr 2004 07:32:25 -0800 (PST) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E0F43D2F for ; Thu, 1 Apr 2004 07:32:25 -0800 (PST) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (not verified)) by gw.celabo.org (Postfix) with ESMTP id B2D7A54846; Thu, 1 Apr 2004 09:32:24 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id 505B06D465; Thu, 1 Apr 2004 09:32:24 -0600 (CST) Date: Thu, 1 Apr 2004 09:32:24 -0600 From: "Jacques A. Vidrine" To: Oliver Eikemeier Message-ID: <20040401153224.GC60392@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Oliver Eikemeier , Daniel Eischen , Sean McNeil , freebsd-current@FreeBSD.org References: <406C217A.8080102@fillmore-labs.com> <20040401143627.GA60225@madman.celabo.org> <406C3179.2040007@fillmore-labs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406C3179.2040007@fillmore-labs.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i cc: freebsd-current@FreeBSD.org cc: Sean McNeil 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: Thu, 01 Apr 2004 15:32:25 -0000 On Thu, Apr 01, 2004 at 05:12:57PM +0200, Oliver Eikemeier wrote: > Jacques A. Vidrine wrote: > >No. Problems only occur if run-time loading/unloading via > >dlopen/dlclose is used, and then only if a lock or other thread > >library data structure might be held ``across'' the load or unload. > >So I think it is a rare, but troublesome, condition. > > It hit apache 1.3.29 + php4 too (PR 64932), which should be a pretty > common combination. Before my change slapd + Berkeley DB where > affected... Interesting. Perhaps a different but equally bad side-effect. > >When you changed the way OpenLDAP was linked, this condition occurred > >within libc due to dynamic loading of nss_ldap. So, lots of people's > >working systems suddenly starting crashing after upgrading. > > I'm sorry about that. Slapd was crashing, which is somewhat important > for the OpenLDAP port. This seemed like the proper fix to me, see the > recent thread `fix for libpthread' on -current. At least it fixed slapd :P Sorry, didn't mean to sound accusatory. I just meant to highlight the fact that the current system is fragile. Cheers, -- Jacques Vidrine / nectar@celabo.org / jvidrine@verio.net / nectar@freebsd.org