Subject: nbpax crash while building
To: None <current-users@netbsd.org>
From: Chris Jones <chris@cjones.org>
List: current-users
Date: 01/31/2002 11:14:45
--4ndw/alBWmZEhfcZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Using build.sh to build either i386 or hpcmips, both hosted on i386, I
get to the release stage and:
kernlist=3D`awk '/^config/ {print $2; found=3D1} END{ if (found =3D=3D 0) =
print "netbsd"; }' /usr/local/tarpit/netbsd/current-src/sys/arch/hpcmips/co=
nf/GENERIC`; kerndir=3D/foo/hpcbuild/obj/sys/arch/hpcmips/compile/GENERIC;=
cd ${kerndir} && tarlist=3D`for kernel in ${kernlist}; do echo "${kerne=
l}"; for s in ; do if [ -f ${kernel}.${s} ]; then echo "${kernel}.${s}";=
fi; done; done`; GZIP=3D-9 /foo/hpcbuild/obj/tools/tools.NetBSD-1.5X-i=
386/bin/nbpax -zwf /foo/hpcbuild/release/binary/sets/kern-GENERIC.tgz ${ta=
rlist}
Segmentation fault - core dumped
The core in question is nbpax. gdb says:
#0 0x80595c8 in user_from_uid ()
#1 0x8056461 in ustar_wr ()
#2 0x804c338 in wr_archive ()
#3 0x804c660 in archive ()
#4 0x80538a9 in main ()
#5 0x8049f99 in ___start ()
Is this a known bug, or should I rebuild with -g?
The host machine is 1.5X, i386, and it's never hosted a build.sh build
before.
It looks like I can work around this by copying /bin/pax to ${TOOLDIR}/nbpa=
x.
Chris
--=20
---------------------------------------------------- chris@cjones.org
Chris Jones Mad scientist at large
www.netbsd.org www.postgresql.org www.schemers.org www.python.org
--4ndw/alBWmZEhfcZ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjxZiZUACgkQDPY2T8RzaD96uwCdFeVM0P8ZDSlsxCpNgKIjfatC
wi4An2O/Hir9B1r2EG33DXENTITzEVAx
=5ewu
-----END PGP SIGNATURE-----
--4ndw/alBWmZEhfcZ--