<p>It looks like a buffer overflow (writing more than allocating). What is the exact version you are running (kamailio -v)?</p>

<p>Before starting kamailio, run:</p>

<pre><code>ulimit -c unlimited
</code></pre>

<p>Eventually run also kamailio as root in order to get the core file.</p>

<p>If you didn't configure one core file per process, do:</p>

<pre><code>echo "1" > /proc/sys/kernel/core_uses_pid
</code></pre>

<p>Once you get core files, send the 'bt full' from gdb.</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/408#issuecomment-158943313">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZVf50fNkScqpEXrYWP6tIUe9P3blks5pIxd8gaJpZM4Gne9J.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/408#issuecomment-158943313"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>