[SR-Users] jsonrpc_exec crashes kamailio

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 1 10:44:22 CEST 2015


Hello,

can you reproduce it every time you run those commands? Or is it
happening from time to time?

If you can reproduce, set debug=3 and send all the logs to me. Also, it
would be good to set 'ulimit -c unlimited' before starting kamailio to
get a coredump which would be easier to troubleshoot.

Cheers,
Daniel

On 01/04/15 08:39, Grant Bagdasarian wrote:
>
> Hello,
>
>  
>
> Kamailio crashes when I try to execute the following jsonrpc_exec
> functions:
>
>  
>
> jsonrpc_exec('{"jsonrpc": "2.0", "method": "domain.reload", "id":
> 0}'); #domain module
>
> jsonrpc_exec('{"jsonrpc": "2.0", "method": "addressReload", "id":
> 0}'); #permissions module
>
>  
>
> This one works fine:
>
> jsonrpc_exec('{"jsonrpc": "2.0", "method": "htable.reload", "params":
> ["tablename"], "id": 0}');
>
>  
>
> Any ideas?
>
>  
>
> Running on Debian 7.8 and Kamailio 4.2.3.
>
>  
>
> Backtrace:
>
> *** glibc detected *** /usr/local/sbin/kamailio: double free or
> corruption (fasttop): 0x0000000001f1ff00 ***
>
> ======= Backtrace: =========
>
> /lib/x86_64-linux-gnu/libc.so.6(+0x75be6)[0x7f7009d50be6]
>
> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f7009d5598c]
>
> /usr/local/lib64/kamailio/modules/jsonrpc-s.so(+0x2834)[0x7f7003e12834]
>
> /usr/local/lib64/kamailio/modules/jsonrpc-s.so(+0xb59a)[0x7f7003e1b59a]
>
> /usr/local/sbin/kamailio(do_action+0x749a)[0x41fc24]
>

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150401/1eb9087c/attachment.html>


More information about the sr-users mailing list