<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the core file is useless without binaries, so you have to send the
    gdb backtrace:<br>
    <br>
    gdb /path/to/kamailio /path/to/corefile<br>
    <br>
    Then do 'bt full' and send the output on the mailing list.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 4/27/12 8:30 PM, Gnaneshwar Gatla wrote:
    <blockquote
      cite="mid:30FAD1AA513CBC40B3DC6ECDA160BDF601AFCF@ITHMail.ith.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Hey Daniel,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Yes, this can
            be reproduced. I have uploaded the xml and Kamailio log and
            core files to the following ftp site.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Username: 
            Kamailio<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Password: 
            99Teaz<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">URL:  <a
              moz-do-not-send="true" href="ftp://ftp.intouchhealth.com">
              ftp://ftp.intouchhealth.com</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Steps for
            reproducing the crash:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Use the
            xml(rls.xml) to be inserted in the xcap table using a
            xcap_server with the help of a http client.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">The service uri
            is <a moz-do-not-send="true" href="sip:rls@%3cdomainName">
              sip:rls@&lt;domainName</a>&gt; in the file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Create
            subscribe using the service uri in the request line method
            using SIPp or some SIP client program. (please refer to
            rls_crash.pcap file).<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Kamailio
            crashes as soon as the subscribe is being processed.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">For the
            convenience of testing, I had disabled authentication for
            the Subscribe method.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Thank you for
            looking into this Daniel,<o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span style="color:#1F497D">Gnaneshwar
              Gatla | InTouch Health | Software Developer<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">6330
              Hollister Ave. Goleta CA, 93117 | P: 805.562.8686 ext: 199<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                Daniel-Constantin Mierla [<a class="moz-txt-link-freetext" href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>]
                <br>
                <b>Sent:</b> Friday, April 27, 2012 6:21 AM<br>
                <b>To:</b> SIP Router - Kamailio (OpenSER) and SIP
                Express Router (SER) - Users Mailing List<br>
                <b>Cc:</b> Gnaneshwar Gatla<br>
                <b>Subject:</b> Re: [SR-Users] kamailio Crashes with rls
                module<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br>
          <br>
          can you send the backtrace? according to the logs, there is a
          core file:<o:p></o:p></p>
        <pre>Apr 26 21:00:42 SIPDev /usr/local/sbin/kamailio[14369]: ALERT: &lt;core&gt; [main.c:751]: child process 14374 exited by a signal 11<o:p></o:p></pre>
        <pre>Apr 26 21:00:42 SIPDev /usr/local/sbin/kamailio[14369]: ALERT: &lt;core&gt; [main.c:754]: core was generated<o:p></o:p></pre>
        <p class="MsoNormal">Can it be reproduced? Or just happened
          randomly.<br>
          <br>
          Btw, sending such large files (the log in this case, over
          15MB) as attachment is not really recommended. Maybe you can
          host it on an website for download or send parts of the log,
          the last messages before the core message. Also, compressing
          it in such case is better. Keep memlog and memdbg higher than
          debug, all the memory operations are not relevant unless they
          are required by a developer for troubleshooting.<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <br>
          On 4/26/12 11:15 PM, Gnaneshwar Gatla wrote: <o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Oppsie.. forgot
            to attach the document.</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
        <div>
          <p class="MsoNormal"><span style="color:#1F497D">Gnaneshwar
              Gatla | InTouch Health | Software Developer</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">6330
              Hollister Ave. Goleta CA, 93117 | P: 805.562.8686 ext: 199</span><o:p></o:p></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                Gnaneshwar Gatla
                <br>
                <b>Sent:</b> Thursday, April 26, 2012 2:14 PM<br>
                <b>To:</b> SIP Router - Kamailio (OpenSER) and SIP
                Express Router (SER) - Users Mailing List<br>
                <b>Subject:</b> kamailio Crashes with rls module</span><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"> <o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Hello,</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">I’m
            experimenting the usage of rls module with Kamailio. I have
            been able to successfully update xcap documents on Kamailio
            XCAP server.</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">I have tried to
            use SIPp to get a NOTIFY for subscribing a rls-service list.</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Kamailio does
            get the xml from the xcap table and tries to parse it and
            crashes. I’m not sure if this is because the format of the
            XML, I derived the xml format from the RFC 4662 and 4826.</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">I have attached
            the Kamailio log. I need help with this.</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Any help is
            appreciated, thank you very much.</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Gnaneshwar
            Gatla | InTouch Health | Software Developer</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">6330 Hollister
            Ave. Goleta CA, 93117 | P: 805.562.8686 ext: 199</span><o:p></o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><br>
            <br>
            <br>
            <o:p></o:p></span></p>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre>
        <pre><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><o:p></o:p></pre>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;"><br>
            <br>
            <o:p></o:p></span></p>
        <pre>-- <o:p></o:p></pre>
        <pre>Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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></pre>
  </body>
</html>