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

Fix a crash related to thread sanitization on variables in FPRNetworkTrace class. #13795

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

visumickey
Copy link
Contributor

@visumickey visumickey commented Oct 3, 2024

Paired with @PolinaGo on this issue to resolve it.

Fix #13581

@ncooke3
Copy link
Member

ncooke3 commented Oct 3, 2024

I'm curious if you all were able to reproduce this issue and if so, how?

@visumickey
Copy link
Contributor Author

I'm curious if you all were able to reproduce this issue and if so, how?

Unfortunately no. It is a race condition and it is very tricky to get this issue reproduced. But the change here is defensive to make sure we don't get into race conditions.

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to have actors available for this.

@visumickey visumickey merged commit 85e92b4 into main Oct 4, 2024
41 checks passed
@visumickey visumickey deleted the github_13581 branch October 4, 2024 18:14
@firebase firebase locked and limited conversation to collaborators Nov 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread Sanitizer: Data race in -[FPRNetworkTrace responseSize]
4 participants