-
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
Core dump on eventhandlers #2352
Comments
Is this master? We fixed something on event handlers just a few days ago. |
Yes the core dump generated today was with the last commit on master (1a825c4) -- |
Without a libasan dump (and apparently it works for you with libasan active), hard to tell: the gdb stacktrace only mentions an abort on a free. Possibly something related to the json object references, but not sure if/how those can be tracked. |
Worth noting that in
it is showed that:
|
@david-goncalves anything helpful from the janus log? |
I don't think so. The only message missing from the event is the one acknowledge the success |
Unfortunately I can't replicate the issue, even with libasan disabled. |
@lminiero the line https://github.com/meetecho/janus-gateway/blob/master/plugins/janus_videoroom.c#L4936 should be "json_object_set_new(event,..." or "json_object_set_new(info,..." The coredumps that we notice are always related with talking events. |
Argh you're right, that's an ugly typo there... we're setting something on |
Just pushed, and I'll assume this fixes it. Please let me know if that's not the case. |
We are noticing some core dumps related to event handlers.
We have Janus configured with the video room plugin with talking events enabled.
After some events we have SIGABRT on json_decref(output);
The initial core dump was noticed using the rabbitmqevent module.
The gdb output could be consulted on the following link: https://pastebin.com/WA6DRQyj.
To verify if the core dump was related to rabbitmq, we decided to change the event handler to the sampleevh.
After some tests, we received another core dump now on sampleevh.
The core dump can be consulted on the following link: https://pastebin.com/Lss6LFE0.
With Address Sanitizer active, we couldn't replicate the problem.
The text was updated successfully, but these errors were encountered: