diff --git a/valgrind.supp b/valgrind.supp index 22c444cb8a..d543d5272d 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -323,6 +323,19 @@ ... } +# Helgrind false positives + +# Helgrind warns if a condition variable is signalled while the lock is not +# held, but pthreads explicitly allow this case. Memray is doing this when +# stopping the background thread that collects RSS info, and CPython does this +# for the GIL. +{ + + Helgrind:Dubious + ... + obj:* +} + # libunwind # `validate_mem` checks whether a memory region is both mapped and readable. It