Bug 75505 - KLUDGED call to: pthread_getattr_np
Summary: KLUDGED call to: pthread_getattr_np
Status: RESOLVED DUPLICATE of bug 69508
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 11:39 UTC by Johan Walles
Modified: 2004-02-19 10:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Walles 2004-02-18 11:39:53 UTC
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!
Comment 1 Johan Walles 2004-02-18 12:42:28 UTC
Probably for the same reason, pthread_attr_getstackaddr() always returns NULL.

If pthread_getattr_np() gets implemented correctly, fixing getstackaddr() is trivial as well.
Comment 2 Tom Hughes 2004-02-18 16:48:51 UTC
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...
Comment 3 Johan Walles 2004-02-19 08:23:21 UTC
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?
Comment 4 Nicholas Nethercote 2004-02-19 10:43:30 UTC

*** This bug has been marked as a duplicate of 69508 ***