<p>Looks like a buffer overflow somewhere.</p>

<p>Can you recompile with memory debugging on?</p>

<p>Details at:</p>

<ul>
<li><a href="http://www.kamailio.org/wiki/tutorials/troubleshooting/memory#memory_manager_debugging">http://www.kamailio.org/wiki/tutorials/troubleshooting/memory#memory_manager_debugging</a></li>
</ul>

<p>Set also mem_safety=0 in kamailio.cfg. Try to reproduce and look at the log messages to see if there are critical operations reported there.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/212#issuecomment-112585079">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zf7yCXkx5CNV-7GE_uxL1_1AQ3acks5oUJbQgaJpZM4FEq4p.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/212#issuecomment-112585079"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>