https://bugs.kde.org/show_bug.cgi?id=446139

            Bug ID: 446139
           Summary: DRD/Helgrind with
                    std::shared_timed_mutex::try_lock_until and
                    try_lock_shared_until false positives
           Product: valgrind
           Version: 3.19 GIT
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: drd
          Assignee: bart.vanassche+...@gmail.com
          Reporter: pjfl...@wanadoo.fr
  Target Milestone: ---

Created attachment 143984
  --> https://bugs.kde.org/attachment.cgi?id=143984&action=edit
testcase

Similar to https://bugs.kde.org/show_bug.cgi?id=446138

Again on Fedora 34

This time it is pthread_rwlock_clockrdlock and pthread_rwlock_clockrwrlock that
do not have intercepts.

This gives several false positives e.g. Helgrind
==16048== Thread #3 unlocked lock at 0x406220 currently held by thread #1
==16048==    at 0x484A573: pthread_rwlock_unlock_WRK (hg_intercepts.c:2683)
==16048==    by 0x484CA97: pthread_rwlock_unlock (hg_intercepts.c:2702)

and DRD

==16064== Reader-writer lock not locked by calling thread: rwlock 0x406220.
==16064==    at 0x486722B: pthread_rwlock_unlock_intercept
(drd_pthread_intercepts.c:1855)
==16064==    by 0x486722B: pthread_rwlock_unlock
(drd_pthread_intercepts.c:1869)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to