Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2013 19:41:08 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Vitalij Satanivskij <satan@ukr.net>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: I386 jail on amd64 CURRENT core dump in libc?
Message-ID:  <20130903164108.GP41229@kib.kiev.ua>
In-Reply-To: <20130903113613.GA83601@hell.ukr.net>
References:  <20130903113613.GA83601@hell.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<value optimized out>, fmt=3D<value optim=
ized out>, ap=3D<value optimized out>) 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130903164108.GP41229>