8000 Add TSan suppression for exception_ptr (#21084) · arangodb/arangodb@3100cf6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3100cf6

Browse files
authored
Add TSan suppression for exception_ptr (#21084)
The reference counting of exception_ptr is part of the prebuilt glibc and is therefore not instrumented by TSan, so TSan is not aware of the synchronization that happens there. That means we have to ignore all races in destructors of exceptions as a result of a __exception_ptr release that causes the refcnt to drop to zero.
1 parent d9a5e95 commit 3100cf6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tsan_arangodb_suppressions.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ race:VersionSet::SetLastSequence
4545
deadlock:replication2::replicated_log::LogLeader::triggerAsyncReplication
4646
deadlock:replication2::replicated_state::ReplicatedStateManager
4747

48+
# the reference counting of exception_ptr is part of the prebuilt glibc and is
49+
# therefore not instrumented by TSan, so TSan is not aware of the synchronization
50+
# that happens there. That means we have to ignore all races in destructors of
51+
# exceptions as a result of a __exception_ptr release that causes the refcnt to
52+
# drop to zero.
53+
race:std::__exception_ptr
54+
4855
# TODO - this should be removed once BTS-685 is fixed
4956
race:AllowImplicitCollectionsSwitcher
5057
race:graph::RefactoredTraverserCache::appendVertex

0 commit comments

Comments
 (0)
0