From owner-freebsd-stable@FreeBSD.ORG Sat Jan 23 13:11:18 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 ECAEB106568D for ; Sat, 23 Jan 2010 13:11:18 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 8242B8FC14 for ; Sat, 23 Jan 2010 13:11:18 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id 4026E1D368; Sat, 23 Jan 2010 14:11:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=AnZ3Bup SsFnPEQSs8wyzkbnij1Y=; b=O0YYnlYoJejZ6XADYVwgW+vqCH95v+hYvs6Q7em /JnPwQQuB+6roQ1QFu5jkNwj8cYa+RpSm7XDURHo5VUX7zVsiWkND08uoJpGl2Da bigjMSu83iCpIXH6PjsXhzZVk0/SGZaRcg0r8bmmnMMXyE2v2DfMIHiv8yJRda4z r9Bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=Y GGownKDvKPmFRo5Bzqxt6PskoDSru0ht2rC0R38yuCnnktrqkQBug/4Ng80o30b5 bhsmB4swiH7fUhyTLTx36GEhi6FLy3gzXVUCWJC1zpjQK8PZFaHlxR50qGdmEWUU UTFggCP988bXICq+rEFUVF7mIR35YrL0KZ/tREcJD8= Received: from [10.59.1.10] (170.Red-213-98-170.staticIP.rima-tde.net [213.98.170.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 5D16E1D1AD; Sat, 23 Jan 2010 14:11:11 +0100 (CET) Date: Sat, 23 Jan 2010 14:11:08 +0100 From: Goran Lowkrantz To: Harald Schmalzbauer Message-ID: <3835A6DDECB69492C81ABB85@[169.254.1.1]> In-Reply-To: <0B97CD566B7D5364FC60EB7C@[169.254.1.1]> References: <4B56AB6F.9010303@omnilan.de> <86eilhwzbh.fsf@kopusha.onet> <4B5A4A8C.8070707@omnilan.de> <0B97CD566B7D5364FC60EB7C@[169.254.1.1]> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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: Sat, 23 Jan 2010 13:11:19 -0000 Sorry, noise. Problem can back after a reboot. But now it only affects non=20 super-users, it works just fine for root. When it first happened for me,=20 even root cored. /glz --On January 23, 2010 13:57:41 +0100 Goran Lowkrantz=20 wrote: > I had exactly this problem. Removing an old /etc/localtime fixed the > problem. > > /glz > > --On January 23, 2010 2:02:04 +0100 Harald Schmalzbauer > wrote: > >> Mikolaj Golub schrieb am 22.01.2010 23:26 (localtime): >>> On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote: >>> >>>> Dear all, >>>> >>>> I have no idea why top crashes with segmentation fault on my amd64 >>>> machine running FreeBSD 8.0-RELEASE-p2. >>>> If someone wants to have a loot at the core dump: >>>> http://www.schmalzbauer.de/downloads/top.core >>> >>> core file is useless without binary and libraries. So it is better to >>> run gdb on your host, produce backtrace and post here: >>> >>> 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. >> >> 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 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 >># 6 0x0000000000406c6d in machine_init (statics=3D0x7fffffffea30, >># do_unames=3D1 '\001') >> at /usr/src/usr.bin/top/machine.c:257 >># 7 0x0000000000407a10 in main (argc=3D1, argv=3D0x7fffffffeb08) >> 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... >> >> Any help highly appreciated! >> >> Thanks, >> >> -Harry >> > > > > ................................................... the future isMobile > > Goran Lowkrantz > System Architect, isMobile AB > Sandviksgatan 81, PO Box 58, S-971 03 Lule=E5, Sweden > Mobile: +46(0)70-587 87 82 > http://www.ismobile.com ............................................... > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" ................................................... the future isMobile Goran Lowkrantz System Architect, isMobile AB Sandviksgatan 81, PO Box 58, S-971 03 Lule=E5, Sweden Mobile: +46(0)70-587 87 82 http://www.ismobile.com ...............................................