-
Notifications
You must be signed in to change notification settings - Fork 463
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
Data race on sshContext #160
Comments
Do you have sample code, or was this when running tests? Unfortunately, unless we happen to run across the same race, there's no way to debug this. Also, I just noticed that this is coming from inside an http handler, so there's a larger likelihood that it's an issue with your code somewhere. |
We haven't gotten a response in almost a week, so I'm closing this for now. Feel free to comment with more information or file a new issue and we'll do our best to address this. |
Oh I'm so sorry! This issue got lost in the "ether" for me. Can we please reopen it, and I'll get you a reproducer ASAP 👌 |
I cannot reproduce this anymore. I may have filed it in error, but nearly a year ago, so I'm not completely sure. Sorry! I ran |
This issue still persists :/ |
@aymanbagabas Where are you seeing this data race? Do you have a way of reproducing it? |
@belak I don't have a MRE right now, but I'm noticing this issue here https://github.com/charmbracelet/soft-serve/actions/runs/5535584234/jobs/10102073239?pr=337#step:4:279 |
Context may involve in a RW data race when setting and accessing a value and its done channel. Fixes: gliderlabs#160
Context may involve in a RW data race when setting and accessing a value and its done channel. Fixes: gliderlabs#160
Context may involve in a RW data race when setting and accessing a value and its done channel. Fixes: gliderlabs#160
Quote:
Real example:
|
IMO the complete fix could be like this: |
came across this data race:
The text was updated successfully, but these errors were encountered: