From owner-freebsd-current Sun Sep 15 6:53:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01E9737B400 for ; Sun, 15 Sep 2002 06:53:36 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (197.a.007.mel.iprimus.net.au [210.50.80.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B9A443E42 for ; Sun, 15 Sep 2002 06:53:33 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (xxfxgzaobkkes8xi@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id g8FDrRUD045990; Sun, 15 Sep 2002 23:53:28 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id g8FDrPg8045989; Sun, 15 Sep 2002 23:53:25 +1000 (EST) Date: Sun, 15 Sep 2002 23:53:25 +1000 From: Tim Robbins To: walt Cc: freebsd-current@FreeBSD.org Subject: Re: cvsup, mozilla, pan segfaulting since yesterday? Message-ID: <20020915235325.A45719@dilbert.robbins.dropbear.id.au> References: <3D8421F5.5080900@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D8421F5.5080900@hotmail.com>; from wa1ter@hotmail.com on Sat, Sep 14, 2002 at 11:00:21PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 14, 2002 at 11:00:21PM -0700, walt wrote: > Tim Robbins wrote: > > > ...You might consider editing > > src/lib/libc_r/uthread/pthread_private.h and making PTHREAD_STACK_DEFAULT > > a bit larger (1048576 should be more than enough). > > I edited the file as directed and did a make && make install in > /usr/src/lib/ and watched to make sure that libc_r recompiled. > > Unfortunately it made no difference--the apps still segfault. > > Is there something else I need to do? The changes have been backed out now, but I think that changing: _pthread_guard_default = getpagesize(); to: _pthread_guard_default = 32 * getpagesize(); in _thread_init() in uthread_init.c as well as changing PTHREAD_STACK_DEFAULT might have made Mozilla work but it's fairly wasteful. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message