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

John David Anglin dave at hiauly1.hia.nrc.ca
Sat Sep 15 12:32:31 MDT 2007


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.

Dave
-- 
J. David Anglin                                  dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the parisc-linux mailing list