<div dir="ltr">Dear Daniel,<br><br>We are using the tarball version 3.1.0...Do you think this is fixed in git 3.1.0 or have to wait till 3.1.1?<br><br>Regards<br><br><div class="gmail_quote">On Thu, Nov 25, 2010 at 1:07 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    this seems to me like something already fixed after 3.1.0. You
    haven&#39;t said what version are you running, is it git stable branch
    or tarball?<br>
    <br>
    Cheers,<br><font color="#888888">
    Daniel</font><div><div></div><div class="h5"><br>
    <br>
    On 11/25/10 10:05 AM, michel freiha wrote:
    <blockquote type="cite">
      <div dir="ltr">hello Daniel...thanks for replying...Please find
        below the core file content<br>
        <br>
        [root@tunnel bin]# gdb /usr/local/sbin/kamailio core.19935<br>
        GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)<br>
        Copyright (C) 2009 Free Software Foundation, Inc.<br>
        License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>&gt;<br>
        This is free software: you are free to change and redistribute
        it.<br>
        There is NO WARRANTY, to the extent permitted by law.  Type
        &quot;show copying&quot;<br>
        and &quot;show warranty&quot; for details.<br>
        This GDB was configured as &quot;i386-redhat-linux-gnu&quot;.<br>
        For bug reporting instructions, please see:<br>
        &lt;<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>&gt;...<br>
        Reading symbols from /usr/local/sbin/kamailio...done.<br>
        <br>
        warning: .dynamic section for &quot;/usr/lib/libkrb5.so.3&quot; is not at
        the expected address<br>
        <br>
        warning: difference appears to be caused by prelink, adjusting
        expectations<br>
        <br>
        warning: .dynamic section for &quot;/usr/lib/libk5crypto.so.3&quot; is not
        at the expected address<br>
        <br>
        warning: difference appears to be caused by prelink, adjusting
        expectations<br>
        Reading symbols from /lib/libdl.so.2...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libdl.so.2<br>
        Reading symbols from /lib/libresolv.so.2...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libresolv.so.2<br>
        Reading symbols from /lib/libc.so.6...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libc.so.6<br>
        Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/ld-linux.so.2<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/db_mysql.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/db_mysql.so<br>
        Reading symbols from /usr/lib/mysql/libmysqlclient.so.15...(no
        debugging symbols found)...done.<br>
        Loaded symbols for /usr/lib/mysql/libmysqlclient.so.15<br>
        Reading symbols from /usr/lib/libz.so.1...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /usr/lib/libz.so.1<br>
        Reading symbols from
        /usr/local/lib/kamailio/libsrdb2.so.1...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/libsrdb2.so.1<br>
        Reading symbols from
        /usr/local/lib/kamailio/libsrdb1.so.1...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/libsrdb1.so.1<br>
        Reading symbols from /lib/libcrypt.so.1...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libcrypt.so.1<br>
        Reading symbols from /lib/libnsl.so.1...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libnsl.so.1<br>
        Reading symbols from /lib/libm.so.6...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libm.so.6<br>
        Reading symbols from /lib/libssl.so.6...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libssl.so.6<br>
        Reading symbols from /lib/libcrypto.so.6...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libcrypto.so.6<br>
        Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no
        debugging symbols found)...done.<br>
        Loaded symbols for /usr/lib/libgssapi_krb5.so.2<br>
        Reading symbols from /usr/lib/libkrb5.so.3...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /usr/lib/libkrb5.so.3<br>
        Reading symbols from /lib/libcom_err.so.2...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /lib/libcom_err.so.2<br>
        Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /usr/lib/libk5crypto.so.3<br>
        Reading symbols from /usr/lib/libkrb5support.so.0...(no
        debugging symbols found)...done.<br>
        Loaded symbols for /usr/lib/libkrb5support.so.0<br>
        Reading symbols from /lib/libkeyutils.so.1...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /lib/libkeyutils.so.1<br>
        Reading symbols from /lib/libselinux.so.1...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /lib/libselinux.so.1<br>
        Reading symbols from /lib/libsepol.so.1...(no debugging symbols
        found)...done.<br>
        Loaded symbols for /lib/libsepol.so.1<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/exec.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/exec.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/group.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/group.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/libkcore.so.1...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/libkcore.so.1<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/speeddial.so...done.<br>
        Loaded symbols for
        /usr/local/lib/kamailio/modules_k/speeddial.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/carrierroute.so...done.<br>
        Loaded symbols for
        /usr/local/lib/kamailio/modules/carrierroute.so<br>
        Reading symbols from /usr/lib/libconfuse.so.0...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /usr/lib/libconfuse.so.0<br>
        Reading symbols from
        /usr/local/lib/kamailio/libtrie.so.1...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/libtrie.so.1<br>
        Reading symbols from /usr/local/lib/kamailio/libkmi.so.1...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/libkmi.so.1<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/mi_fifo.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/mi_fifo.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/kex.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/kex.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/tm.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/tm.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/tmx.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/tmx.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/sl.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/sl.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/rr.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/rr.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/pv.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/pv.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/maxfwd.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/maxfwd.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/usrloc.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/usrloc.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/registrar.so...done.<br>
        Loaded symbols for
        /usr/local/lib/kamailio/modules_k/registrar.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/textops.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/textops.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/siputils.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/siputils.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/xlog.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/xlog.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/sanity.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/sanity.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/ctl.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/ctl.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/mi_rpc.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/mi_rpc.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/acc.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/acc.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules/auth.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules/auth.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/auth_db.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/auth_db.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/alias_db.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/alias_db.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/nathelper.so...done.<br>
        Loaded symbols for
        /usr/local/lib/kamailio/modules_k/nathelper.so<br>
        Reading symbols from
        /usr/local/lib/kamailio/modules_k/rtpproxy.so...done.<br>
        Loaded symbols for /usr/local/lib/kamailio/modules_k/rtpproxy.so<br>
        Reading symbols from /lib/libnss_files.so.2...(no debugging
        symbols found)...done.<br>
        Loaded symbols for /lib/libnss_files.so.2<br>
        Core was generated by `/usr/local/sbin/kamailio -P
        /var/run/kamailio.pid -m 128 -u root -g root&#39;.<br>
        Program terminated with signal 11, Segmentation fault.<br>
        #0  0x00641fba in build_local_reparse (Trans=0xb14e6564,
        branch=0, len=0xbfe9a5c8, method=0x660495 &quot;CANCEL&quot;,
        method_len=6, to=0xb14e6594,<br>
            reason=0xbfe9a640) at t_msgbuilder.c:476<br>
        476                                                            
        append_str(d, reason-&gt;u.text.s,<br>
        (gdb) bt<br>
        #0  0x00641fba in build_local_reparse (Trans=0xb14e6564,
        branch=0, len=0xbfe9a5c8, method=0x660495 &quot;CANCEL&quot;,
        method_len=6, to=0xb14e6594,<br>
            reason=0xbfe9a640) at t_msgbuilder.c:476<br>
        #1  0x00610425 in cancel_branch (t=0xb14e6564, branch=0,
        reason=0xbfe9a640, flags=&lt;value optimized out&gt;) at
        t_cancel.c:285<br>
        #2  0x00628afe in final_response_handler (ticks=1751388270,
        tl=0xb14e6658, p=0x10) at timer.c:320<br>
        #3  retr_buf_handler (ticks=1751388270, tl=0xb14e6658, p=0x10)
        at timer.c:546<br>
        #4  0x081641e5 in timer_list_expire () at timer.c:894<br>
        #5  timer_handler () at timer.c:957<br>
        #6  timer_main () at timer.c:996<br>
        #7  0x080aec5b in main_loop () at main.c:1618<br>
        #8  0x080b1126 in main (argc=9, argv=0xbfe9a9b4) at main.c:2398<br>
        <br>
        <div class="gmail_quote">On Thu, Nov 25, 2010 at 8:53 AM,
          Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
            <div text="#000000" bgcolor="#ffffff"> First, send the
              backtrace.<br>
              <br>
              gdb /path/to/kamailio /path/to/corefile<br>
              <br>
              then bt.<br>
              <br>
              Then see if you have any other log messages from pid
              19935. The logs before are more important that what is
              after.<br>
              <br>
              Also, by last version you mean 3.1.0 or the latest GIT
              version of 3.1. If you use 3.1.0 then there were couple of
              fixes already, so update to latest git branch. 3.1.1
              should be released soon with all these fixes.<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div><br>
                  <br>
                  On 11/25/10 12:13 AM, michel freiha wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">Hi all,<br>
                      <br>
                      I have latest version of kamailio but it keep
                      crashing...I know that the log could not be
                      sufficient but maybe anyone faced the same issue
                      before...Please find log below and let me know if
                      you can find anything<br>
                      <br>
                      Nov 24 15:56:23 tunnel
                      /usr/local/sbin/kamailio[19943]: : &lt;core&gt;
                      [pass_fd.c:293]: ERROR: receive_fd: EOF on 15<br>
                      Nov 24 15:56:23 tunnel
                      /usr/local/sbin/kamailio[19929]: ALERT:
                      &lt;core&gt; [main.c:741]: child process 19935
                      exited by a signal 11<br>
                      Nov 24 15:56:23 tunnel
                      /usr/local/sbin/kamailio[19932]: INFO:
                      carrierroute [cr_func.c:595]: uri 919437452006 was
                      rewritten to <a>sip:919437452006@x.x.x.x</a>,
                      carrier 5, domain 0<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19930]: INFO:
                      carrierroute [cr_func.c:595]: uri 008801823703200
                      was rewritten to <a>sip:008801823703200@X.X.X.5</a>,
                      carrier 5, domain 0<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19933]: ERROR:
                      &lt;script&gt;:
                      CARRIERROUTE_time_dbg:method=INVITE;time=1290614183;callid=14b6536a-d102-1910-9b23-9f3b3c3065ca

                      - before cr<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19929]: ALERT:
                      &lt;core&gt; [main.c:744]: core was generated<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19932]: INFO:
                      &lt;script&gt;:
                      time_dbg:method=SUBSCRIBE;time=1290614183;callid=YjVmODYzYjQxYWY0ZTU3MGRmMmZkYjRhOTg4ZGZmODQ.

                      - before cr<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19930]: INFO:
                      &lt;script&gt;:
                      time_dbg:method=INVITE;time=1290614183;callid=cdc9556a-d102-1910-8b30-926b495dad44

                      - before cr<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19933]: INFO:
                      carrierroute [cr_func.c:595]: uri 00919974265815
                      was rewritten to <a>sip:00919974265815@X.X.X.X</a>&gt;,
                      carrier 5, domain 0<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19931]: ERROR:
                      &lt;script&gt;:
                      time_dbg:method=INVITE;time=1290614182;callid=14b6536a-d102-1910-9b23-9f3b3c3065ca

                      - before t_relay<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19929]: INFO:
                      &lt;core&gt; [main.c:756]: INFO: terminating due
                      to SIGCHLD<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19934]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19943]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19942]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19940]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19939]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19938]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19941]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19937]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      Nov 24 15:56:24 tunnel
                      /usr/local/sbin/kamailio[19936]: INFO:
                      &lt;core&gt; [main.c:807]: INFO: signal 15
                      received<br>
                      <br>
                      Regards<br>
                      <br>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
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>
</pre>
              </blockquote>
              <br>
              <pre cols="72">-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
            </div>
          </blockquote>
        </div>
        <br>
        </div>
      <pre><fieldset></fieldset>
_______________________________________________
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>
</pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  </div></div></div>

</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style></div>