From owner-freebsd-current@FreeBSD.ORG Thu Mar 25 20:02:05 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 4346316A4CE for ; Thu, 25 Mar 2004 20:02:05 -0800 (PST) Received: from ms-smtp-02-eri0.socal.rr.com (ms-smtp-02-qfe0.socal.rr.com [66.75.162.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23E6543D2D for ; Thu, 25 Mar 2004 20:02:03 -0800 (PST) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (cpe-24-24-233-222.socal.rr.com [24.24.233.222])i2Q41wSa027740 for ; Thu, 25 Mar 2004 20:02:01 -0800 (PST) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 91B8CFD11B for ; Thu, 25 Mar 2004 20:01:58 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17996-07 for ; Thu, 25 Mar 2004 20:01:58 -0800 (PST) Received: from [24.24.233.222] (mcneil.com [24.24.233.222]) by mail.mcneil.com (Postfix) with ESMTP id 36126FD04E for ; Thu, 25 Mar 2004 20:01:58 -0800 (PST) From: Sean McNeil To: freebsd-current@freebsd.org Content-Type: text/plain Message-Id: <1080273717.18231.10.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 25 Mar 2004 20:01:58 -0800 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: by amavisd-new at mcneil.com Subject: 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: Fri, 26 Mar 2004 04:02:05 -0000 Hi everyone, I'm getting frustrated trying to figure out what is wrong here. I get seg 11 on any program that initializes the nss_ldap module but doesn't actually use it. For instance, I have both passwd and group looking at "files ldap". So if I do something like ls -l / it works with no problem as I have a directory in there with a group only in ldap. But if I do ls -l /etc I will get a seg11... #0 0x28214800 in ?? () #1 0x2816bdb5 in _nsdbtput () from /lib/libc.so.5 #2 0x2818e95b in __cxa_finalize () from /lib/libc.so.5 #3 0x2818e67c in exit () from /lib/libc.so.5 #4 0x08049b68 in free () #5 0x08049279 in free () I've looked at the nss_atexit and can't see what could possibly be the problem. There is only one thing I can think of (just came to mind while writing this). The lock nss_lock seems to be kept after nss_configure and never released unless a call to dispatch is called where it will lock then unlock. Yet this would appear to be the same for any of the builtins. Does anyone have any insight into what this might be? I would love to have it working again. Thanks all, Sean