When running JRockit inside valgrind I get warnings about pthread_getattr_np(): ==32480== valgrind's libpthread.so: KLUDGED call to: pthread_getattr_np The stack address is used for setting up guard pagess, so if at least the stack address was correctly filled in that would be good enough. Thanks!
Probably for the same reason, pthread_attr_getstackaddr() always returns NULL. If pthread_getattr_np() gets implemented correctly, fixing getstackaddr() is trivial as well.
The patch attached to bug 69508 already implements pthread_getattr_np and a number of other calls related to thread stack attributes. Note that if JRockit is some Java based system then you are still quite likely to have problems due to the horrible things the JVM likes to do...
Since bug 69508 already covers this, I'd close this as a duplicate of bug 69508 if I could. Somebody authorized, do it for me?
*** This bug has been marked as a duplicate of 69508 ***