No luck on a CentOS 7.2 system with libcurl 7.29.0with async rest_get. Some more questions:

- does the following crash your system? If not, please detail the nature of your HTTP transfer that's causing the crash (server location and a .pcap of a successful curl would be nice).

async(rest_get("https://example.com";, "$var(body)"), resume_route);

- are you using any custom patches for rest_client? I suggest we only use the 2.2.3 tag code when debugging this issue, from now on

Regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 08.03.2017 18:05, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

You got time to reproduce this issue? If you need any help towards it let me know.

Regards,
Agalya

*From:*Ramachandran, Agalya (Contractor)
*Sent:* Thursday, March 02, 2017 12:16 PM
*To:* [email protected]
*Subject:* RE: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Hi Liviu,

My answers inline. Recompiled with QM_MALLOC / DBG_MALLOC flags enabled.

- async rest function you are using (get / post) – Am using PUT, tried POST too. Both cases it crashes.

After restarting OpenSIPS, output of “opensipsctl fifo get_statistics shmem: pkmem” is attached here with this email.

Regards,
Agalya

*From:*Users [mailto:[email protected]] *On Behalf Of *Liviu Chircu
*Sent:* Thursday, March 02, 2017 11:17 AM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Hi Agalya,

Yes, let's start dissecting it over there. Since the crash is in libcurl, I need the following info in the report, for starters:

- OS version (I understand libcurl is 7.29.0,maybe I can attempt to reproduce)

- async rest function you are using (get / post)

- output of "opensipsctl fifo get_statistics shmem: pkmem:", right after you start OpenSIPS

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.

Regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
   http://www.opensips.org/events/Summit-2017Amsterdam.html

On 02.03.2017 17:27, Ramachandran, Agalya (Contractor) wrote:

    Hi Liviu,

    I have applied your fix with commit
    id(df6a9a9bc3f7c65165639a9c88a4359698d0e5b8),retested it still am
    facing the same issue.

    Should I raise for the defect in
    https://github.com/OpenSIPS/opensips/issues ?

    Regards,
    Agalya


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to