From owner-freebsd-current@FreeBSD.ORG Tue Sep 3 16:41:17 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 94F437B2 for ; Tue, 3 Sep 2013 16:41:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C8BB2BA8 for ; Tue, 3 Sep 2013 16:41:16 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r83Gf8e0062780; Tue, 3 Sep 2013 19:41:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r83Gf8e0062780 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r83Gf8lc062779; Tue, 3 Sep 2013 19:41:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 3 Sep 2013 19:41:08 +0300 From: Konstantin Belousov To: Vitalij Satanivskij Subject: Re: I386 jail on amd64 CURRENT core dump in libc? Message-ID: <20130903164108.GP41229@kib.kiev.ua> References: <20130903113613.GA83601@hell.ukr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K9fy5ol1Oes4Q/ix" Content-Disposition: inline In-Reply-To: <20130903113613.GA83601@hell.ukr.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 03 Sep 2013 16:41:17 -0000 --K9fy5ol1Oes4Q/ix Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 03, 2013 at 02:36:13PM +0300, Vitalij Satanivskij wrote: >=20 > Hello. >=20 > On fresh installed system -=20 >=20 > 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r255173: Tue Sep 3 13:31:22 EEST 20= 13 >=20 > With fresh i386 builded jail. I'm found some bug with core dumped uniq (/= usr/bin/uniq) >=20 > After recompile whole system with debug symbols found some trace=20 >=20 > gdb /usr/bin/uniq uniq-1676.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 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 "i386-marcel-freebsd"... > Core was generated by `uniq'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libc.so.7...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x00000001 in ?? () > (gdb) bt > #0 0x00000001 in ?? () > #1 0x281a1e94 in __default_hash () from /lib/libc.so.7 > #2 0xffffcba8 in ?? () > #3 0x28153361 in verrc (eval=3D, fmt=3D, ap=3D) at /usr/src/lib/libc/gen/err.c:112 > Previous frame identical to this frame (corrupt stack?) > (gdb) >=20 >=20 > I's any change to fix problem ?=20 Your installed libraries do not have proper debugging symbols. Since the issue seems to be in the compat32 layer, you may try to start with taking the ktrace of the failing program and see what syscall failed, if any. --K9fy5ol1Oes4Q/ix Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQIcBAEBAgAGBQJSJhEkAAoJEJDCuSvBvK1BR6MP/jZh+edBcAOtjPhZkBBgmssl tEtPnUKBQG6a3JSzUjGypKynFN2PMKIdAM6Ef1HaWa2xJQpYqHJhki94LcTzFO5R 2zX7QaF+Qne7paNEJcniEiRxyi8oMKgbJhYuvj/1RZ7DAXCYi9zyC2uEUAYSF/Kd FWvkU4t4muiX9hfpyw8gGvffui0eBFOqPiLY5p7kCsm168R3/viQushwll7zyPXA /5I4patv5xHBCG5SS0V377EixaxSHDfZGkPifVh93rYhPpNrUE4N9uEY0tVFWkPO YfSLSlq/ZICs+wnAxd81FMSGxM+PgyBRJ/LJ3LI26uzraRnJIBh1WdO3/d8F52UD 7IGSvSN3nQ5zqVwbnGPl/qNdhHVoE0QIlw9pW+fsMxc5PrauK9RL4msWCL6nVpm2 NToHoGDkhKD8gOm2rj3rFJJ5F8rsQeO23MgVkvqMAGV7ZdunSIYy/41fb66G5mMU aPTueOBTk+tZYNmhwNxHppBz1RlZajZV4s123qKbVXY9rRc4bh5SxteoTkvqaZ4e 8BZZf1OJHXWktKwfglmInvMSJNyIlz1QjRmclfkaP1zZa2WCNk3E5CLaR+wbQQlj 2PN8ZnvXNheVt2Qs4GX2Hq3TgQmtUzKGzjZovv4jCKshi7P57SmgTPFhlHdp29er MTfIQZmhpL9PkTYoOdzu =PnzV -----END PGP SIGNATURE----- --K9fy5ol1Oes4Q/ix--