Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2002 23:53:25 +1000
From:      Tim Robbins <tjr@FreeBSD.org>
To:        walt <wa1ter@hotmail.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: cvsup, mozilla, pan segfaulting since yesterday?
Message-ID:  <20020915235325.A45719@dilbert.robbins.dropbear.id.au>
In-Reply-To: <3D8421F5.5080900@hotmail.com>; from wa1ter@hotmail.com on Sat, Sep 14, 2002 at 11:00:21PM -0700
References:  <am0qca$1gk7$1@FreeBSD.csie.NCTU.edu.tw> <3D8421F5.5080900@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915235325.A45719>