Subject: Re: sh core dumps
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 10/21/2005 11:00:46
--Signature_Fri__21_Oct_2005_11_00_46_-0400_hT.MozrQqqx.etBj
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> It seem that I can reliably reproduce the problem with devel/gmake
> after running make there I can cd to work/make-3.80 and trigger the
> bug by running ./config.status.  That gives me one or sometimes two sh
> core files (i run with kern.defcorename=3D%n.%p.core).  Both are from
> backticked invocation of sed.  As we get sh.core, not sed.core that
> should happen in the vforked child before exec.
...
> <root@krups:/usr/pkgsrc/devel/gmake/work/make-3.80> (1042)
> ./config.status
> config.status: creating Makefile
> config.status: creating glob/Makefile
> config.status: creating po/Makefile.in
> config.status: creating config/Makefile
> config.status: creating doc/Makefile
> config.status: creating build.sh
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> [1]   Segmentation fault (core dumped) sed -n -e "/^DEP...
> [1]   Segmentation fault (core dumped) sed -n -e "/^DEP...
> config.status: executing default-1 commands
> config.status: creating po/POTFILES
> config.status: creating po/Makefile

I ran that at least a hundred times on my Krups ( NetBSD dalwhinnie
3.99.9 NetBSD 3.99.9 (KRUPS) #1: Fri Sep 30 21:00:36 EDT 2005=20
ml@Inishowen:/stuff/build/obj_sparc/sys/arch/sparc/compile/KRUPS sparc )
with recent userland ( less than 2 weeks old ) and didn't get a single
core dump. =20

have fun
Michael

--Signature_Fri__21_Oct_2005_11_00_46_-0400_hT.MozrQqqx.etBj
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ1kCnspnzkX8Yg2nAQJQhgf9GLRxUPPkt+cPEcSa6xTq5GAxOfwhtH6q
PU0c66IkEPs0JkCS0y1u210aU790VH/Hk7I5WKx6Xw4ZpM5ps0QIcPT4pkDCtK9K
qwh7ls9Hmy7uZa+mHEVdw+ZgLRwNiXhHLFPR99rYGSajbn/HhrEwmCEFa01+NRZI
j4y5Zltyu6GneePIdu931wL5DWI9xUo8UvyD5ZqpwWycqDK0O7O9EMhi6ozO/e27
eSUomRJdA3fXB/3Of7FkzJw9orS97cj/VW1GrgJ0mNt4xd8VNzBZkhL6dZVSsbID
JjToGLfjlWpIjDNDW9TzfsTQlrNm/UAZ/dfWYMWvF6oAKRH5C4nS7A==
=qHMf
-----END PGP SIGNATURE-----

--Signature_Fri__21_Oct_2005_11_00_46_-0400_hT.MozrQqqx.etBj--