-
Notifications
You must be signed in to change notification settings - Fork 909
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
Warnings emitted when calling functions from dialplan module #3851
Comments
Is there any indication if this is a functional problem, or just a case of logging that should be reduced - I'm trying to gauge if I should hold off before upgrading. |
It is a warning, which should not be reduced or silenced. The memory manager emits this warning because its not used correctly, e.g. in the example above a free(0) was called. It should be investigated in the module. Its only warning level, so it might be not a serious issue. |
I was able to "get around" that warning by changing the memory manager. Not sure if this is the correct solution/workaround, but having the constant warnings in the logs seems wrong. I added Any downside to this change? |
Well, the issue is still there, the other memory manager just did not log a warning message for it. I personally would not recommend to switch to a much less used memory manager which might cause unknown issues for your workload just for getting rid of a few warnings. As said already, the issue needs to be analyzed in the dialplan module and fixed there. If you are annoyed from the warnings, just increase the log level to ERROR level for now. |
Description
Calling functions from the
dialplan
module in 5.8 (dp_translate()
,dp_match()
) results in the following line being logged:Is this a functional problem, or just a case of overly aggressive logging?
Troubleshooting
Reproduction
Reproducible with the following kamailio config:
The warning log is issued in 5.8 but not 5.7. Reproduced by sending a request with SIPp:
Possible Solutions
Not sure if this is just a case of logging being overly aggressive, or an issue with the module's memory management.
Additional Information
kamailio -v
Tested using docker
debian:12-slim
using the official packages fromhttp://deb.kamailio.org/kamailio58
Docker debian:12-slim, but also observed in Alpine Linux/
The text was updated successfully, but these errors were encountered: