From owner-freebsd-current@FreeBSD.ORG Thu Apr 1 07:13:19 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 1397216A4CE; Thu, 1 Apr 2004 07:13:19 -0800 (PST) Received: from postman.arcor.de (postman1.arcor-online.net [151.189.0.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A9043D48; Thu, 1 Apr 2004 07:13:18 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from fillmore.dyndns.org (port-212-202-49-130.reverse.qsc.de [212.202.49.130]) (authenticated bits=0)i31FDDEk011015 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 1 Apr 2004 17:13:15 +0200 (MEST) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.31; FreeBSD) id 1B93sI-0004Qh-8L; Thu, 01 Apr 2004 17:13:13 +0200 Message-ID: <406C3179.2040007@fillmore-labs.com> Date: Thu, 01 Apr 2004 17:12:57 +0200 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: "Jacques A. Vidrine" References: <406C217A.8080102@fillmore-labs.com> <20040401143627.GA60225@madman.celabo.org> In-Reply-To: <20040401143627.GA60225@madman.celabo.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 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:13:19 -0000 Jacques A. Vidrine wrote: > On Thu, Apr 01, 2004 at 04:04:42PM +0200, Oliver Eikemeier wrote: > >>Daniel Eischen wrote: >> >> >>>On Thu, 1 Apr 2004, Oliver Eikemeier wrote: >> >>[...] >> >>>>- it should be documented somewhere (bsd.port.mk gives you only >>>>PTHREAD_LIBS) >> >>As far as I understand the problem, every application that doesn't link to >>pthreads, but uses a library that does crashes on -CURRENT. Am I right >>there? > > 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... > 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