[SR-Users] JSONRPC-S and async RPC commands

Daniel-Constantin Mierla miconda at gmail.com
Sat Aug 18 09:31:09 CEST 2018


I just pushed a commit in master branch, hopefully is fixing the issue
-- let me know the results and if ok, it will be backported.

Cheers,
Daniel


On 17.08.18 14:59, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> Get couple of more details from gdb:
> Below, Juha
>
> (gdb) frame 0
> #0  0x00007ff1ec5e6cf9 in jsonrpc_send (ctx=0x7ff1e27066c8) at jsonrpcs_mod.c:390
> 390	in jsonrpcs_mod.c
> (gdb) list
> 385	in jsonrpcs_mod.c
> (gdb) info locals
> nj = 0x0
> i = -630111740
> rbuf = {s = 0x3 <error: Cannot access memory at address 0x3>, len = -187033216}
> __func__ = "jsonrpc_send"
> (gdb) p *ctx
> $1 = {msg = 0x7ff1e270d170, msg_shm_block_size = 3024, method = 0x0, flags = 257, jreq = 0x0, req_node = 0x0, jrpl = 0x560edbc8ea20, 
>   rpl_node = 0x0, reply_sent = 1, error_code = 0, error_text = {s = 0x0, len = 0}, http_code = 200, http_text = {s = 0x7ff1ec607b1d "OK", 
>     len = 2}, transport = 1}
> (gdb) p *ctx->jreq
> Cannot access memory at address 0x0
> (gdb) p *ctx->jrpl
> $2 = {root = 0x560edbc8f380, flags = 0, buf = {s = 0x0, len = 0}, malloc_fn = 0x7ff1f4ceef10 <__GI___libc_malloc>, 
>   free_fn = 0x7ff1f4cef510 <__GI___libc_free>}

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com




More information about the sr-users mailing list