From owner-freebsd-current@FreeBSD.ORG Tue Sep 3 11:36:16 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A1750285 for ; Tue, 3 Sep 2013 11:36:16 +0000 (UTC) (envelope-from satan@ukr.net) Received: from hell.ukr.net (hell.ukr.net [212.42.67.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5E3C52CF4 for ; Tue, 3 Sep 2013 11:36:15 +0000 (UTC) Received: from satan by hell.ukr.net with local ID 1VGou5-000LpH-Gm ; Tue, 03 Sep 2013 14:36:13 +0300 Date: Tue, 3 Sep 2013 14:36:13 +0300 From: Vitalij Satanivskij To: FreeBSD Current Subject: I386 jail on amd64 CURRENT core dump in libc? Message-ID: <20130903113613.GA83601@hell.ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: satan@ukr.net 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 11:36:16 -0000 Hello. On fresh installed system - 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r255173: Tue Sep 3 13:31:22 EEST 2013 With fresh i386 builded jail. I'm found some bug with core dumped uniq (/usr/bin/uniq) After recompile whole system with debug symbols found some trace 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 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 "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=, fmt=, ap=) at /usr/src/lib/libc/gen/err.c:112 Previous frame identical to this frame (corrupt stack?) (gdb) I's any change to fix problem ?