Re: pthread_attr_getstack(): SEGV using ptr stack_addr - stack_size

"Carlos O'Donell" <[email protected]> Sun, 16 Sep 2007 12:17:13 -0400
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 9/15/07, John David Anglin <[email protected]> wrote:
> Carlos,
>
> We have a problem with libjava.  The details are here:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33442
>
> The problem seems to be pthread_attr_getstack.  It looks like
> we aren't rounding the returned stack_addr value correctly to
> ensure that stack_addr - stack_size is equal to or larger than
> the stack base for a thread.

I will look into this. Thanks Dave. Would you like a patch against the
current debian glibc? The  patch I checkin upstream won't be much use
for you :-)

Cheers,
Carlos.