From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 13:41:38 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF41A106568F for ; Thu, 21 Aug 2008 13:41:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 558638FC16 for ; Thu, 21 Aug 2008 13:41:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KWAPw-0002PR-8w; Thu, 21 Aug 2008 16:41:36 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7LDfSDk004228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Aug 2008 16:41:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7LDfS9s055520; Thu, 21 Aug 2008 16:41:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7LDfQgX055368; Thu, 21 Aug 2008 16:41:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 21 Aug 2008 16:41:26 +0300 From: Kostik Belousov To: ticso@cicely.de Message-ID: <20080821134126.GI1803@deviant.kiev.zoral.com.ua> References: <20080814202949.GA34094@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MZQ2DoTi1EizrxJt" Content-Disposition: inline In-Reply-To: <20080814202949.GA34094@cicely7.cicely.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KWAPw-0002PR-8w 46f4717786848cd18ba460a1f210cb5b X-Terabit: YES Cc: Bernd Walter , freebsd-current@freebsd.org Subject: Re: __tls_get_addr problem with recent current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 13:41:38 -0000 --MZQ2DoTi1EizrxJt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 14, 2008 at 10:29:49PM +0200, Bernd Walter wrote: > After updating the kernel and before installworld processes randomly > crash on startup. > Userland is ~2 months old amd64 current. > I wonder if this is because of the OS mix or a general problem right > now. > It seems that process only crash if I'm logged in via ssh/telnet but > not on console, so I might be able to installworld from console. >=20 > One example: > [59]cicely14# gdb /bin/cat cat.core=20 > 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 conditi= ons. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols= found)... > Core was generated by `cat'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found).= ..done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x0000000800505523 in __tls_get_addr () from /libexec/ld-elf.so.1 > (gdb) bt > #0 0x0000000800505523 in __tls_get_addr () from /libexec/ld-elf.so.1 > #1 0x00000008006b34c1 in free () from /lib/libc.so.7 > #2 0x00000008006b4a8e in malloc () from /lib/libc.so.7 > #3 0x00000008006a9600 in regfree () from /lib/libc.so.7 > #4 0x00000008006a918e in regfree () from /lib/libc.so.7 > #5 0x00000008006a6500 in __detect_path_locale () from /lib/libc.so.7 > #6 0x0000000000401b6a in ?? () > #7 0x0000000000401035 in ?? () > #8 0x000000080052f000 in ?? () I do not see a problem with today kernel and world (on amd64). Does the problem persist even with both new kernel and world ? If yes, you probably would need to rebuild rtld and libc with debug symbols and get the backtrace with full debug information. --MZQ2DoTi1EizrxJt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkitcIYACgkQC3+MBN1Mb4jUkgCdFJke75QQaTrY/Sq85jwzMBd6 MVEAoMfu720GwMf4O9Oe0FJ0qesUDc+7 =TCAl -----END PGP SIGNATURE----- --MZQ2DoTi1EizrxJt--