-
Notifications
You must be signed in to change notification settings - Fork 160
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
segfault in agent.ok() #80
Comments
Would this happen with pion/ice@v0.4.3? |
This one says, *Agent is is nil.
which is here: func (a *Agent) ok() error {
select {
case <-a.done: // <----------------------------- here
return a.getErr()
default:
}
return nil
} I can not find in pion/ice a code that sets the agent to nil. |
No sure if related but I have just saw a CI build error. I will look into this.
|
@maxhawkins Build error I saw was caused by a bug in the new pion/ice. Once it passes the review, I will tag it as v0.5.2. Hopefully, you could try it again! (see #81) |
This seems to be an issue with the caller, closing. |
Your environment.
What did you do?
I am running a load test that opens a large number of peer connections concurrently, exchanges SDPs between them, and then closes them.
What happened?
After around 40 tests, pion logged
A few seconds later it segfaulted:
The text was updated successfully, but these errors were encountered: