summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <[email protected]>2025-06-04 20:00:43 -0700
committerJohn Hawthorn <[email protected]>2025-06-11 18:11:36 -0700
commit7854b71e7f94eb4484c5ad72f5b6e3d0839fc24b (patch)
treee973754c89eee3c21793dd89da44b728a86fd67c
parentf91c80836a3f0c0a7ada00d439ad78fdfccd6b29 (diff)
Supress a few more tsan errors
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13592
-rw-r--r--misc/tsan_suppressions.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/tsan_suppressions.txt b/misc/tsan_suppressions.txt
index 18abf90571..e46f133a9e 100644
--- a/misc/tsan_suppressions.txt
+++ b/misc/tsan_suppressions.txt
@@ -65,6 +65,14 @@ race_top:rb_ractor_set_current_ec_
# Possible deadlock between Ractor lock and UBF lock
deadlock:ractor_sleep_interrupt
+# TSan reports a lock-order-inversion between thread_sched_lock_ and this lock.
+# It's unclear if that can cause a deadlock since the lock is on self
+deadlock:ractor_lock_self
+
+# TSan reports a deadlock when reacquiring the this lock after a barrier, but
+# we know the other threads have been stopped
+deadlock:rb_ractor_sched_barrier_start
+
# RVALUE_AGE_SET manipulates flag bits on objects which may be accessed in Ractors
race_top:RVALUE_AGE_SET
@@ -87,6 +95,10 @@ race:gccct_method_search
race:rb_ec_finalize
race:rb_ec_cleanup
+# TSan doesn't work well post-fork, this raises errors when creating the new
+# timer thread
+race:after_fork_ruby
+
# object_id races
race:object_id