Summary: | futex syscall "skips" argument 5 if op is FUTEX_WAIT_BITSET | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.11 SVN | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=1305962 | ||
Latest Commit: | Version Fixed In: |
Description
Mark Wielaard
2016-02-09 20:35:44 UTC
valgrind svn r15793 This caused regressions in the following two tests: helgrind/tests/cond_timedwait_test (stderr) drd/tests/pth_inconsistent_cond_wait (stderr) valgrind svn r15795 The original fix in svn r15793 read argument 6 separately by using PRA6 unconditionally. This is wrong. We need to first check whether a track_pre_reg_read callback is registered (only memcheck does). The PRE_REG_READX macro already had this check. Just add the same before calling PRA6. Thanks to Tom Hughes for noticing |