<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Jennifer,</tt><tt><br>
    </tt><tt><br>
    </tt><tt>Do you still have the core file for investigation with GDB
      ?</tt><tt><br>
      <br>
      Also, are you 100% sure your cluster is consistent when comes to
      the ACC settings, like *all* the nodes do have exactly the same
      "extra" and "legs" sets ?<br>
    </tt><tt><br>
    </tt><tt>Best regards and A Happy New Year,</tt><br>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 12/21/2018 08:48 PM, Jennifer
      Hashimoto wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:DA6288D6-633B-4BCD-9A93-E3CBD25AE1E5@caztel.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="">Hi guys, I just updated and i’m getting segfault not
        sure why, maybe to do with dialog replication?</div>
      <div class=""><br class="">
      </div>
      <div class="">Here are the details, let me know if you could use
        more
        information.https://opensips.org/html/docs/modules/2.4.x/ldap.html</div>
      <div class=""><br class="">
      </div>
      <div class="">Thanks,</div>
      <div class="">Jen</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">version: opensips 2.4.4 (x86_64/linux)</div>
      <div class="">flags: STATS: On, DISABLE_NAGLE, USE_MCAST,
        SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div>
      <div class="">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
        262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div>
      <div class="">poll method support: poll, epoll, sigio_rt, select.</div>
      <div class="">main.c compiled on  with gcc 4.9.2</div>
      <div class=""><br class="">
      </div>
      <div class="">Dec 21 13:42:55 NFO:clusterer:handle_internal_msg:
        Node [2] is UP</div>
      <div class="">Dec 21 13:43:11 13CB78-2323 64.86.243.114 BYE from
        caz5400 <a href="sip:8198213679@64.86.243.116" class=""
          moz-do-not-send="true">sip:8198213679@64.86.243.116</a> ->
        <a href="sip:33232323434@209.58.46.142:5060" class=""
          moz-do-not-send="true">sip:33232323434@209.58.46.142:5060</a>
        bye_from=caz5400 64.86.243.116</div>
      <div class="">Dec 21 13:43:31
        NFO:load_balancer:set_dst_state_from_rplcode: disable
        destination 2 <<a href="sip:10.10.10.16" class=""
          moz-do-not-send="true">sip:10.10.10.16</a>> after 408 reply
        on probe</div>
      <div class="">Dec 21 13:43:49 19C280-2672 64.86.243.114 BYE from
        caz5400 <a href="sip:4036409658@64.86.243.116" class=""
          moz-do-not-send="true">sip:4036409658@64.86.243.116</a> ->
        <a href="sip:36205873156@209.58.46.142:5060" class=""
          moz-do-not-send="true">sip:36205873156@209.58.46.142:5060</a>
        bye_from=caz5400 64.86.243.116</div>
      <div class="">Dec 21 13:44:02 RITICAL:core:sig_usr: segfault in
        process pid: 3050, id: 61</div>
      <div class="">Dec 21 13:44:03 RITICAL:core:handle_worker: dead
        child 61 (EOF received), pid 3050</div>
      <div class="">Dec 21 13:44:03 RITICAL:core:handle_tcp_worker: dead
        tcp worker 0 (EOF received), pid 3050</div>
      <div class="">Dec 21 13:44:05 NFO:core:handle_sigs: child process
        3050 exited by a signal 11</div>
      <div class="">Dec 21 13:44:05 NFO:core:handle_sigs: core was
        generated</div>
      <div class="">Dec 21 13:44:05 NFO:core:handle_sigs: terminating
        due to SIGCHLD</div>
      <div class="">Dec 21 13:44:05 NFO:core:sig_usr: signal 15 received</div>
      <div class="">Dec 21 13:44:05 NFO:core:sig_usr: signal 15 received</div>
      <div class="">Dec 21 13:44:05 NFO:core:sig_usr: signal 15 received</div>
      <div class=""><br class="">
      </div>
      <div class="">sudo gdb /usr/sbin/opensips core</div>
      <div class="">GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1</div>
      <div class="">Copyright (C) 2014 Free Software Foundation, Inc.</div>
      <div class="">License GPLv3+: GNU GPL version 3 or later <<a
          href="http://gnu.org/licenses/gpl.html" class=""
          moz-do-not-send="true">http://gnu.org/licenses/gpl.html</a>></div>
      <div class="">This is free software: you are free to change and
        redistribute it.</div>
      <div class="">There is NO WARRANTY, to the extent permitted by
        law.  Type "show copying"</div>
      <div class="">and "show warranty" for details.</div>
      <div class="">This GDB was configured as "x86_64-linux-gnu".</div>
      <div class="">Type "show configuration" for configuration details.</div>
      <div class="">For bug reporting instructions, please see:</div>
      <div class=""><<a href="http://www.gnu.org/software/gdb/bugs/"
          class="" moz-do-not-send="true">http://www.gnu.org/software/gdb/bugs/</a>>.</div>
      <div class="">Find the GDB manual and other documentation
        resources online at:</div>
      <div class=""><<a
          href="http://www.gnu.org/software/gdb/documentation/" class=""
          moz-do-not-send="true">http://www.gnu.org/software/gdb/documentation/</a>>.</div>
      <div class="">For help, type "help".</div>
      <div class="">Type "apropos word" to search for commands related
        to "word"...</div>
      <div class="">Reading symbols from /usr/sbin/opensips...Reading
        symbols from
