[sr-dev] [kamailio/kamailio] usrloc: core dump (#1900)

Daniel-Constantin Mierla notifications at github.com
Thu Mar 21 14:00:18 CET 2019

Can you try with the patch referenced above? For now it is only in master branch, if solves it, then I will backport.

The patch is with safety checks for db result to avoid a crash. Code in 4.4, 5.0 and even master is pretty much the same for this rpc function, so I guess is rather a matter of getting mysql out of sync, than the version of kamailio. You are sending rpc commands at high rate in a loop in shell, many of the rpc commands were designed more for human/admin interaction, not considering high rate processing. I haven't developed the db rpc function in usrloc, never used them before, so I am not sure about their purpose. They are also restricted to sql backends, using raw query internally, something that is not recommended to be done in C code.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190321/cb7a9c2c/attachment.html>

More information about the sr-dev mailing list