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:38:48
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Aug 28, 2003 at 05:03:46AM -0400, Sean Davis wrote:
> 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 bo=
th
> > :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(). Remo=
ve
> > that and everything works. I'm guessing the real cause is USE_TOPDOWN_=
VM
> > not interacting with stack limit properly.
>=20
> 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)
>=20
> Going to rebuild the kernel w/o USE_TOPDOWN_VM now.
> I hope that fixes it.
> -Sean
Yep, it did. Everything works fine now. Odd, since USE_TOPDOWN_VM had never
caused me any problems before.
-Sean
--=20
/~\ The ASCII
\ / Ribbon Campaign Sean Davis
X Against HTML aka dive
/ \ Email!
--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
iD8DBQE/Tc2ncMEZWGhfx9kRArxEAJ9QfI7u5I90U4z/JrQgdqFMCG60XgCgpKcn
Qz0y8cL2FZlQrIq1OwSzQCA=
=TELZ
-----END PGP SIGNATURE-----
--sm4nu43k4a2Rpi4c--