/usr/lib/debug/.build-id/4c/1b7823a23c3dbd2b5d0ee6392836a093740d2a.debug...done.</div>
      <div class="">done.</div>
      <div class="">[New LWP 3050]</div>
      <div class="">[Thread debugging using libthread_db enabled]</div>
      <div class="">Using host libthread_db library
        "/lib/x86_64-linux-gnu/libthread_db.so.1".</div>
      <div class="">Core was generated by `/usr/sbin/opensips -P
        /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg'.</div>
      <div class="">Program terminated with signal SIGSEGV, Segmentation
        fault.</div>
      <div class="">#0  0x00000000004bca7a in fm_free
        (qm=0x7f42afdc9000,</div>
      <div class="">    p=p@entry=0x3a6874676e654c2d) at
        mem/f_malloc.c:495</div>
      <div class="">495<span class="Apple-tab-span" style="white-space:pre">  </span>mem/f_malloc.c:
        No such file or directory.</div>
      <div class="">(gdb) bt full</div>
      <div class="">#0  0x00000000004bca7a in fm_free
        (qm=0x7f42afdc9000,</div>
      <div class="">    p=p@entry=0x3a6874676e654c2d) at
        mem/f_malloc.c:495</div>
      <div class="">        f = 0x3a6874676e654c15</div>
      <div class="">        n = <optimized out></div>
      <div class="">#1  0x00007f42aad4bb8a in shm_free
        (_p=0x3a6874676e654c2d)</div>
      <div class="">    at ../../evi/../mem/shm_mem.h:588</div>
      <div class="">No locals.</div>
      <div class="">#2  set_value_shm (pvt=pvt@entry=0x7ffe501b6e90,
        extra=0x7f42b2a94bd0)</div>
      <div class="">    at acc_vars.c:143</div>
      <div class="">        s = <optimized out></div>
      <div class="">        __FUNCTION__ = "set_value_shm"</div>
      <div class="">#3  0x00007f42aad3a85b in restore_extra_from_str (</div>
      <div class="">    tags_len=<optimized out>,
        extra_s=extra_s@entry=0x7ffe501b6f10,</div>
      <div class="">    extra_len=<optimized out>) at acc.c:1618</div>
      <div class="">        i = <optimized out></div>
      <div class="">        value = {rs = {s = 0x7f42bfe53f3f "oreB",
        len = 0},</div>
      <div class="">          ri = -1297517200, flags = 1}</div>
      <div class="">        values = 0x7f42b2a94a68</div>
      <div class="">        __FUNCTION__ = "restore_extra_from_str"</div>
      <div class="">#4  0x00007f42aad42691 in restore_extra (</div>
      <div class="">    type_str=0x7f42aaf560e0 <extra_str>,
        ctx=0x7f42b2a87ad0,</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">    dlg=0x7f42b011c258) at acc.c:1653</div>
      <div class="">        extra_len = <optimized out></div>
      <div class="">        buffer = {s = 0x7f42bfe53f3d "", len = 2}</div>
      <div class="">#5  restore_dlg_extra (dlg=0x7f42b011c258,
        ctx_p=0x7ffe501b6f80)</div>
      <div class="">    at acc.c:1729</div>
      <div class="">        ctx = 0x7f42b2a87ad0</div>
      <div class="">        __FUNCTION__ = "restore_dlg_extra"</div>
      <div class="">#6  0x00007f42aad458a3 in acc_loaded_callback
        (dlg=0x7f42b011c258,</div>
      <div class="">    type=1852132397, _params=0x1) at acc_logic.c:662</div>
      <div class="">        flags_s = {s = 0x7ffe501b6f90 "\003", len =
        8}</div>
      <div class="">        ctx_s = {s = 0x7ffe501b6fd8 "\b", len = 0}</div>
      <div class="">        table_s = {s = 0x7ffe501b6ff0
        "|\362\345\277B\177",</div>
      <div class="">          len = 1343975760}</div>
      <div class="">        created_s = {s = 0x7ffe501b6f88 "b4\035\\",
        len = 8}</div>
      <div class="">        ctx = 0x0</div>
      <div class="">        created = 1545417826</div>
      <div class="">        flags = 9570149209145347</div>
      <div class="">        __FUNCTION__ = "acc_loaded_callback"</div>
      <div class="">#7  0x00007f42aaadadcd in run_load_callback_per_dlg
        (</div>
      <div class="">    dlg=0x7f42afdc9000) at dlg_cb.c:212</div>
      <div class="">        cb = 0x7f42b01fab30</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">#8  0x00007f42aab16d27 in dlg_replicated_create (</div>
      <div class="">    packet=0x7f42afdc9000, cell=0x7f42b011c258,
        ftag=0x0,</div>
      <div class="">    ttag=0x7ffe501b7110, safe=-265519414) at
        dlg_replication.c:271</div>
      <div class="">        dir = 2863757965</div>
      <div class="">        dst_leg = 32578</div>
      <div class="">        callid = {</div>
      <div class="">          s = 0x7f42bfe5eef9 "<a
          href="mailto:2EB67E0D-48711E9-8927CE48-FE93CD99@10.10.20.22"
          class="" moz-do-not-send="true">2EB67E0D-48711E9-8927CE48-FE93CD99@10.10.20.22</a>\f",
        len = 46}</div>
      <div class="">        from_uri = {</div>
      <div class="">          s = 0x7f42bfe5ef46 "<a
          href="sip:6138245700@10.10.20.22%5C036" class=""
          moz-do-not-send="true">sip:6138245700@10.10.20.22\036</a>",</div>
      <div class="">          len = 26}</div>
      <div class="">        to_uri = {</div>
      <div class="">          s = 0x7f42bfe5ef62 "<a
          href="sip:87441189781400@10.10.20.42f%5C235j%5C033r4%5C035%5C%5C%5C003"
          class="" moz-do-not-send="true">sip:87441189781400@10.10.20.42f\235j\033r4\035\\\003</a>",
        len = 30}</div>
      <div class="">        from_tag = {s = 0x7f42bfe5ef29
        "B5B6DC0-2171\r", len = 12}</div>
      <div class="">        to_tag = {s = 0x7f42bfe5ef37
        "KjvKKDN565gee\032", len = 13}</div>
      <div class="">        cseq1 = {s = 0x7f42bfe5efba "0\003", len =
        1}</div>
      <div class="">        cseq2 = {s = 0x7f42bfe5efbd "101", len = 3}</div>
      <div class="">        contact1 = {</div>
      <div class="">          s = 0x7f42bfe5efeb "<a
          href="sip:6138245700@10.10.20.22:5060/" class=""
          moz-do-not-send="true">sip:6138245700@10.10.20.22:5060/</a>",</div>
      <div class="">          len = 31}</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">        contact2 = {</div>
      <div class="">          s = 0x7f42bfe5f00c "<a
          href="sip:441189781400@10.10.20.28:5070;transport=udp"
          class="" moz-do-not-send="true">sip:441189781400@10.10.20.28:5070;transport=udp</a>",
        len = 47}</div>
      <div class="">        rroute1 = {s = 0x0, len = 0}</div>
      <div class="">        rroute2 = {</div>
      <div class="">          s = 0x7f42bfe5efc4 "<<a
          href="sip:10.10.20.39;lr;did=06c.2f38c332" class=""
          moz-do-not-send="true">sip:10.10.20.39;lr;did=06c.2f38c332</a>>\037",
        len = 37}</div>
      <div class="">        mangled_fu = {s = 0x0, len = 0}</div>
      <div class="">        mangled_tu = {</div>
      <div class="">          s = 0x7f42bfe5f03f "<a
href="sip:441189781400@10.10.20.42%5Ct%5C002accX_table#acc_caztel%7CaccX_created#b4%5C035%5C%5C"
          class="" moz-do-not-send="true">sip:441189781400@10.10.20.42\t\002accX_table#acc_caztel|accX_created#b4\035\\</a>",
        len = 28}</div>
      <div class="">        sock = {s = 0x7f42bfe5efa4
        "udp:10.10.20.42:5060\001",</div>
      <div class="">          len = 20}</div>
      <div class="">        vars = {</div>
      <div class="">          s = 0x7f42bfe5f05d
        "accX_table#acc_caztel|accX_created#b4\035\\", len = 521}</div>
      <div class="">        profiles = {</div>
      <div class="">          s = 0x7f42bfe5f268
        "ani#6138245700|dnis#441189781400|",</div>
      <div class="">          len = 33}</div>
      <div class="">        dlg = 0x10d30f2bf</div>
      <div class="">        callee_sock = 0x0</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">        d_entry = 0x7f42b00f0948</div>
      <div class="">        __FUNCTION__ = "dlg_replicated_create"</div>
      <div class="">#9  0x00007f42aab1a76e in receive_dlg_repl
        (packet=0x7ffe501b7350)</div>
      <div class="">    at dlg_replication.c:802</div>
      <div class="">        rc = 0</div>
      <div class="">        __FUNCTION__ = "receive_dlg_repl"</div>
      <div class="">#10 0x00007f42aa8ac8b9 in bin_rcv_mod_packets
        (packet=0x7f42afdc9000,</div>
      <div class="">    packet_type=1852132397, ri=0x1,
        ptr=0x7f42bfe53f3f)</div>
      <div class="">    at clusterer.c:1972</div>
      <div class="">        cl_cap = 0x1</div>
      <div class="">        source_id = 2</div>
      <div class="">        dest_id = 1</div>
      <div class="">        cluster_id = 1</div>
      <div class="">        ev_actions_required = 0</div>
      <div class="">        __FUNCTION__ = "bin_rcv_mod_packets"</div>
      <div class="">#11 0x0000000000429197 in call_callbacks (</div>
      <div class="">    buffer=0x7ffe501b7350 "\330\356\345\277B\177",
        rcv=0x7f42b10e76a0)</div>
      <div class="">    at bin_interface.c:446</div>
      <div class="">        p = 0x7f42bfe4ca68</div>
      <div class="">        pkg_len = 3219442280</div>
      <div class="">        packet = {buffer = {s = 0x7f42bfe5eed8
        "P4CK\325\003",</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">            len = 969}, front_pointer =
        0x7f42bfe5f2a1 "\001",</div>
      <div class="">          size = 1031, type = 1, next = 0x0, src_id
        = 2}</div>
      <div class="">        __FUNCTION__ = "call_callbacks"</div>
      <div class="">#12 0x00007f42a8e72a6c in bin_handle_req (</div>
      <div class="">    _max_msg_chunks=<optimized out>,
        con=0x7f42b10e7680,</div>
      <div class="">    req=0x7f42a9076280 <bin_current_req>) at
        proto_bin.c:672</div>
      <div class="">        size = <optimized out></div>
      <div class="">#13 bin_read_req (con=0x7f42b10e7680,
        bytes_read=0x7ffe501b7450)</div>
      <div class="">    at proto_bin.c:827</div>
      <div class="">        bytes = <optimized out></div>
      <div class="">        total_bytes = 981</div>
      <div class="">        req = 0x7f42a9076280 <bin_current_req></div>
      <div class="">        __FUNCTION__ = "bin_read_req"</div>
      <div class="">#14 0x000000000051e5e7 in handle_io
        (fm=0x7f42bfe8f318, idx=0,</div>
      <div class="">    event_type=-1324452224) at
        net/net_tcp_proc.c:241</div>
      <div class="">        ret = 0</div>
      <div class="">        n = -1324452224</div>
      <div class="">        s = 7</div>
      <div class="">        resp = 0</div>
      <div class="">        response = {139924415084160, 1}</div>
      <div class="">        __FUNCTION__ = "handle_io"</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">#15 0x000000000052085f in io_wait_loop_epoll
        (h=<optimized out>,</div>
      <div class="">    t=<optimized out>, repeat=<optimized
        out>)</div>
      <div class="">    at net/../io_wait_loop.h:280</div>
      <div class="">        ep_event = {events = 5640552, data = {ptr =
        0x0, fd = 0,</div>
      <div class="">            u32 = 0, u64 = 0}}</div>
      <div class="">        r = 0</div>
      <div class="">        i = 0</div>
      <div class="">#16 tcp_worker_proc_loop () at
        net/net_tcp_proc.c:386</div>
      <div class="">        __FUNCTION__ = "tcp_worker_proc_loop"</div>
      <div class="">#17 0x000000000052911d in tcp_start_processes (</div>
      <div class="">    chd_rank=chd_rank@entry=0x7c9ea8
        <chd_rank>,</div>
      <div class="">    startup_done=startup_done@entry=0x0) at
        net/net_tcp.c:1892</div>
      <div class="">        r = 0</div>
      <div class="">        reader_fd = {230, 231}</div>
      <div class="">        pid = <optimized out></div>
      <div class="">        __FUNCTION__ = "tcp_start_processes"</div>
      <div class="">#18 0x000000000041c679 in main_loop () at main.c:788</div>
      <div class="">        startup_done = 0x0</div>
      <div class="">        chd_rank = 57</div>
      <div class="">        rc = <optimized out></div>
      <div class="">#19 main (argc=<optimized out>,
        argv=<optimized out>) at main.c:1439</div>
      <div class="">---Type <return> to continue, or q
        <return> to quit---</div>
      <div class="">        cfg_stream = <optimized out></div>
      <div class="">        c = <optimized out></div>
      <div class="">        r = <optimized out></div>
      <div class="">        tmp = 0x7ffe501b8ec3 ""</div>
      <div class="">        tmp_len = <optimized out></div>
      <div class="">        port = <optimized out></div>
      <div class="">        proto = <optimized out></div>
      <div class="">        protos_no = <optimized out></div>
      <div class="">        options = 0x55efc0
        "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:P:G:W:o:"</div>
      <div class="">        ret = -1</div>
      <div class="">        seed = 3877236842</div>
      <div class="">        __FUNCTION__ = "main"</div>
      <div class="">(gdb)</div>
      <div class="">
        <div class=""><span style="orphans: 2; widows: 2;" class="">---------------------------------------------------</span><br
            style="orphans: 2; widows: 2;" class="">
          <span style="orphans: 2; widows: 2;" class="">Jennifer Akemi
            Hashimoto</span><br style="orphans: 2; widows: 2;" class="">
          <span style="orphans: 2; widows: 2;" class="">Caztel
            Communications</span><br style="orphans: 2; widows: 2;"
            class="">
          <a href="mailto:jennifer.hashimoto@caztel.com" style="orphans:
            2; widows: 2;" class="" moz-do-not-send="true">jennifer.hashimoto@caztel.com</a><br
            style="orphans: 2; widows: 2;" class="">
          <span style="orphans: 2; widows: 2;" class="">905-836-5445 </span></div>
      </div>
      <br class="">
      <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>