Date: Sun, 15 Sep 2002 05:15:27 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Martin Blapp <mb@imp.ch> Cc: "Jacques A. Vidrine" <nectar@FreeBSD.org>, <netctar@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/lib/libc/net getaddrinfo.c gethostbydns.c getnetbydns.c name6.c res_query.c res_update.c Message-ID: <20020915050924.G1223-100000@gamplex.bde.org> In-Reply-To: <20020914184126.F3162-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Sep 2002, Martin Blapp wrote: > > Hmm, I cannot reproduce it. What's your environment? > > It's not you fault. Tim J. Robbins and I have reporduced it and he has > tracked it down to libc_r. > > Stack growing is broken in libc_r. Everything that tries to expand the > stack above 65536 is broken. > ... > See testcase: > > http://people.freebsd.org/~tjr/stack.c > > Important ! This is in STABLE too. This seems to be just hitting the default limit: %%% Script started on Sun Sep 15 05:10:34 2002 ttyv1:root@gamplex:/tmp> ulimit -s 65536 ttyv1:root@gamplex:/tmp> ulimit -s 65537 ttyv1:root@gamplex:/tmp> ulimit -s 65536 ttyv1:root@gamplex:/tmp> grep MAXSSIZ /usr/include/machine/*.h /usr/include/machine/vmparam.h:#ifndef MAXSSIZ /usr/include/machine/vmparam.h:#define MAXSSIZ (64UL*1024*1024) /* max stack size */ ttyv1:root@gamplex:/tmp> exit Script done on Sun Sep 15 05:10:52 2002 %%% The limit can't be raised above 65536K without changing the (kernel) compile-time default. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915050924.G1223-100000>