-
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
crash in janus_videoroom_hangup_media on v0.10.3 #2318
Comments
To help meetecho fix this you should test on master and provide a libasan log
|
After doing changing the following lines (5439 and 5442) in janus_videoroom.c: The coredump can be resolved. Can you evaluate such change is correct? |
You should test on latest master. I'm not sure if your "fix" makes sense...just because it fixes the crash doesn't mean it is the proper fix. I would guess it might be fixed by the latest version of the janus_videoroom.c code, which has a fix for a similar crash. Try reverting your changes and test on latest master to see if it is resolved. |
Yes. I test against the latest master v0.10.4. Please investigating the following codes: void janus_videoroom_hangup_media(janus_plugin_session *handle) { static void janus_videoroom_hangup_media_internal(gpointer session_data) { The session_mutex might be unlocked twice. |
Yes, it looks like line line 5485 might need to be removed in janus_videoroom_hangup_media_internal:
It looks like that piece of code was missed in this refactor: 9dff2d8#diff-f302a3ccc39e037fccf44e207332553c |
@lm123 @groupboard indeed, it seems we overlooked that mutex unlock in the mentioned refactoring. |
Janus crash in function janus_videoroom_hangup_media, backtrace is liking as following:
EDIT by atoppi: @lm123 I have edited your message to format the stack trace in a code block.
Please read carefully the guidelines next time.
The text was updated successfully, but these errors were encountered: