mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fix: Suppress Ledger::setValidated data race in TSAN
Add suppression for pre-existing data race on LedgerHeader::validated (plain bool mutable) between LedgerMaster worker thread and test code. The flag is monotonic (false→true only), so the race is benign but technically UB. Proper fix (atomic<bool>) deferred to a follow-up. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,12 @@ deadlock:RCLConsensus
|
||||
deadlock:LedgerReplayTask
|
||||
deadlock:LedgerDeltaAcquire
|
||||
|
||||
# Data race on LedgerHeader::validated (bool mutable).
|
||||
# This is a monotonic flag (false→true, never back) set by LedgerMaster
|
||||
# worker threads and read by test/RPC code. Benign but technically UB.
|
||||
# Proper fix: make validated std::atomic<bool>.
|
||||
race:Ledger::setValidated
|
||||
|
||||
# Signal/crash suppressions for GCC TSAN instrumentation issues
|
||||
signal:std::__cxx11::basic_stringbuf
|
||||
signal:basic_stringbuf
|
||||
|
||||
Reference in New Issue
Block a user