-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 when user disconnects #54
Comments
Please provide info on what is being negotiated (SDPs). I'll have a 2014-08-12 15:44 GMT+02:00, nschoe notifications@github.com:
|
I'm using the same technique as the echotest, i.e. sending back the offer as an answer, because my browser talks directly to a server, not to another browser.
Note that it comes from Firefox. |
In my plugin, each time the user refreshes the page (hits
F5
,CMD + R
) or exit the page (CTRL
/CMD + W
) Janus segfaults.I haven't been able to reproduce the bug easily in the echotest plugin, so I can't be entirely sure this doesn't come from me.
Here is gdb's output using
bt
:Always finishing with that
Destroying SCTP association
. I went on dtls.c, and replaced line 496 and 497 :with :
And it works. I don't have any segfault when the user refreshes or quits the page. But I wonder if this is a dirty fix or if the NULL check was indeed needed. I wonder why this doesn't happen with the echo test.
The text was updated successfully, but these errors were encountered: