Subject: Re: vipw AND gzip problems?
To: Geoff Wing <gcw@pobox.com>
From: Sean Davis <dive@endersgame.net>
List: tech-userlevel
Date: 08/28/2003 05:00:12
--azLHFNyN32YCQGCU
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.

eros# limit
cputime         unlimited
filesize        unlimited
datasize        131072 kbytes
stacksize       2048 kbytes
coredumpsize    unlimited
memoryuse       380848 kbytes
descriptors     64=20
memorylocked    126949 kbytes
maxproc         160=20
eros# unlimit
eros# vipw
Segmentation fault (core dumped)
eros# gdb =17hich vipw vipw.core
Segmentation fault (core dumped)
eros# gdb
Segmentation fault (core dumped)
eros#=20

I'm going to remove USE_TOPDOWN_VM from my kernel and see if that fixes
it...

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

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

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

iD8DBQE/TcSccMEZWGhfx9kRAgoLAKCTQiH1DXKc/hpiuAqSkyNwaMDHyACfZgFW
3zSLplGkF6oah+Cz+MbJRy8=
=Y1Ym
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--