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 · 1 comment
Open

TSAN reports data races #1314

alokpr opened this issue Apr 27, 2022 · 1 comment

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

@mjpt777
Copy link
Contributor

mjpt777 commented Jun 3, 2024

We do not wish to bring in the C++ runtime to Aeron when being compiled as C code. If you wish to submit a PR for home grown wrappers then we would be happy to review it.

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

2 participants