<p>Just some updates. </p>

<p>The "out of bounds" problems in the above trace are caused by pointers not being initialized properly, containing random values, We added the following lines before the pointers are being used.</p>

<pre><code>memset(keywords, 0,(sizeof(char *) * 10));
memset(values, 0,(sizeof(char *) * 10)); 
memset(to, 0, (sizeof(char) * 16)); 
</code></pre>

<p>This seems to get rid of the "out of bounds" in the trace.<br>
However, we still see intermittent core dump with the some of the forked child processes. When the core dump happens, netstats shows the tls connection for the child processes in time_wait state. After some time, those connections seem to be recover to established state. If a call is handled by the dead child, it will fail, But other calls still go through. The dead child would produce a core dump file. </p>

<p>Hope the experts here can provide some insights on what we should try next.</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/292#issuecomment-133043682">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZTIkqHotswCOBvVfBxq8JuvAqoAFks5opeTegaJpZM4Ft36B.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/292#issuecomment-133043682"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>