<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I see port is 5060, is it a possibility that you have
multiplexing of websocket or other protocol (http, msrp) there?</p>
<p>Can you also give the locals?</p>
<p>frame 0</p>
<p>info locals</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 05.06.17 05:19, Armen Babikyan
wrote:<br>
</div>
<blockquote
cite="mid:CAGDtNKCuBuwGhEo19H68VWajxPF1GohWewtyiwFCpY=VrpaSig@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Over the past few months, I've seen a smattering of
kamailio crashes on various systems with identical backtraces:
SIGSEGV in tcp_read_headers(), at tcp_read.c line 628. Example
here:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://pastebin.com/qJ3ypnVz">https://pastebin.com/qJ3ypnVz</a><br>
</div>
<div><br>
</div>
<div>Note that in frame 0, print *c shows that req->parsed is
pointing to an address exactly 8GB lower than req->buf.
That req->parsed is pointing to an invalid memory location,
crashing kamailio when the location is dereferenced. In other
coredumps, I see that req->parsed is pointing to an address
exactly 4GB lower than req->buf.</div>
<div><br>
</div>
<div>Other info: This is Kamailio 4.4.4 on x86_64. I've not had
success trying to reproduce this yet. Also worth noting that
the crashes seem to be consistently associated with processing
traffic from a UA connected over SIP/TCP; I've seen no other
transport associated with this crash.</div>
<div><br>
</div>
<div>Thoughts are welcome. Thanks!</div>
<div><br>
</div>
<div>Armen</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>