Hello,
can you provide 'bt full' and print the variables start_pos, end_pos and cur_etag_len in the frame 1?
Cheers, Daniel
On 4/8/13 10:23 AM, Juha Heinanen wrote:
i tested kamailio 4.0 xcap server with sipclients and got crash. should i add a tracker entry?
-- juha
(gdb) where #0 0x00007fa35ab47764 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007fa3547ff9e2 in check_match_header (body=..., etag=0x7fff50162170) at xcap_server.c:1625 #2 0x00007fa3547ff88a in check_preconditions (msg=0x7fff501631c0, etag_hdr=...) at xcap_server.c:1583 #3 0x00007fa3547f85ec in w_xcaps_put (msg=0x7fff501631c0, puri=0x7fa35a091470 "\300-\tZ\243\177", ppath=0x7fa35a091510 "\360:\tZ\243\177", pbody=0x7fa35a0915b0 " ;\tZ\243\177") at xcap_server.c:594 #4 0x000000000041bbe0 in do_action (h=0x7fff501630e0, a=0x7fa35a092f50, msg=0x7fff501631c0) at action.c:1092 #5 0x00000000004240a7 in run_actions (h=0x7fff501630e0, a=0x7fa35a092f50, msg=0x7fff501631c0) at action.c:1573 #6 0x0000000000422852 in do_action (h=0x7fff501630e0, a=0x7fa35a0aad20, msg=0x7fff501631c0) at action.c:1321 #7 0x00000000004240a7 in run_actions (h=0x7fff501630e0, a=0x7fa35a0726c0, msg=0x7fff501631c0) at action.c:1573 #8 0x00007fa3545e9355 in xhttp_process_request (orig_msg=0x7fa35a10d0d0, new_buf=0x7fa35a10e390 "PUT /xcap-root/resource-lists/users/sip:jh@test.fi/index HTTP/1.1\r\nVia: SIP/2.0/TCP 192.98.102.10:45208\r\nAccept-Encoding: identity\r\nContent-Length: 996\r\nHost: 192.98.102.10:8080\r\nUser-Agent: sipsimple"..., new_len=1290) at xhttp_mod.c:271 #9 0x00007fa3545e9b8a in xhttp_handler (msg=0x7fa35a10d0d0) at xhttp_mod.c:346 #10 0x0000000000482492 in nonsip_msg_run_hooks (msg=0x7fa35a10d0d0) at nonsip_hooks.c:125 #11 0x00000000004982c7 in receive_msg ( buf=0x7fa351da7e30 "PUT /xcap-root/resource-lists/users/sip:jh@test.fi/index HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Length: 996\r\nHost: 192.98.102.10:8080\r\nUser-Agent: sipsimple 0.34.0\r\nConnection: close\r\nIf-None-Ma"..., len=1252, rcv_info=0x7fa351da7b68) at receive.c:158 #12 0x000000000051f294 in receive_tcp_msg ( tcpbuf=0x7fa351da7e30 "PUT /xcap-root/resource-lists/users/sip:jh@test.fi/index HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Length: 996\r\nHost: 192.98.102.10:8080\r\nUser-Agent: sipsimple 0.34.0\r\nConnection: close\r\nIf-None-Ma"..., len=1252, rcv_info=0x7fa351da7b68, con=0x7fa351da7b50) at tcp_read.c:1179 #13 0x0000000000520271 in tcp_read_req (con=0x7fa351da7b50, bytes_read=0x7fff50163c20, read_flags=0x7fff50163c18) at tcp_read.c:1384 #14 0x0000000000521aa4 in handle_io (fm=0x7fa35a0fa980, events=1, idx=-1) at tcp_read.c:1614 #15 0x000000000051b0ae in io_wait_loop_epoll (h=0x8c27e0, t=2, repeat=0) at io_wait.h:1092 #16 0x0000000000522341 in tcp_receive_loop (unix_sock=20) at tcp_read.c:1725 #17 0x0000000000515e3d in tcp_init_children () at tcp_main.c:4956 #18 0x00000000004658f9 in main_loop () at main.c:1723 #19 0x0000000000468594 in main (argc=18, argv=0x7fff501640b8) at main.c:2566
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users