[sr-dev] [tracker] Task opened: Crash in TCP Read on Kamailio 4.0.1 (Attachment added)

sip-router bugtracker at sip-router.org
Thu Nov 7 01:05:19 CET 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Josh (JoshE) 

Attached to Project - sip-router
Summary - Crash in TCP Read on Kamailio 4.0.1
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - I am seeing a crash in TCP Read using the HTTP module.  Here's the backtrace:

(gdb) 
#0  qm_detach_free (frag=0x7f7556ce5640, qm=<optimized out>) at mem/q_malloc.c:269
#1  qm_malloc (qm=0x7f7556b1c010, size=64) at mem/q_malloc.c:386
#2  0x000000000059515e in parse_headers (msg=0x7f7556bb7eb0, flags=<optimized out>, next=<optimized out>) at parser/msg_parser.c:343
#3  parse_msg (buf=<optimized out>, len=<optimized out>, msg=0x7f7556bb7eb0) at parser/msg_parser.c:650
#4  0x0000000000501b2c in receive_msg (
    buf=0x7f75501f98e8 "POST /RPC2 HTTP/1.1\r\nHost: ord-proxy-1.domain.com\r\nUser-Agent: Httpful/0.1.7 (cURL/7.21.7 PHP/5.4.14 (Linux) nginx/1.4.3 Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0))\r\n"..., len=418, rcv_info=0x7f75501f9618) at receive.c:144
#5  0x000000000054b652 in tcp_read_req (con=0x7f75501f9600, bytes_read=0x7fffbf8bcc50, read_flags=0x7fffbf8bcc60) at tcp_read.c:1398
#6  0x000000000054c7a3 in handle_io (fm=<optimized out>, events=<optimized out>, idx=<optimized out>) at tcp_read.c:1570
#7  0x000000000054f78a in io_wait_loop_epoll (repeat=<optimized out>, h=<optimized out>, t=<optimized out>) at io_wait.h:1092
#8  tcp_receive_loop (unix_sock=<optimized out>) at tcp_read.c:1739
#9  0x0000000000489862 in tcp_init_children () at tcp_main.c:4969
#10 0x00000000004c1866 in main_loop () at main.c:1723
#11 0x000000000041b5d6 in main (argc=<optimized out>, argv=<optimized out>) at main.c:2566


Full backtrace is attached.

Has anyone run across this before?

One or more files have been attached.

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

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