-
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
janus crash #2277
Comments
Please get proper debugging info on master (if you're not on master, I won't look at it) |
The reproduction steps are simplified In the videoRoom, unplug the usb camera and plug it in 10 seconds later. The program crashes https://gist.github.com/648540858/c4d0ba92c840f90273c778129af43263 |
Can you print the complete value of the |
https://gist.github.com/648540858/26a602d90e5fae1bf026d0b8e27ea9e9 In order to be consistent, I uploaded error again, and the end is “answer”and “offer” |
That's not the SDP I need. You've shared the ones the browser sees, I guess (there's the WebRTC stuff in it), but it dies before that, trying to parse the SDP the plugin passed to the core (which will be a barebone one). Again, please paste the exact value that you can retrieve via gdb, navigating to step number |
I updated the content this is the
|
Just tried parsing that SDP manually:
and it works as expected. The debugger seems to say it's crashing when doing |
If the camera is not plugged in and out, Janus will work normally. It will crash only after the camera is pulled out for a period of time. This is the version of the dependency package installed glib-2.49.7 The project was built using Ubuntu 19, Other dependencies are installed using apt |
this is Other dependencies
|
I use your test code, and there is no problem in my test environment。I don't think that's the reason for the problem。 |
Try compiling with libasan: https://janus.conf.meetecho.com/docs/debug |
OK, I'll try |
This libasan dump finally provided some useful info. The above commit should fix it. |
Looking forward to your work |
The test passed. Very good. You are the best |
In the PC, the USB camera is plugged in and out several times,janus crash。
This is the log
The text was updated successfully, but these errors were encountered: