From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 03:44:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C27816A4CE; Sat, 17 Apr 2004 03:44:33 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C7943D1F; Sat, 17 Apr 2004 03:44:31 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i3HAiPDH006805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Apr 2004 11:44:26 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3HAiPAH006804; Sat, 17 Apr 2004 11:44:25 +0100 (BST) (envelope-from matthew) Date: Sat, 17 Apr 2004 11:44:25 +0100 From: Matthew Seaman To: Jason Lixfeld Message-ID: <20040417104425.GA5985@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Jason Lixfeld , freebsd-questions@freebsd.org, freebsd-amd64@freebsd.org References: <274D2276-902F-11D8-BFD6-000A95989E4A@lixfeld.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <274D2276-902F-11D8-BFD6-000A95989E4A@lixfeld.ca> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040416, clamav-milter version 0.70g X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: Fwd: Call For Assistance #4 - slapd won't die gracefully, multiple versions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 10:44:33 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jason, On Sat, Apr 17, 2004 at 01:22:00AM -0400, Jason Lixfeld wrote: > I've been having this issue with openldap for over a month now and they= =20 > folks at openldap seem to think this may be a FreeBSD issue. Not sure=20 > if it's a general FreeBSD issue or an AMD64 issue so it's going to=20 > both. >=20 > Can anyone have a look at this and tell me what they think? It looks to me as if you've discovered quite a tricky bug here. It's not clear from the symptoms you describe if the fault is in the OpenLDAP code, the code of any of the dependencies it links against -- although I think your testing of BDB vs LDBM has eliminated those as suspects -- or the underlying FreeBSD system libraries. Neither is it clear if the problem is a coding mistake in any of those projects, or perhaps a bug in the compiler. Now, I assume that egregious errors due to being on a 64bit rather than a 32bit platform are not likely to happen in the OpenLDAP code, since it runs on any number of 64bit platforms like solaris-sparc. Subtle errors are a different matter. AMD64 is now a tier-1 platform on FreeBSD, which means it's been through a lot of testing to prove it's stability and correct operation, but that status is new with 5.x, so there are undoubtedly plenty of bugs still there to fix. 5.x is also using gcc-3.3.x as the system compiler, again in a large part for the ability to support the new tier-1 platforms. In other words it's pretty hard to even predict which of those areas is most likely to be the cause of the problem. As Kris said, running the program under a debugger -- in the hands of an expert programmer -- will be the best route towards dignosing the problem and finding a cure. If you're not capable of doing that sort of thing yourself, finding such a person will be your best route to a proper fix. If you need the LDAP server for business purposes, then offering payment would not be out of order. In the mean time, you need a work-around. I'm not sure if you can run FreeBSD 5.x in 32bit mode on an AMD64 box, but that might be a thing to try. Compiling the software with different versions of gcc (there are several available in ports) and with different optimization levels is worth a go. Failing that, probably the best thing would be to find a spare IA32 machine and use that for your server temporarily. or even (horrors!) try a different OS on your AMD64 box. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAgQqJdtESqEQa7a0RAnYVAJwJKMZHv/TdP2Z1+VsjLF2u0up6IQCaA2UP yvLc4QCeJPCeTd9EH2Z0dM8= =N9xO -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--