[parisc-linux] pthread_attr_getstack(): SEGV using ptr stack_addr - stack_size

Carlos O'Donell carlos at systemhalted.org
Sun Sep 16 10:17:13 MDT 2007


On 9/15/07, John David Anglin <dave at hiauly1.hia.nrc.ca> 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.



More information about the parisc-linux mailing list