<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt>Hi Achintha,</tt></p>
    <p><tt>If you are using usrloc with DB persistence and you reloaded
        / restarted your OpenSIPS, this is a known issue (ticket #1094
        [1]). The logs look almost identical - let me know if this is
        not the case, and we'll take a better look at it.</tt></p>
    <p><tt>Regards,<br>
      </tt></p>
    <p><tt>[1]: <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/1094">https://github.com/OpenSIPS/opensips/issues/1094</a><br>
      </tt></p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a></pre>
    <div class="moz-cite-prefix">On 21.04.2017 14:03, Achintha wrote:<br>
    </div>
    <blockquote
cite="mid:CA+Jwzxt+MWWegEx+s9KWV9QxVUce6xSLxnvp_=4v6eGc31zVhg@mail.gmail.com"
      type="cite">
      <div dir="ltr">hi all,
        <div><br>
        </div>
        <div>i configured opensips 2.3 beta on centos 7</div>
        <div>then i configured mid-registrar module and freeswitch
          server as main registrar.</div>
        <div><br>
        </div>
        <div>first user registered properly but opensips is crashed when
          second user registration with following console-log</div>
        <div><br>
        </div>
        <div>--------</div>
        <div>
          <div>Apr 21 08:29:41 [17198] DBG:core:udp_read_req: probing
            packet received len = 4</div>
          <div>Apr 21 08:30:11 [17198] DBG:core:udp_read_req: probing
            packet received len = 4</div>
          <div>Apr 21 08:30:32 [17204] DBG:usrloc:run_ul_callbacks:
            contact=0x7f84670f1448, callback type 8/13, id 0 entered</div>
          <div>Apr 21 08:30:32 [17204]
            DBG:mid_registrar:mid_reg_ct_event: Contact callback (8):
            contact='<a class="moz-txt-link-abbreviated" href="mailto:sip:agent6@124.43.84.213:33483;rinstance=99a97045756effbc">sip:agent6@124.43.84.213:33483;rinstance=99a97045756effbc</a>'
            | param=(0x7f84670f1578 -> (nil)) | data[0]=((nil))</div>
          <div>Apr 21 08:30:32 [17191] DBG:core:handle_sigs: status =
            139</div>
          <div>Apr 21 08:30:32 [17191] <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: child
            process 17204 exited by a signal 11</div>
          <div>Apr 21 08:30:32 [17191] <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: core was
            generated</div>
          <div>Apr 21 08:30:32 [17191] <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>:
            terminating due to SIGCHLD</div>
          <div>Apr 21 08:30:32 [17203] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17202] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17201] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17200] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17199] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17198] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17197] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17196] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17195] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17194] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17193] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17192] <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
            received</div>
          <div>Apr 21 08:30:32 [17191] <a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup</div>
          <div>Apr 21 08:30:32 [17191] NOTICE:event_route:destroy:
            destroy module ...</div>
          <div>Apr 21 08:30:32 [17191] DBG:core:pool_remove: connection
            still kept in the pool</div>
          <div>Apr 21 08:30:32 [17191] DBG:usrloc:run_ul_callbacks:
            contact=0x7f84670f1448, callback type 8/13, id 0 entered</div>
          <div>Apr 21 08:30:32 [17191]
            DBG:mid_registrar:mid_reg_ct_event: Contact callback (8):
            contact='<a class="moz-txt-link-abbreviated" href="mailto:sip:agent6@124.43.84.213:33483;rinstance=99a97045756effbc">sip:agent6@124.43.84.213:33483;rinstance=99a97045756effbc</a>'
            | param=(0x7f84670f1578 -> (nil)) | data[0]=((nil))</div>
        </div>
        <div><br>
        </div>
        <div>--------</div>
        <div><br>
        </div>
        <div>then i open core.dump file as follows</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>gdb /core.13220<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7</div>
          <div>Copyright (C) 2013 Free Software Foundation, Inc.</div>
          <div>License GPLv3+: GNU GPL version 3 or later <<a
              moz-do-not-send="true"
              href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></div>
          <div>This is free software: you are free to change and
            redistribute it.</div>
          <div>There is NO WARRANTY, to the extent permitted by law. 
            Type "show copying"</div>
          <div>and "show warranty" for details.</div>
          <div>This GDB was configured as "x86_64-redhat-linux-gnu".</div>
          <div>For bug reporting instructions, please see:</div>
          <div><<a moz-do-not-send="true"
              href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...</div>
          <div>[New LWP 13220]</div>
          <div>Reading symbols from /usr/sbin/opensips...Reading symbols
            from /usr/lib/debug/usr/sbin/opensips.debug...done.</div>
          <div>done.</div>
          <div>Missing separate debuginfo for</div>
          <div>Try: yum --enablerepo='*debug*' install
            /usr/lib/debug/.build-id/a5/a5fdc4da1088f91746c38a0fc43583eb415ee1</div>
          <div>[Thread debugging using libthread_db enabled]</div>
          <div>Using host libthread_db library
            "/lib64/libthread_db.so.1".</div>
          <div>Core was generated by `opensips'.</div>
          <div>Program terminated with signal 11, Segmentation fault.</div>
          <div>#0  crcitt_string_array (dst=dst@entry=0x7fcf31ded9e1
            <from_tag+33> "", src=src@entry=0x90,
            size=size@entry=1) at crc.c:225</div>
          <div>225                     len=src[i].len;</div>
          <div>Missing separate debuginfos, use: debuginfo-install
            cyrus-sasl-lib-2.1.26-20.el7_2.x86_64
            glibc-2.17-157.el7_3.1.x86_64
            keyutils-libs-1.5.8-3.el7.x86_64
            krb5-libs-1.14.1-27.el7_3.x86_64
            libcom_err-1.42.9-9.el7.x86_64
            libcurl-7.29.0-35.el7.centos.x86_64
            libgcc-4.8.5-11.el7.x86_64 libidn-1.28-4.el7.x86_64
            librabbitmq-0.5.2-1.el7.x86_64 libselinux-2.5-6.el7.x86_64
            libssh2-1.4.3-10.el7_2.1.x86_64 nspr-4.13.1-1.0.el7_3.x86_64
            nss-3.28.2-1.6.el7_3.x86_64
            nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64
            nss-util-3.28.2-1.1.el7_3.x86_64
            openldap-2.4.40-13.el7.x86_64
            openssl-libs-1.0.1e-60.el7_3.1.x86_64
            pcre-8.32-15.el7_2.1.x86_64
            postgresql-libs-9.2.18-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64</div>
          <div>(gdb)</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>---</div>
        <div>please help me to solve this issue</div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">Best Regards..<br>
            Achintha <br>
          </div>
          <div class="gmail_signature"><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>