[SR-Users] xmlrpc crash

Daniel-Constantin Mierla miconda at gmail.com
Mon May 2 09:26:10 CEST 2016


Hello,

do you get any error messages in the logs or error code in the xmlrpc reply?

In frame 2 the msg structure is NULL, should be the associated sip-http
request.

Cheers,
Daniel

On 01/05/16 15:48, Juha Heinanen wrote:
> i was sending some xmlrpc requests to kamailio and got crash.
>
> -- juha
>
> (gdb) where
> #0  0x00007f9c465da634 in __GI___libc_free (mem=0x17828c0) at malloc.c:2945
> #1  0x00007f9c39e0b797 in collect_garbage () at xmlrpc.c:741
> #2  0x00007f9c39e12669 in dispatch_rpc (msg=0x0, s1=0x17828b0 "ams", s2=0x7f9c46903628 <main_arena+8> "`\352w\001")
>     at xmlrpc.c:2440
> #3  0x000000000053c2c0 in do_action (h=0x7ffd17c562d0, a=0x7f9c46355c28, msg=0x7ffd17c563b0) at action.c:1060
> #4  0x000000000053ad85 in run_actions (h=0x7f9c46903620 <main_arena>, a=0x17828b0, msg=0x7f9c46903628 <main_arena+8>)
>     at action.c:1549
> #5  0x00007f9c39e0d04b in em_receive_request (orig_msg=0x7f9c45cc43e8, new_buf=0x0, new_len=24651952) at xmlrpc.c:2303
> #6  0x00007f9c39e14034 in process_xmlrpc (msg=0x7f9c45cc43e8) at xmlrpc.c:2385
> #7  0x00000000004fdce3 in nonsip_msg_run_hooks (msg=0x7f9c45cc43e8) at nonsip_hooks.c:111
> #8  0x0000000000549610 in receive_msg (buf=0x0, len=1171014632, rcv_info=0x7f9c3e4b0110) at receive.c:188
> #9  0x00000000005cb97a in tcp_read_req (con=0x7f9c3e4b00f8, bytes_read=0x7ffd17c56e64, read_flags=0x7ffd17c56e68)
>     at tcp_read.c:1418
> #10 0x00000000005d0293 in handle_io (fm=0x7f9c3e4b00f8, events=10416, idx=-1) at tcp_read.c:1611
> #11 0x00000000005d6bce in io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at io_wait.h:1061
> #12 tcp_receive_loop (unix_sock=1183856160) at tcp_read.c:1781
> #13 0x00000000004d9df7 in tcp_init_children () at tcp_main.c:4788
> #14 0x000000000050736f in main_loop () at main.c:1690
> #15 0x000000000041cdbc in main (argc=0, argv=0x0) at main.c:2616
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com

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


More information about the sr-users mailing list