<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
can you reproduce it always?<br>
<br>
If yes, looks like a buffer overflow somewhere -- recompile with
MEMDBG=1, like:<br>
<br>
make cfg MEMDBG=1 ...<br>
<br>
(add your specific compile config options as well)<br>
<br>
Then run with core parameters memdbg and memlog having values lower
than debug. Get all the log messages and send them to me (or a link
where can be downloaded).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 6/25/13 3:37 PM, Krishna Kurapati
wrote:<br>
</div>
<blockquote
cite="mid:CAOzCjAcZa9Dk5HavUdhto14vc8cRRwsmEe5_b0rSTCVJ-ujgJQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">In 4.x, Following message is crashing the
Kamailio.</div>
<div style=""><br>
</div>
<div>MESSAGE <a class="moz-txt-link-freetext" href="sip:50.62.12.174:15060;transport=udp">sip:50.62.12.174:15060;transport=udp</a> SIP/2.0..Via:
SIP/2.0/UDP
50.62.72.174:15060;branch=z9hG4bK3333.defaafa4.0..Via:
SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.cefaafa4.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174:15060;branch=z9hG4bK3333.befaafa4.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174:15060;branch=z9hG4bK3333.aefaafa4.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174:15060;branch=z9hG4bK33339efaafa4.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174:15060;branch=z9hG4bK3333.8efaafa4.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174:15060;branch=z9hG4bK3333.7efaafa4.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174;branch=z9hk4bK3333.4b488206.0..</div>
<div> Via: SIP/2.0/UDP
50.62.12.174;rport=5060;branch=z9hG4bK3333.3b488206.0..</div>
<div>To: <a moz-do-not-send="true"
href="mailto:sip%3A578626051@50.62.12.174">sip:578626051@50.62.12.174</a>..</div>
<div>From: <a moz-do-not-send="true"
href="mailto:sip%3Anotifier@abc.com">sip:notifier@abc.com</a>;tag=5571efee096a394dda7d0dffc5bb</div>
<div> 32a5-c771..CSeq: 10 MESSAGE..Call-ID:
presence-T[578626051]-R[578626051]..Max-Forwards: 9..Co</div>
<div> ntent-Length: 110..User-Agent: kamailio (4.0.1
(x86_64/linux))..Content-Type: text/html; chars</div>
<div> et=utf-8.</div>
<div><br>
</div>
<div style="">stack trace:</div>
<div style=""><br>
</div>
<div style="">
<div>#0 qm_detach_free (qm=0x2ac39d748010, size=64) at
mem/q_malloc.c:269</div>
<div>#1 qm_malloc (qm=0x2ac39d748010, size=64) at
mem/q_malloc.c:386</div>
<div>#2 0x0000000000560fa1 in parse_via (</div>
<div> buffer=0x8c6a3b "SIP/2.0/UDP
50.62.72.174:15060;branch=z9hG4bK3333.defaafa4.0\r\nVia:
SIP/2.0/UDP
50.62.72.174:15060;branch=z9hG4bK3333.cefaafa4.0\r\nVia:
SIP/2.0/UDP
50.62.72.174:15060;branch=z9hG4bK3333.befaafa4.0\r\nVia:"...,
end=0x8c6e31 "", vbody=0x2ac39d769e90)</div>
<div> at parser/parse_via.c:2540</div>
<div>#3 0x0000000000538e68 in get_hdr_field (buf=<value
optimized out>, end=0x8c6e31 "", </div>
<div> hdr=0x2ac39d7999c0) at parser/msg_parser.c:140</div>
<div>#4 0x0000000000539ac9 in parse_headers
(msg=0x2ac39d78a100, flags=2, next=<value optimized
out>)</div>
<div> at parser/msg_parser.c:351</div>
<div>#5 0x000000000053af8d in parse_msg (buf=<value
optimized out>, len=<value optimized out>, </div>
<div> msg=0x2ac39d78a100) at parser/msg_parser.c:650</div>
<div>
#6 0x000000000049a2ef in receive_msg (</div>
<div> buf=0x8c6a00 "MESSAGE
<a class="moz-txt-link-freetext" href="sip:50.62.72.174:15060;transport=udp">sip:50.62.72.174:15060;transport=udp</a> SIP/2.0\r\nVia:
SIP/2.0/UDP
50.62.72.174:15060;branch=z9hG4bK3333.defaafa4.0\r\nVia:
SIP/2.0/UDP
50.62.72.174:15060;branch=z9hG4bK3333.cefaafa4.0\r\nVia:
SIP/2.0"..., len=1073, rcv_info=0x7fffb40ab770) at
receive.c:144</div>
<div>#7 0x0000000000528666 in udp_rcv_loop () at
udp_server.c:557</div>
<div>#8 0x0000000000464daa in main_loop () at main.c:1638</div>
<div>#9 0x0000000000467adc in main (argc=<value optimized
out>, argv=<value optimized out>)</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
</body>
</html>