<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the first frames of the backtrace don't have the symbol table, do
    have other core files from where you can extract the bt full?<br>
    <br>
    Also, 4.2.3 is old in its series, newer versions in branch 4.2 were
    released. Can you update the latest version in branch 4.2 and
    reproduce again? That will rule out is not a side effect of an issue
    fixed after 4.2.3. You don't need to change anything in config or
    database, just grab the latest sources from branch 4.3 and install
    over the old binaries.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 08/09/15 07:58, Jack Wang wrote:<br>
    </div>
    <blockquote
cite="mid:CAJwNTARyu3HCArM4BMpMu8yk7pRWM2xwgmqZfJcOiAAr6j8h9A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>The result of 'kamailio -v' is:</div>
        <div><br>
        </div>
        <div>
          <div>version: kamailio 4.2.3 (arm/linux) 87ca6e-dirty</div>
          <div>
            <div>flags: STATS: Off, EXTRA_DEBUG, USE_TCP, USE_TLS,
              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, USE_PTHREAD_MUTEX, USE_DNS_CACHE,
              USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
              HAVE_RESOLV_RES</div>
            <div>MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
              MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB</div>
            <div>poll method support: poll, epoll_lt, epoll_et,
              sigio_rt, select.</div>
            <div>id: 87ca6e -dirty</div>
            <div>compiled on 16:15:00 Sep  4 2015 with
              arm-marvell-linux-gnueabi-gcc</div>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>It can be reproduced not only once, steps like wrote
          before.</div>
        <div><br>
        </div>
        <div>Following link is the result of `bt full` from the core
          file generated:</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="https://gist.github.com/BroWater/dd759897f4b88672720a#file-gistfile1-txt">https://gist.github.com/BroWater/dd759897f4b88672720a#file-gistfile1-txt</a><br>
        </div>
        <div><br>
        </div>
        <div>FYI</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>>Hello,</div>
          <div>></div>
          <div>>can you give the exact version: kamailio -v?</div>
          <div>></div>
          <div>>Also, the log message indicates that a core file was
            generated, sent the</div>
          <div>>backtrace taken from gdb:</div>
          <div>></div>
          <div>>gdb /path/to/kamailio /path/to/corefile</div>
          <div>>bt full</div>
          <div>></div>
          <div>>Could you reproduce the issue, or did it happen only
            once?</div>
          <div>></div>
          <div>>Cheers,</div>
          <div>>Daniel</div>
          <div>></div>
          <div>>On 03/09/15 04:50, Jack Wang wrote:</div>
          <div>>></div>
          <div>>> [Steps]</div>
          <div>>></div>
          <div>>> 1. one MCU call multi-endpoints </div>
          <div>>> 2. MCU hangup all endpoints</div>
          <div>>></div>
          <div>>> repeatedly. And all through Kamailio proxy.</div>
          <div>>></div>
          <div>>> [Results]</div>
          <div>>></div>
          <div>>> For a while, Kamailio crashed.</div>
          <div>>></div>
          <div>>> Followings are related logs:</div>
          <div>>></div>
          <div>>></div>
          <div>>> ==========================================</div>
          <div>>></div>
          <div>>> Sep  2 19:08:34 ./kamailio[3712]: : tm
            [t_fwd.c:1632]:</div>
          <div>>> t_send_branch(): BUG: t_send_branch: retr.
            already started for 0x41848fa0</div>
          <div>>> Sep  2 19:08:34 ./kamailio[3712]: ERROR: sl
            [sl_funcs.c:387]:</div>
          <div>>> sl_reply_error(): ERROR: sl_reply_error used:
            Unfortunately error on</div>
          <div>>> sending to next hop occurred (477/SL)</div>
          <div>>></div>
          <div>>> At this point the related behavior is that
            Kamailio received two INFO</div>
          <div>>> requests simultaneously. I wonder whether this
            is the cause.</div>
          <div>>> And maybe it's related to the later crash?</div>
          <div>>></div>
          <div>>> Sep  2 19:08:35 ./kamailio[3713]: CRITICAL:
            <core> [pass_fd.c:293]:</div>
          <div>>> receive_fd(): EOF on 11</div>
          <div>>> Sep  2 19:08:35 ./kamailio[3703]: ALERT:
            <core> [main.c:784]:</div>
          <div>>> handle_sigs(): child process 3704 exited by a
            signal 11</div>
          <div>>> Sep  2 19:08:35 ./kamailio[3703]: ALERT:
            <core> [main.c:787]:</div>
          <div>>> handle_sigs(): core was generated</div>
          <div>>> Sep  2 19:08:35 ./kamailio[3703]: : <core>
            [mem/f_malloc.c:586]:</div>
          <div>>> fm_free(): BUG: fm_free: bad pointer 0x7239b6c4
            (out of memory</div>
          <div>>> block!), called from tm: h_table.c:
            free_cell(157) - aborting</div>
          <div>>></div>
          <div>>></div>
          <div>>> Any suggestions?</div>
          <div>>></div>
          <div>>> Thanks.</div>
          <div>>></div>
          <div>>> ==========================================</div>
          <div>>></div>
          <div>>></div>
          <div>>> _______________________________________________</div>
          <div>>> SIP Express Router (SER) and Kamailio (OpenSER)
            - sr-users mailing list</div>
          <div>>> sr-users at <a moz-do-not-send="true"
              href="http://lists.sip-router.org">lists.sip-router.org</a></div>
          <div>>> <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
  </body>
</html>