From owner-freebsd-stable@FreeBSD.ORG Sat Jan 23 13:32:17 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 62436106566C for ; Sat, 23 Jan 2010 13:32:17 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id E5E3D8FC08 for ; Sat, 23 Jan 2010 13:32:16 +0000 (UTC) Received: by fxm26 with SMTP id 26so2041854fxm.13 for ; Sat, 23 Jan 2010 05:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references :organization:from:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=ijdBMjXGh13IpiR2APaJFueH/aSO9KC2jbc5y/+N2RE=; b=jpU1VjfSc3Md3T4rakMDy+BspZ9pib1vvrpiYrCMbhgg/oUzunYQaeJJkju3w8Zzv1 w9zhxULFG60iVIqsHksqiaXyN8bxz8Ql5vSmHJoL6XxZrKycFopbiNVA804w76CpUQvI 7R1Y2K9IGh7ucKKjOSS09mF8VM+yaSCohj7R0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:organization:from:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=OoCjKXXlYTyQ+TbDzHumXYEp/iLgW54u1G/0pguVuqwdMkGnJnzhljWL2D3n/9bXCU QXCXWgxf74hABAWgnil7jNys4ppTQhdrHpJMFo02jeB36kvOCUYP9d8zmEhhE3FqJzGH ti0upBic8b1eNPhrnj6xvqRErmfYZuXqjKCpM= Received: by 10.103.81.5 with SMTP id i5mr2206624mul.29.1264253535480; Sat, 23 Jan 2010 05:32:15 -0800 (PST) Received: from localhost (vpn-193-138-135-114.customer.onet.com.ua [193.138.135.114]) by mx.google.com with ESMTPS id i7sm12997217mue.46.2010.01.23.05.32.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 23 Jan 2010 05:32:14 -0800 (PST) To: Harald Schmalzbauer References: <4B56AB6F.9010303@omnilan.de> <86eilhwzbh.fsf@kopusha.onet> <4B5A4A8C.8070707@omnilan.de> Organization: TOA Ukraine From: Mikolaj Golub Date: Sat, 23 Jan 2010 15:32:11 +0200 In-Reply-To: <4B5A4A8C.8070707@omnilan.de> (Harald Schmalzbauer's message of "Sat\, 23 Jan 2010 02\:02\:04 +0100") Message-ID: <86tyudueuc.fsf@kopusha.onet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org 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: Sat, 23 Jan 2010 13:32:17 -0000 On Sat, 23 Jan 2010 02:02:04 +0100 Harald Schmalzbauer wrote: > gdb /usr/bin/top top.core > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"... > Core was generated by `top'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libncurses.so.8...done. > Loaded symbols for /lib/libncurses.so.8 > Reading symbols from /lib/libm.so.5...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /lib/libkvm.so.5...done. > Loaded symbols for /lib/libkvm.so.5 > Reading symbols from /lib/libc.so.7...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /usr/local/lib/nss_ldap.so.1...done. > Loaded symbols for /usr/local/lib/nss_ldap.so.1 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > bt: > #0 0x0000000800d08403 in __nss_compat_gethostbyname () from > /usr/local/lib/nss_ldap.so.1 > #0 0x0000000800d08403 in __nss_compat_gethostbyname () from > /usr/local/lib/nss_ldap.so.1 > #1 0x0000000800d0606f in _nss_ldap_getpwent_r () from > /usr/local/lib/nss_ldap.so.1 It is worth rebuilding and installing nss_ldap.so with debugging symbols. > #2 0x00000008009ffc54 in __nss_compat_getpwent_r () from /lib/libc.so.7 > #3 0x0000000800a84a3d in nsdispatch () from /lib/libc.so.7 > #4 0x0000000800a50976 in getpwent_r () from /lib/libc.so.7 > #5 0x0000000800a50596 in sysctlbyname () from /lib/libc.so.7 And may be libc.so :-) > #6 0x0000000000406c6d in machine_init (statics=0x7fffffffea30, > do_unames=1 '\001') > at /usr/src/usr.bin/top/machine.c:257 > #7 0x0000000000407a10 in main (argc=1, argv=0x7fffffffeb08) > at /usr/src/usr.bin/top/../../contrib/top/top.c:458 > > I'm using nss_ldapd-0.7.2 and there's no way to live without ldap... -- Mikolaj Golub