Skip to content

Commit 7854b71

Browse files
committed
Supress a few more tsan errors
1 parent f91c808 commit 7854b71

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

misc/tsan_suppressions.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ race_top:rb_ractor_set_current_ec_
6565
# Possible deadlock between Ractor lock and UBF lock
6666
deadlock:ractor_sleep_interrupt
6767

68+
# TSan reports a lock-order-inversion between thread_sched_lock_ and this lock.
69+
# It's unclear if that can cause a deadlock since the lock is on self
70+
deadlock:ractor_lock_self
71+
72+
# TSan reports a deadlock when reacquiring the this lock after a barrier, but
73+
# we know the other threads have been stopped
74+
deadlock:rb_ractor_sched_barrier_start
75+
6876
# RVALUE_AGE_SET manipulates flag bits on objects which may be accessed in Ractors
6977
race_top:RVALUE_AGE_SET
7078

@@ -87,6 +95,10 @@ race:gccct_method_search
8795
race:rb_ec_finalize
8896
race:rb_ec_cleanup
8997

98+
# TSan doesn't work well post-fork, this raises errors when creating the new
99+
# timer thread
100+
race:after_fork_ruby
101+
90102
# object_id races
91103
race:object_id
92104

0 commit comments

Comments
 (0)