This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with stack size in pthreads


On 12 Jul 2001, Ulrich Drepper wrote:

> Date: 12 Jul 2001 11:05:21 -0700
> From: Ulrich Drepper <drepper@redhat.com>
> Reply-To: Ulrich Drepper <drepper@cygnus.com>
> To: Andreas Jaeger <aj@suse.de>
> Cc: libc-alpha@sources.redhat.com, Hui.Huang@sum.com
> Subject: Re: Problem with stack size in pthreads
>
> Andreas Jaeger <aj@suse.de> writes:
>
> > If the stack pointer of the initial thread in function thread_self
> > (from internals.h) is below __pthread_initial_thread_bos, it's not
> > considered in the initial thread.
>
> This is not supposed to happen because we made a setrlimit() call.
> Testcase?

Perhaps the application made its own setrlimit() call. It would make sense
that it would play with this, given that it needs a lot of stack space.
We only set the soft limit, rlim_cur.  If someone would do an strace on
this to confirm, that would be great.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]