<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt><tt>No <tt>luck <tt>on a </tt></tt><tt></tt></tt><tt><tt>CentOS
            7.2 system with libcurl 7.29.0<tt><tt> with async rest_get.
                <tt>Some more questions:</tt></tt></tt></tt></tt></tt></p>
    <p><tt><tt><tt><tt><tt><tt><tt>- <tt>does <tt>the following <tt>crash
                          your system</tt>? If <tt>not</tt>, pleas<tt>e
                          detail <tt>the n<tt>ature of your HTTP
                              transfer that's causing the <tt>crash
                                (server <tt>location and a <tt>.pcap <tt>of
                                      a successful curl would be nice)</tt></tt></tt></tt>.</tt></tt></tt><br>
                      </tt></tt></tt></tt></tt></tt></tt></tt></tt></p>
    <p><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>  
                          async(rest_get(<a class="moz-txt-link-rfc2396E" href="https://example.com">"https://example.com"</a>,
                          "$var(body)"), resume_route);</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></p>
    <p><tt><tt><tt><tt><tt><tt><tt>- are you using any custom patches
                    for rest<tt>_client? <tt>I suggest we only use the
                        <tt>2.2.3 tag <tt>code when debugging this
                            issue, <tt>from now on</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></p>
    <p><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>Regards,</tt><br>
                            </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></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 08.03.2017 18:05, Ramachandran,
      Agalya (Contractor) wrote:<br>
    </div>
    <blockquote
      cite="mid:ccdc3836d96d4339a7fcc4d7a3b92e5b@COPDCEX28.cable.comcast.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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:12.0pt;
        font-family:"Times New Roman",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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New",serif;
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New",serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle28
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle29
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle30
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle31
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.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="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Hi
            Liviu,
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">You
            got time to reproduce this issue? If you need any help
            towards it let me know.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Regards,<br>
            Agalya<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
                Ramachandran, Agalya (Contractor)
                <br>
                <b>Sent:</b> Thursday, March 02, 2017 12:16 PM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
                <b>Subject:</b> RE: [OpenSIPS-Users] [RELEASE] OpenSIPS
                minor releases: 2.2.3 and 1.11.10<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p><tt><span style="font-size:10.0pt">Hi Liviu, <o:p></o:p></span></tt></p>
        <p><tt><span style="font-size:10.0pt">My answers inline.
              Recompiled with QM_MALLOC / DBG_MALLOC flags enabled.<o:p></o:p></span></tt></p>
        <p><tt><span style="font-size:10.0pt">- async rest function you
              are using (get / post) – Am using PUT, tried POST too.
              Both cases it crashes.
              <o:p></o:p></span></tt></p>
        <p><tt><span style="font-size:10.0pt">After restarting OpenSIPS,
              output of “opensipsctl fifo get_statistics shmem: pkmem”
              is attached here with this email.
              <o:p></o:p></span></tt></p>
        <p><tt><span style="font-size:10.0pt">Regards,</span></tt><span
            style="font-size:10.0pt;font-family:"Courier
            New",serif"><br>
            <tt>Agalya<o:p></o:p></tt></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
                Users [<a moz-do-not-send="true"
                  href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>]
                <b>On Behalf Of </b>Liviu Chircu<br>
                <b>Sent:</b> Thursday, March 02, 2017 11:17 AM<br>
                <b>To:</b> <a moz-do-not-send="true"
                  href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
                <b>Subject:</b> Re: [OpenSIPS-Users] [RELEASE] OpenSIPS
                minor releases: 2.2.3 and 1.11.10<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p><tt><span style="font-size:10.0pt">Hi Agalya,</span></tt><o:p></o:p></p>
        <p><tt><span style="font-size:10.0pt">Yes, let's start
              dissecting it over there. Since the crash is in libcurl, I
              need the following info in the report, for starters:</span></tt><o:p></o:p></p>
        <p><tt><span style="font-size:10.0pt">- OS version (I understand
              libcurl is </span>
          </tt><tt><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#C00000">7.29.0,</span></tt><tt><span
              style="font-size:10.0pt"> maybe I can attempt to
              reproduce)</span></tt><o:p></o:p></p>
        <p><tt><span style="font-size:10.0pt">- async rest function you
              are using (get / post)</span></tt><o:p></o:p></p>
        <p><tt><span style="font-size:10.0pt">- output of "opensipsctl
              fifo get_statistics shmem: pkmem:", right after you start
              OpenSIPS</span></tt><o:p></o:p></p>
        <p><tt><span style="font-size:10.0pt">Also, are you able to
              recompile OpenSIPS with both QM_MALLOC / DBG_MALLOC flags
              enabled? It will speed up our debugging. You can select
              these under the compile flags menu, once you run the "make
              menuconfig" build configurator.</span></tt><o:p></o:p></p>
        <p><tt><span style="font-size:10.0pt">Regards,</span></tt><o:p></o:p></p>
        <pre>Liviu Chircu<o:p></o:p></pre>
        <pre>OpenSIPS Developer<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>OpenSIPS Summit May 2017 Amsterdam<o:p></o:p></pre>
        <pre>  <a moz-do-not-send="true" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a><o:p></o:p></pre>
        <div>
          <p class="MsoNormal">On 02.03.2017 17:27, Ramachandran, Agalya
            (Contractor) wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi
              Liviu,
            </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I
              have applied your fix with commit id(</span><span
style="font-size:9.0pt;font-family:Consolas;color:#444D56;background:white">df6a9a9bc3f7c65165639a9c88a4359698d0e5b8),</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">
              retested it still am facing the same issue. </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Should
              I raise for the defect in
            </span><tt><span style="font-size:10.0pt"><a
                  moz-do-not-send="true"
                  href="https://github.com/OpenSIPS/opensips/issues">https://github.com/OpenSIPS/opensips/issues</a>
                ?</span></tt><o:p></o:p></p>
          <p class="MsoNormal"><tt><span style="font-size:10.0pt"> </span></tt><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Regards,<br>
              Agalya</span><o:p></o:p></p>
          <p class="MsoNormal"
style="mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span>
            <o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>