aeron icon indicating copy to clipboard operation
aeron copied to clipboard

TSAN reports data races

Open alokpr opened this issue 2 years ago • 1 comments

TSAN emits whole bunch of data race warnings on a simple single publisher, single subscriber application. Log attached. Threading model of the application:

  • Both publisher and subscriber are on the main thread
  • Client on a dedicated thread
  • Embedded driver on a dedicated thread with a shared threading strategy

Many (all?) of the warnings look like false positives due to atomic operations that TSAN does not understand. The list of supported operations are documented here: https://github.com/google/sanitizers/wiki/ThreadSanitizerAtomicOperations

tsan.log

alokpr avatar Apr 27 '22 00:04 alokpr