-
Notifications
You must be signed in to change notification settings - Fork 81
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
Race condition for chunkmap access in payloadQueue #114
Comments
@cohosh Thanks for your report and the PR. You reported above that your environment was pion/sctp v1.7.5 which is supposed to have the fix. Could you please double-check if the Snowflake version experiencing the problem was actually using pion/sctp v1.7.5? (The last tag for pion/webrtc is v2.2.0 which still uses pion/sctp v1.7.4). |
Hey @enobufs I think you're right. I wasn't actually able to reproduce the bug myself using the latest version. I'm guessing this is the issue. Thanks for that! |
@cohosh Let me close this case. (If it happens with pion/[email protected], please reopen this.) |
Your environment.
What did you do?
There are more details in the ticket, but we found our application going into a CPU-intensive infinite loop. Profiling pointed us towards the
markAllToRetransmit
function in payload_queue.go: https://github.com/pion/sctp/blob/master/payload_queue.go#L163I'm not sure whether the infinite loop behaviour we saw was due to this race condition but it seems plausible.
The text was updated successfully, but these errors were encountered: