-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
ThreadSanitizer: data race in HeaderMapImpl with libc++ #7927
Labels
Comments
Looks like a
I guess apply this similar to other places should fix them, and guessing #7928 is similar too. |
@PiotrSikora can you take a stab on this? I don't have bandwidth to do a full fix this week. |
PiotrSikora
added a commit
to PiotrSikora/envoy
that referenced
this issue
Aug 15, 2019
Fixes envoyproxy#7927. Signed-off-by: Piotr Sikora <[email protected]>
lizan
pushed a commit
that referenced
this issue
Aug 19, 2019
Fixes #7927. Risk Level: low (test only) Signed-off-by: Piotr Sikora <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
There is a data race in
HeaderMapImpl
that's reported only when linking TSan with libc++.Repro steps:
bazel test --config=clang-tsan --config=libc++ //test/...
Note that the data race is not reported when compiled with
-c opt
.Logs:
The test results are a bit flaky, so this varies from run to run, but this is a sample list of tests that fail because of this failure:
Call Stack:
cc @lizan
The text was updated successfully, but these errors were encountered: