Data race when getting Meter from MeterProvider #3072
Labels
bug
Something isn't working
Stale
triage/not-reproducible
Indicates an issue can not be reproduced as described.
Describe your environment
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
opentelemetry-cpp 1.8.3#6
Same behaviour on latest too.
Steps to reproduce
What is the expected behavior?
I expect that thread sanitizer reports no warnings.
What is the actual behavior?
Getting to data races on shared ptr when calling provider->GetMeter("default")
Additional context
When setting the GlobalProvider there are no warnings, but when accessing through the provider directly it does. I don't know if I'm doing something wrong or if it is an internal bug from the SDK, if you could help me I would appreciate it!
The text was updated successfully, but these errors were encountered: