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:
https://github.com/kamailio/kamailio/issues/1900#issuecomment-475218993