You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reads in the string conflict with a write made during the initialization. These operations should in reality be ordered due to data dependencies (note for future me: can you explain this more precisely?). But data dependencies are not part of C11 and TSan will report a race here.
To avoid this specific instance of false positive, as with other publication safety issues, the initializing writes should be un-instrumented.
The text was updated successfully, but these errors were encountered:
How to reproduce
Build with
You get reports like:
Reads in the string conflict with a write made during the initialization. These operations should in reality be ordered due to data dependencies (note for future me: can you explain this more precisely?). But data dependencies are not part of C11 and TSan will report a race here.
To avoid this specific instance of false positive, as with other publication safety issues, the initializing writes should be un-instrumented.
The text was updated successfully, but these errors were encountered: