[sr-dev] [tracker] Task opened: xcap_server crash

sip-router bugtracker at sip-router.org
Tue Apr 9 07:11:47 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Juha Heinanen (jh) 

Attached to Project - sip-router
Summary - xcap_server crash
Task Type - Bug Report
Category - Module
Status - New
Assigned To - 
Operating System - All
Severity - High
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - when sipsimple client sends put request to xcap_server, kamailio crashes like this:

(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 at 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 at 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 at 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




More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=283

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list