Subject: Re: vipw AND gzip problems?
To: Geoff Wing <gcw@pobox.com>
From: Sean Davis <dive@endersgame.net>
List: current-users
Date: 08/28/2003 05:03:46
--QTprm0S8XgL7H0Dt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 28, 2003 at 05:59:22PM +1000, Geoff Wing wrote:
> Sean Davis <dive@endersgame.net> typed:
> :I haven't been able to track down the source of either problem, but both
> :gzip and vipw are having issues in -current as of Mon Aug 25.
>=20
> The problem is in the RLIMIT_STACK resource setting in pw_init().  Remove
> that and everything works.  I'm guessing the real cause is USE_TOPDOWN_VM
> not interacting with stack limit properly.

Actually, anything dies after I do an unlimit:
eros# vipw
Segmentation fault (core dumped)
eros# gdb =17hich vipw vipw.core
Segmentation fault (core dumped)
eros# gdb
Segmentation fault (core dumped)
eros# gcc
load: 3.90  cmd: gcc 4186 [runnable] 0.00u 1.54s 5% 24784k
Segmentation fault (core dumped)
eros# ls *.core
^C
Segmentation fault (core dumped)

Going to rebuild the kernel w/o USE_TOPDOWN_VM now.
I hope that fixes it.
-Sean

--=20
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!

--QTprm0S8XgL7H0Dt
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/TcVycMEZWGhfx9kRAunAAJ42zbWv2KyyaMRdjQpUJPYJl+2jxgCcC/wi
qxetlv8x11V5GwJ64ANBBIc=
=s8/t
-----END PGP SIGNATURE-----

--QTprm0S8XgL7H0Dt--