Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSAN reports data races #1314

Open
alokpr opened this issue Apr 27, 2022 · 0 comments
Open

TSAN reports data races #1314

alokpr opened this issue Apr 27, 2022 · 0 comments

Comments

@alokpr
Copy link

alokpr commented Apr 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant