Data race in setting the shutdown_callback #469
Labels
bug
Something isn't working
p1
This is a high priority issue
potential-regression
Marking this issue as a potential regression to be checked by team member
Describe the bug
Data race in setting the
shutdown_callback
.Appears to be introduced by #440.
Regression Issue
Expected Behavior
No data race.
Current Behavior
Data race happens (with
v0.7.0
):Reproduction Steps
Does not appear when reverting #440.
Possible Solution
The callback is set outside of the critical region. It should be set inside.
Additional Information/Context
No response
aws-c-s3 version used
v0.7.0
Compiler and version used
clang-15
Operating System and version
ubuntu 22.04
The text was updated successfully, but these errors were encountered: