pthread_attr_getstack(): SEGV using ptr stack_addr - stack_size

"John David Anglin" <[email protected]> Sat, 15 Sep 2007 14:32:31 -0400 (EDT)
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
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                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)