<div dir="ltr">I have done again the trace and obtained 2 core dumps:<div><br></div><div>Here is the second:</div><div><p style="margin:0px;font-size:11px;font-family:Menlo">Core was generated by `kamailio -f /etc/kamailio/kamailio.cfg -w /tmp'.</p><p style="margin:0px;font-size:11px;font-family:Menlo">Program terminated with signal SIGSEGV, Segmentation fault.</p><p style="margin:0px;font-size:11px;font-family:Menlo">#0  0x0000000000000264 in ?? ()</p><p style="margin:0px;font-size:11px;font-family:Menlo">(gdb) bt full</p><p style="margin:0px;font-size:11px;font-family:Menlo">#0  0x0000000000000264 in ?? ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#1  0x00007fac88d39ebb in free_faked_req () from /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#2  0x00007fac88d3a1e7 in run_failure_handlers () from /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#3  0x00007fac88d3bf59 in ?? () from /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#4  0x00007fac88d43105 in relay_reply () from /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#5  0x00007fac88d4764b in reply_received () from /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#6  0x00000000004fbfee in ?? ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#7  0x000000000054074c in receive_msg ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#8  0x00000000005b806b in tcp_read_req ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#9  0x00000000005bb704 in ?? ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#10 0x00000000005c191a in tcp_receive_loop ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#11 0x00000000004d3447 in tcp_init_children ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#12 0x0000000000506863 in main_loop ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p></span><p style="margin:0px;font-size:11px;font-family:Menlo">#13 0x000000000041b944 in main ()</p><span class="im" style="font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo"></p><p style="margin:0px;font-size:11px;font-family:Menlo">No symbol table info available.</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p></span><p style="margin:0px;font-size:11px;font-family:Menlo">The scenario is to call a remote which is started. After starting the regisration, the call is presented, then kill the app,  then started again, call is presented, wait while ringing....</p><p style="margin:0px;font-size:11px;font-family:Menlo"> After a few times, kamailio crashs.</p></div><div><br></div><div>(sent to mailing list now)</div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-09 17:20 GMT+02:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    This is during shut down clean up. Have you stopped kamailio
    manually? If not, aave you got more than one core file? If not,
    enable one core file per process.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 09/09/15 17:03, Thibault Gueslin
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <p style="margin:0px;font-size:11px;font-family:Menlo">It seems
          related to tsilo module and tm module:</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
        </p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#0 
          0x00007f6a7c8978f5 in lock_entry () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tsilo.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
        </p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#0 
          0x00007f6a7c8978f5 in lock_entry () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tsilo.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">(gdb) bt
          full</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#0 
          0x00007f6a7c8978f5 in lock_entry () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tsilo.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#1 
          0x00007f6a7c89d185 in ts_onreply () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tsilo.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#2 
          0x00007f6a7f688f67 in run_trans_callbacks_internal () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#3 
          0x00007f6a7f68921e in run_trans_callbacks () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#4 
          0x00007f6a7f6043e0 in free_cell () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#5 
          0x00007f6a7f605c58 in free_hash_table () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#6 
          0x00007f6a7f67f9a1 in tm_shutdown () from
          /usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#7 
          0x0000000000509142 in destroy_modules ()</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#8 
          0x00000000004ff559 in cleanup ()</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#9 
          0x00000000005004e8 in ?? ()</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#10
          0x00000000005023cb in handle_sigs ()</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#11
          0x0000000000506a3e in main_loop ()</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">#12
          0x000000000041b944 in main ()</p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">
        </p>
        <p style="margin:0px;font-size:11px;font-family:Menlo">No symbol
          table info available.</p>
        <div><br>
        </div>
        <div>
          <p style="margin:0px;font-size:11px;font-family:Menlo">version:
            kamailio 4.3.1 (x86_64/linux) </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">flags:
            STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS,
            USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
            SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC,
            USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
            USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
            HAVE_RESOLV_RES</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">ADAPTIVE_WAIT_LOOPS=1024,
            MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE
            1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">poll
            method support: poll, epoll_lt, epoll_et, sigio_rt, select.</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">id:
            unknown </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">compiled
            with gcc 4.9.2</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
          </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">I have
            seen some commits related to tm module after release 4.3.1</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
          </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">Should
            it work better in 4.3.2 ?</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
          </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">Regards</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
          </p>
          <p style="margin:0px;font-size:11px;font-family:Menlo">thibault</p>
          <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
          </p>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-09-09 14:26 GMT+02:00
          Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank"></a><a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              do you get other error messages in syslog before the one
              "CRITICAL: ..."?<br>
              <br>
              It is hard to say it is from something already known or
              new. Right now there is an open issue for saving dialog
              variables in database that was not yet sorted out. Another
              one related to tm and memory manager, reported after
              4.3.1, got a safety fix. Apart of these two, I don't
              remember any active crash report for the moment.<br>
              <br>
              If you get it very often, then it should be easy to catch
              and troubleshoot properly. Can you run it so it generates
              a core file?<br>
              <br>
              The easiest way is to run it as root, with 'ulimit -c
              unlimited' executed before starting kamailio.<br>
              <br>
              Can you share what operating system are you using and
              exact version of kamailio (output of kamailio -v)?<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div><br>
                  <br>
                  <div>On 09/09/15 12:15, Thibault Gueslin wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">After upgrading to kamailio 4.3.1 and
                      modifying the config, I get this crash very often:
                      <div>...</div>
                      <div>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">CRITICAL:

                          <core> [pass_fd.c:275]: receive_fd():
                          EOF on 21</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">ALERT:

                          <core> [main.c:728]: handle_sigs():
                          child process 9341 exited by a signal 11</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">ALERT:

                          <core> [main.c:731]: handle_sigs(): core
                          was not generated</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">INFO:

                          <core> [main.c:743]: handle_sigs():
                          terminating due to SIGCHLD</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">INFO:

                          <core> [main.c:794]: sig_usr(): signal
                          15 received</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">INFO:

                          <core> [main.c:794]: sig_usr(): signal
                          15 received</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">INFO:

                          <core> [main.c:794]: sig_usr(): signal
                          15 received</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">...</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
                        </p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">Is
                          it known ? or may be related to my config ?</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
                        </p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">Thank

                          you</p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo"><br>
                        </p>
                        <p style="margin:0px;font-size:11px;font-family:Menlo">Thibault </p>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span><font color="#888888">
</font></span></pre>
                <span><font color="#888888"> </font></span></blockquote>
              <span><font color="#888888"> <br>
                  <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a></pre>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a></pre>
  </div></div></div>

</blockquote></div><br></div></div>