# ThreadSanitizer suppressions
# ============================
#
# https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions

# deadlock (TODO fix)
# To reproduce, see:
# https://github.com/bitcoin/bitcoin/issues/19303#issuecomment-1514926359
deadlock:Chainstate::ConnectTip

# Intentional deadlock in tests
deadlock:sync_tests::potential_deadlock_detected

# Wildcard for all of the gui
race:bitcoin-qt
race:src/qt/test/*
deadlock:src/qt/test/*

# External libraries
# ------------------
race:libzmq

# To reproduce, build from depends with CFLAGS='-O0 -g' CXXFLAGS='-O0 -g'
race:zmq::*

# Intermittent issues
# -------------------
#
# Suppressions that follow might only happen intermittently, thus they are not
# reproducible. Make sure to include a link to a full trace.

# https://github.com/bitcoin/bitcoin/issues/20618
race:CZMQAbstractPublishNotifier::SendZmqMessage

# https://github.com/bitcoin/bitcoin/pull/27498#issuecomment-1517410478
race:epoll_ctl

# https://github.com/bitcoin/bitcoin/issues/23366
race:std::__1::ios_base::*
