<p>Attach <strong>kamailio syslog</strong> when crash:</p>

<h4>BEFORE_patch.syslog</h4>

<pre><code>Aug 26 13:45:42 SIP-B03 kernel: [29523793.119992] kamailio[106903]: segfault at 0 ip 00007fdc4c1e03bf sp 00007ffff51d9450 error 4 in libjson.so.0.1.0[7fdc4c1dc000+9000]
Aug 26 13:45:42 SIP-B03 /home/pkg/kamailio/sbin/kamailio[106853]: ALERT: <core> [main.c:728]: handle_sigs(): child process 106903 exited by a signal 11
</code></pre>

<h4>AFTER_patch.syslog</h4>

<pre><code>Aug 26 13:53:49 SIP-B03 /home/pkg/kamailio/sbin/kamailio[108633]: : <core> [mem/f_malloc.c:562]: fm_free(): BUG: fm_free: bad pointer 0x7fc30000000b (out of memory block!), called from jsonrpc-c: jsonrpc_io.c: free_pipe_cmd(553) - aborting
Aug 26 13:53:50 SIP-B03 /home/pkg/kamailio/sbin/kamailio[108583]: ALERT: <core> [main.c:728]: handle_sigs(): child process 108633 exited by a signal 6
</code></pre>

<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/296#issuecomment-134872654">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZYGRO9yBOgWV4JlTkIdnNxM0hDJQks5orV3xgaJpZM4Fw0dn.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/296#issuecomment-134872654"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>