<blockquote>
<p>Setting mem_safety=1 in kamailio.cfg would have prevented this particular crash, but perhaps it is still vulnerable to crash because of other pointers being invalid later.</p>
</blockquote>

<p>yes, it crashes anyway with mem_safety=1</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/676#issuecomment-226768489">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36Zfb2mvlvhAeOLqV9DJEJvDXt5Sy4ks5qMqDbgaJpZM4I4VEp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfxhteamaymjuLOU-J4YqucPQBE6ks5qMqDbgaJpZM4I4VEp.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/676#issuecomment-226768489"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>