From owner-freebsd-questions@FreeBSD.ORG Sun May 6 07:53:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77E10106564A; Sun, 6 May 2012 07:53:52 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 286428FC12; Sun, 6 May 2012 07:53:52 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SQwHv-0002g5-3N>; Sun, 06 May 2012 09:53:51 +0200 Received: from e178012181.adsl.alicedsl.de ([85.178.12.181] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SQwHu-00009o-UJ>; Sun, 06 May 2012 09:53:51 +0200 Message-ID: <4FA62DFF.3040708@zedat.fu-berlin.de> Date: Sun, 06 May 2012 09:53:35 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Dimitry Andric References: <4FA54D4A.4050703@zedat.fu-berlin.de> <4FA5BDDC.4050307@FreeBSD.org> In-Reply-To: <4FA5BDDC.4050307@FreeBSD.org> X-Enigmail-Version: 1.5pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEB72EE0E142994DF86FC6EB7" X-Originating-IP: 85.178.12.181 Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org, David Xu Subject: Re: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2012 07:53:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEB72EE0E142994DF86FC6EB7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/06/12 01:55, Dimitry Andric wrote: > On 2012-05-05 17:54, Hartmann, O. wrote: >> Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes >> massive trouble with net/openldap24-server (SASL enabled, so it is >> openldap-sasl-server). >> >> Last time OpenLDAP worked was Thursday last week, when obviously a >> problematic update to the OS was made >=20 > I managed to reproduce the segfault you are seeing in slapd, which is > caused by a problem in libthr.so, introduced in r234947. >=20 > Please apply the attached diff, rebuild lib/libthr and install it, and > then try your slapd tests again. Let us know. :) >=20 > @David, can you please review this diff? It looks like there was a > mistake merging from Perforce, where you also moved the line: >=20 > sc =3D SC_LOOKUP(wchan); >=20 > to the top of the _sleepq_add() function, just before the call to > _sleepq_lookup(). If this isn't done, sc may be uninitialized when it > is dereferenced later on in the function. GREAT! Everything works perfectly as expected and in its status quo as before the inconvenience. The problems I faced with xdm and others were due to a configuration mistake by myself in etc/ldap.conf, which I introduced while searching for problems. Dimitry, my personal thank you. Seriously. Regards, Oliver Hartmann --------------enigEB72EE0E142994DF86FC6EB7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPpi4FAAoJEOgBcD7A/5N8V60IAKc0OdbKiIBS5cmmz826equR yydy/26LnYefddEjQAKyTXOoKLC8MAait+PMlJRoxNOf6eOaqIPrBu/9HVaTja9g 9/M+9PZZJct47ILoew7n3Vm5v/mPArht0KHUR6TmGw/wZKwABHF3my60h8RBr+yG iMG+Al0HAiLWwI9QOTsm/f9aRQvE1ThfTgq9Yg79rw721h2rP/ukuhe+d9tihC7E zJX7/eVAlkdKD8KjAG+N0Ts5mE4fynlxfKuBN0HnLVRKSl3wdQhw+ok7fI0Mh1JY zg42iqJbhR9yazS6pZYmc8AXmrVUIpU/Q28zfuXPDmCaJbeJSsfsQg4y1rBLxL4= =l/+K -----END PGP SIGNATURE----- --------------enigEB72EE0E142994DF86FC6EB7--