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
Kamailio 5.0.3 segfault (in redis module?) #1342
Comments
Just to get the lines of code, because branch 5.0 got more commits, as well as the values for cmd parameter, do:
Then, can you share how you use |
This is the output:
This is how we call
Thanks for looking into it. |
What is supposed to be inside My guess is that the crash happens because the
Does the value of |
- check if %s or %d is part of the command, because it makes the redis api expect more params to the commands and can crash if none is found - reported by GH #1342
I pushed a patch trying to catch such situation. If you are not sure that the cmd parameter has or not
|
Okay, I wasn't aware of that syntax. But of course it is stated in the documentation. The string we have in $vn(variable2) is data which is reduced by protobuf, so the %s is probably really in there. I have now changed the command to how you suggested it, so far I don't see a difference in ngrep output. Thanks for the quick reply. |
Description
We have a Kamailio running with a sipcapture module, then handling everything in app_lua and writing some information to a redis server. This Kamailio crashed after running for about a day.
Troubleshooting
Debugging Data
This is the gdb output of bt full:
Log Messages
The log didn't say anything except this line:
Additional Information
kamailio -v
Kamailio is running on a Debian Jessie system.
The text was updated successfully, but these errors were encountered: