From owner-freebsd-stable@FreeBSD.ORG Sun Jan 24 11:03:11 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF068106566B for ; Sun, 24 Jan 2010 11:03:11 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2A28FC1C for ; Sun, 24 Jan 2010 11:03:10 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o0OB36am008945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Jan 2010 12:03:09 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B5C28E3.8080006@omnilan.de> Date: Sun, 24 Jan 2010 12:02:59 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: "Alexander V. Chernikov" References: <4B56AB6F.9010303@omnilan.de> <86eilhwzbh.fsf@kopusha.onet> <4B5A4A8C.8070707@omnilan.de> <4B5C11BD.7080103@ipfw.ru> In-Reply-To: <4B5C11BD.7080103@ipfw.ru> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEC32D5916D5D4518B011F971" Cc: freebsd-stable@freebsd.org, Mikolaj Golub Subject: Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 11:03:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEC32D5916D5D4518B011F971 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Alexander V. Chernikov schrieb am 24.01.2010 10:24 (localtime): =2E.. >>> gdb /usr/bin/top top.core >>> bt >>> >>> And sure a backtrace from the top built with -g would be much better.= >>> >>> cd /usr/src/usr.bin/top >>> CFLAGS=3D-g make >> >> Unfortunately nss_ldap seems to be the culprit. > There is some strange problem with TLS and gcc optimization I can't=20 > localize >=20 > Please try to rebuild port with >=20 > post-configure: > @${REINPLACE_CMD} -e 's/^\(CFLAGS .*\)-O2 \(.*\)$$/\1 -O0 \2/'=20 > ${WRKSRC}/nss/Makefile >=20 > I'll submit updated port later That indeed fixed the problem. Thank you very much. But I found another point for improovement: When deinstalling/installing nss_ldap.conf gets deleted/overwritten. I=20 think it's better to install nss_ldap.conf.sample like many other ports d= o. I also like the way lighttpd port is managed: @unexec if cmp -s %D/etc/lighttpd.conf %D/etc/lighttpd.conf.sample; then = rm -f %D/etc/lighttpd.conf; fi etc/lighttpd.conf.sample @exec [ -f %B/lighttpd.conf ] || cp %B/%f %B/lighttpd.conf Thanks, -Harry --------------enigEC32D5916D5D4518B011F971 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.13 (FreeBSD) iEYEARECAAYFAktcKOoACgkQLDqVQ9VXb8ii9gCgqkbh03MmbeUDc/+thiLwahBi FdsAn3NcCOoqpyN2xfkjGF+7NDADRS83 =0UBL -----END PGP SIGNATURE----- --------------enigEC32D5916D5D4518B011F971--