From owner-cvs-all Sat Sep 14 12: 7:29 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C97037B401; Sat, 14 Sep 2002 12:07:23 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0503443E4A; Sat, 14 Sep 2002 12:07:22 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA22789; Sun, 15 Sep 2002 05:07:13 +1000 Date: Sun, 15 Sep 2002 05:15:27 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Martin Blapp Cc: "Jacques A. Vidrine" , , , Subject: Re: cvs commit: src/lib/libc/net getaddrinfo.c gethostbydns.c getnetbydns.c name6.c res_query.c res_update.c In-Reply-To: <20020914184126.F3162-100000@levais.imp.ch> Message-ID: <20020915050924.G1223-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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