[RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Liviu Chircu

Hi, all!

We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!

While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.

All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.

Thank you all for your reports, fixes, pull requests and all other contributions to this project!

The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog

Get the latest versions from:
http://opensips.org/pub/opensips/

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

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [mailto:[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list <[hidden email]>; OpenSIPS devel mailling list <[hidden email]>; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Liviu Chircu
Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com


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


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)

Thank you Liviu. I will try in the latest version and will update you my observation.

 

Regards,
Agalya

 

From: Users [mailto:[hidden email]] On Behalf Of Liviu Chircu
Sent: Friday, February 24, 2017 3:44 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,


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

On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com




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

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Abdul Basit
good work team

--
regards,

abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445

On Fri, Feb 24, 2017 at 8:38 PM, Ramachandran, Agalya (Contractor) <[hidden email]> wrote:

Thank you Liviu. I will try in the latest version and will update you my observation.

 

Regards,
Agalya

 

From: Users [mailto:[hidden email]] On Behalf Of Liviu Chircu
Sent: Friday, February 24, 2017 3:44 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,


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

On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com




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

 


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



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)
In reply to this post by Liviu Chircu

Hi Liviu,

 

I have tired with 2.2.3 version. I am still facing crash when async is tried with https.

I am running OpenSIPS on centos based on open stack cloud VM.  I have not installed any specific curl libraries.

Curl is available by default in my centos box, and its version is,

 

curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.19.1 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3

Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp

Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

 

Let me know if I can able to help you to reproduce this issue and solve it.

Here is the core dump trace.

 

Program terminated with signal 11, Segmentation fault.

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-106.el7_2.4.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-12.el7_2.x86_64 libcom_err-1.42.9-7.el7.x86_64 libcurl-7.29.0-25.el7.centos.x86_64 libidn-1.28-4.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.4.3-10.el7_2.1.x86_64 nspr-4.10.8-2.el7_1.x86_64 nss-3.19.1-19.el7_2.x86_64 nss-softokn-3.16.2.3-13.el7_1.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 nss-sysinit-3.19.1-19.el7_2.x86_64 nss-util-3.19.1-9.el7_2.x86_64 openldap-2.4.40-9.el7_2.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 pcre-8.32-15.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64

(gdb) bt

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

#1  0x00007fe5ed4e0d0f in Curl_checkheaders () from /lib64/libcurl.so.4

#2  0x00007fe5ed4e21e5 in Curl_http () from /lib64/libcurl.so.4

#3  0x00007fe5ed4f2b4b in Curl_do () from /lib64/libcurl.so.4

#4  0x00007fe5ed502a1b in multi_runsingle () from /lib64/libcurl.so.4

#5  0x00007fe5ed503121 in curl_multi_perform () from /lib64/libcurl.so.4

#6  0x00007fe5ed73c446 in resume_async_http_req (fd=9, msg=0x7fe5eecd6380 <faked_req.10690>, _param=0x7fe5f132f870)

    at rest_methods.c:411

#7  0x00007fe5eea7d44e in t_resume_async (fd=0x7fe5f1321308, param=0x7fe5ef585e20) at async.c:125

#8  0x000000000059b258 in handle_io (idx=<optimized out>, event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:267

#9  io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:225

#10 udp_rcv_loop (si=si@entry=0x7fe5f13016c8) at net/net_udp.c:308

#11 0x000000000059c7d8 in udp_start_processes (chd_rank=chd_rank@entry=0x845810 <chd_rank.11028>, startup_done=startup_done@entry=0x0)

    at net/net_udp.c:372

#12 0x0000000000419df0 in main_loop () at main.c:671

#13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1261

 

Regards,
Agalya

 

From: Ramachandran, Agalya (Contractor)
Sent: Friday, February 24, 2017 10:39 AM
To: [hidden email]
Subject: RE: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Thank you Liviu. I will try in the latest version and will update you my observation.

 

Regards,
Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Friday, February 24, 2017 3:44 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,

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

On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com



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

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Liviu Chircu
I used both my Debian-based system (libcurl 7.35.0) and a Red Hat 6.4 box (libcurl 7.19.7) and was not able to get either master or 2.2 to crash with HTTPS transfers. I did manage to improve the rest_client behavior for the Red Hat box, where some transfers would fail because of some required retry-logic. Patch is available on both master and 2.2.

If issues persist, let's move this issue over to GitHub [1].

Regards,

[1]: https://github.com/OpenSIPS/opensips/issues

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 27.02.2017 20:33, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

I have tired with 2.2.3 version. I am still facing crash when async is tried with https.

I am running OpenSIPS on centos based on open stack cloud VM.  I have not installed any specific curl libraries.

Curl is available by default in my centos box, and its version is,

 

curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.19.1 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3

Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp

Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

 

Let me know if I can able to help you to reproduce this issue and solve it.

Here is the core dump trace.

 

Program terminated with signal 11, Segmentation fault.

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-106.el7_2.4.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-12.el7_2.x86_64 libcom_err-1.42.9-7.el7.x86_64 libcurl-7.29.0-25.el7.centos.x86_64 libidn-1.28-4.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.4.3-10.el7_2.1.x86_64 nspr-4.10.8-2.el7_1.x86_64 nss-3.19.1-19.el7_2.x86_64 nss-softokn-3.16.2.3-13.el7_1.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 nss-sysinit-3.19.1-19.el7_2.x86_64 nss-util-3.19.1-9.el7_2.x86_64 openldap-2.4.40-9.el7_2.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 pcre-8.32-15.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64

(gdb) bt

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

#1  0x00007fe5ed4e0d0f in Curl_checkheaders () from /lib64/libcurl.so.4

#2  0x00007fe5ed4e21e5 in Curl_http () from /lib64/libcurl.so.4

#3  0x00007fe5ed4f2b4b in Curl_do () from /lib64/libcurl.so.4

#4  0x00007fe5ed502a1b in multi_runsingle () from /lib64/libcurl.so.4

#5  0x00007fe5ed503121 in curl_multi_perform () from /lib64/libcurl.so.4

#6  0x00007fe5ed73c446 in resume_async_http_req (fd=9, msg=0x7fe5eecd6380 <faked_req.10690>, _param=0x7fe5f132f870)

    at rest_methods.c:411

#7  0x00007fe5eea7d44e in t_resume_async (fd=0x7fe5f1321308, param=0x7fe5ef585e20) at async.c:125

#8  0x000000000059b258 in handle_io (idx=<optimized out>, event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:267

#9  io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:225

#10 udp_rcv_loop (si=si@entry=0x7fe5f13016c8) at net/net_udp.c:308

#11 0x000000000059c7d8 in udp_start_processes (chd_rank=chd_rank@entry=0x845810 <chd_rank.11028>, startup_done=startup_done@entry=0x0)

    at net/net_udp.c:372

#12 0x0000000000419df0 in main_loop () at main.c:671

#13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1261

 

Regards,
Agalya

 

From: Ramachandran, Agalya (Contractor)
Sent: Friday, February 24, 2017 10:39 AM
To: [hidden email]
Subject: RE: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Thank you Liviu. I will try in the latest version and will update you my observation.

 

Regards,
Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Friday, February 24, 2017 3:44 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,

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

On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com



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

 



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


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)

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

 

From: Users [mailto:[hidden email]] On Behalf Of Liviu Chircu
Sent: Tuesday, February 28, 2017 7:31 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

I used both my Debian-based system (libcurl 7.35.0) and a Red Hat 6.4 box (libcurl 7.19.7) and was not able to get either master or 2.2 to crash with HTTPS transfers. I did manage to improve the rest_client behavior for the Red Hat box, where some transfers would fail because of some required retry-logic. Patch is available on both master and 2.2.

If issues persist, let's move this issue over to GitHub [1].

Regards,

[1]: https://github.com/OpenSIPS/opensips/issues


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

On 27.02.2017 20:33, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

I have tired with 2.2.3 version. I am still facing crash when async is tried with https.

I am running OpenSIPS on centos based on open stack cloud VM.  I have not installed any specific curl libraries.

Curl is available by default in my centos box, and its version is,

 

curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.19.1 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3

Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp

Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

 

Let me know if I can able to help you to reproduce this issue and solve it.

Here is the core dump trace.

 

Program terminated with signal 11, Segmentation fault.

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-106.el7_2.4.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-12.el7_2.x86_64 libcom_err-1.42.9-7.el7.x86_64 libcurl-7.29.0-25.el7.centos.x86_64 libidn-1.28-4.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.4.3-10.el7_2.1.x86_64 nspr-4.10.8-2.el7_1.x86_64 nss-3.19.1-19.el7_2.x86_64 nss-softokn-3.16.2.3-13.el7_1.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 nss-sysinit-3.19.1-19.el7_2.x86_64 nss-util-3.19.1-9.el7_2.x86_64 openldap-2.4.40-9.el7_2.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 pcre-8.32-15.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64

(gdb) bt

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

#1  0x00007fe5ed4e0d0f in Curl_checkheaders () from /lib64/libcurl.so.4

#2  0x00007fe5ed4e21e5 in Curl_http () from /lib64/libcurl.so.4

#3  0x00007fe5ed4f2b4b in Curl_do () from /lib64/libcurl.so.4

#4  0x00007fe5ed502a1b in multi_runsingle () from /lib64/libcurl.so.4

#5  0x00007fe5ed503121 in curl_multi_perform () from /lib64/libcurl.so.4

#6  0x00007fe5ed73c446 in resume_async_http_req (fd=9, msg=0x7fe5eecd6380 <faked_req.10690>, _param=0x7fe5f132f870)

    at rest_methods.c:411

#7  0x00007fe5eea7d44e in t_resume_async (fd=0x7fe5f1321308, param=0x7fe5ef585e20) at async.c:125

#8  0x000000000059b258 in handle_io (idx=<optimized out>, event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:267

#9  io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:225

#10 udp_rcv_loop (si=si@entry=0x7fe5f13016c8) at net/net_udp.c:308

#11 0x000000000059c7d8 in udp_start_processes (chd_rank=chd_rank@entry=0x845810 <chd_rank.11028>, startup_done=startup_done@entry=0x0)

    at net/net_udp.c:372

#12 0x0000000000419df0 in main_loop () at main.c:671

#13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1261

 

Regards,
Agalya

 

From: Ramachandran, Agalya (Contractor)
Sent: Friday, February 24, 2017 10:39 AM
To: [hidden email]
Subject: RE: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Thank you Liviu. I will try in the latest version and will update you my observation.

 

Regards,
Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Friday, February 24, 2017 3:44 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,


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

On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com




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

 




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

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Liviu Chircu

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

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Tuesday, February 28, 2017 7:31 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

I used both my Debian-based system (libcurl 7.35.0) and a Red Hat 6.4 box (libcurl 7.19.7) and was not able to get either master or 2.2 to crash with HTTPS transfers. I did manage to improve the rest_client behavior for the Red Hat box, where some transfers would fail because of some required retry-logic. Patch is available on both master and 2.2.

If issues persist, let's move this issue over to GitHub [1].

Regards,

[1]: https://github.com/OpenSIPS/opensips/issues


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

On 27.02.2017 20:33, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

I have tired with 2.2.3 version. I am still facing crash when async is tried with https.

I am running OpenSIPS on centos based on open stack cloud VM.  I have not installed any specific curl libraries.

Curl is available by default in my centos box, and its version is,

 

curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.19.1 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3

Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp

Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

 

Let me know if I can able to help you to reproduce this issue and solve it.

Here is the core dump trace.

 

Program terminated with signal 11, Segmentation fault.

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-106.el7_2.4.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-12.el7_2.x86_64 libcom_err-1.42.9-7.el7.x86_64 libcurl-7.29.0-25.el7.centos.x86_64 libidn-1.28-4.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.4.3-10.el7_2.1.x86_64 nspr-4.10.8-2.el7_1.x86_64 nss-3.19.1-19.el7_2.x86_64 nss-softokn-3.16.2.3-13.el7_1.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 nss-sysinit-3.19.1-19.el7_2.x86_64 nss-util-3.19.1-9.el7_2.x86_64 openldap-2.4.40-9.el7_2.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 pcre-8.32-15.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64

(gdb) bt

#0  0x00007fe5ed512a1e in Curl_raw_nequal () from /lib64/libcurl.so.4

#1  0x00007fe5ed4e0d0f in Curl_checkheaders () from /lib64/libcurl.so.4

#2  0x00007fe5ed4e21e5 in Curl_http () from /lib64/libcurl.so.4

#3  0x00007fe5ed4f2b4b in Curl_do () from /lib64/libcurl.so.4

#4  0x00007fe5ed502a1b in multi_runsingle () from /lib64/libcurl.so.4

#5  0x00007fe5ed503121 in curl_multi_perform () from /lib64/libcurl.so.4

#6  0x00007fe5ed73c446 in resume_async_http_req (fd=9, msg=0x7fe5eecd6380 <faked_req.10690>, _param=0x7fe5f132f870)

    at rest_methods.c:411

#7  0x00007fe5eea7d44e in t_resume_async (fd=0x7fe5f1321308, param=0x7fe5ef585e20) at async.c:125

#8  0x000000000059b258 in handle_io (idx=<optimized out>, event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:267

#9  io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:225

#10 udp_rcv_loop (si=si@entry=0x7fe5f13016c8) at net/net_udp.c:308

#11 0x000000000059c7d8 in udp_start_processes (chd_rank=chd_rank@entry=0x845810 <chd_rank.11028>, startup_done=startup_done@entry=0x0)

    at net/net_udp.c:372

#12 0x0000000000419df0 in main_loop () at main.c:671

#13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1261

 

Regards,
Agalya

 

From: Ramachandran, Agalya (Contractor)
Sent: Friday, February 24, 2017 10:39 AM
To: [hidden email]
Subject: RE: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Thank you Liviu. I will try in the latest version and will update you my observation.

 

Regards,
Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Friday, February 24, 2017 3:44 AM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi Agalya,

There are no specific fixes addressing this issue, since it should be working right out of the box - libcurl should be able to handle it. Personally, I haven't been able to reproduce it. If problems persist for you even in 2.2.3, we are here to help!

Regards,


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

On 24.02.2017 00:00, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

Its great news. I have a question with respect to rest_client module.

Does async with https support is added in 2.2.3?

 

Regards,

Agalya

 

From: Users [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, February 23, 2017 12:57 PM
To: OpenSIPS users mailling list [hidden email]; OpenSIPS devel mailling list [hidden email]; [hidden email]
Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi, all!
 
We are happy to announce a new set of OpenSIPS minor versions, namely 2.2.3 and 1.11.10,
incorporating the last 4 months of backports and no less than 126 commits!
 
While roughly half of these commits strictly relate to static code analysis issues
(thank you Răzvan for the Coverity initiative!), the rest of them include
important corner-case fixes in more critical areas such as the TCP layer, usrloc contact management,
dialog replication, dispatcher, drouting, rest_client - to name a few.
 
All three releases are ready for production use and even more  stable/accurate than before.
Since they contain the latest bug fixes, we strongly recommend you to upgrade your current instances.
 
Thank you all for your reports, fixes, pull requests and all other contributions to this project!
 
The full ChangeLogs for the newly released versions are:
http://opensips.org/pub/opensips/2.2.3/ChangeLog
http://opensips.org/pub/opensips/1.11.10/ChangeLog
 
Get the latest versions from:
http://opensips.org/pub/opensips/
 
Enjoy OpenSIPS,
-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com




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

 




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

 



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


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)

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.

Let me know if any information needed.

Regards,
Agalya

From: Users [mailto:[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, March 02, 2017 11:17 AM
To: [hidden email]
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

shm&pkm.txt (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)
In reply to this post by Liviu Chircu

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: [hidden email]
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 [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, March 02, 2017 11:17 AM
To: [hidden email]
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)

I missed to mention the OS version, you have asked for, which is

CentOS Linux release 7.2.1511 (Core)

 

Regards,
Agalya

 

From: Users [mailto:[hidden email]] On Behalf Of Ramachandran, Agalya (Contractor)
Sent: Wednesday, March 08, 2017 11:05 AM
To: OpenSIPS users mailling list <[hidden email]>; Liviu Chircu <[hidden email]>
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

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: [hidden email]
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 [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, March 02, 2017 11:17 AM
To: [hidden email]
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Liviu Chircu
In reply to this post by Ramachandran, Agalya (Contractor)

No luck on a CentOS 7.2 system with libcurl 7.29.0 with 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: [hidden email]
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 [[hidden email]] On Behalf Of Liviu Chircu
Sent: Thursday, March 02, 2017 11:17 AM
To: [hidden email]
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)

Hi Liviu,

 

I tried the following and my observations for the same.

 

1)      Compiled and installed OpenSIPS of 2.2.3 code(no other patches applied).

2)      async(rest_get("https://example.com", "$var(body)"), resume_route);è crashes on my machine. Same dump as I shared before.

3)      async(rest_get("http://example.com", "$var(body)"), resume_route);è No crash observed.

4)      Long back I tried to run a sample curl program that will reach https://example.com è Worked without any crash

5)      I have also tried a sample curl program that interacts with REST server (async, https://URL) è Worked on the same machine without crash.

Only when the same payload is passed using OpenSIPS, and when processing the response of it, OpenSIPS is being crashed.

6)      Tried with async (rest_post(http:// URL)); è No crash

7)      Tried with async(rest_post(https://URL)); è Crash occurred

 

I am attaching here with the sample curl file,  where I try to reach example.com(getHttps.c) and sample curl program which will do the actual PUT request I want to do( asyncPutHttps.c)

With asyncPutHttps.c, whatever I do in the sample program, the same I do OpenSIPS too, but not crashing in my sample program and crash occurs only with OpenSIPS.

 

Let me know if you need more information on any of these.

 

Regards,
Agalya

 

 

From: Liviu Chircu [mailto:[hidden email]]
Sent: Thursday, March 09, 2017 5:06 AM
To: Ramachandran, Agalya (Contractor) <[hidden email]>; OpenSIPS users mailling list <[hidden email]>
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

No luck on a CentOS 7.2 system with libcurl 7.29.0 with 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

 


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

asyncPutHttps.c (9K) Download Attachment
getHttps.c (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Liviu Chircu

Hi,

I've moved the ticket over to GitHub, and I posted a suggestion on how to make progress [1]

Cheers,

[1]: https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628

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

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 10.03.2017 21:18, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

I tried the following and my observations for the same.

 

1)      Compiled and installed OpenSIPS of 2.2.3 code(no other patches applied).

2)      async(rest_get("https://example.com", "$var(body)"), resume_route);è crashes on my machine. Same dump as I shared before.

3)      async(rest_get("http://example.com", "$var(body)"), resume_route);è No crash observed.

4)      Long back I tried to run a sample curl program that will reach https://example.com è Worked without any crash

5)      I have also tried a sample curl program that interacts with REST server (async, https://URL) è Worked on the same machine without crash.

Only when the same payload is passed using OpenSIPS, and when processing the response of it, OpenSIPS is being crashed.

6)      Tried with async (rest_post(http:// URL)); è No crash

7)      Tried with async(rest_post(https://URL)); è Crash occurred

 

I am attaching here with the sample curl file,  where I try to reach example.com(getHttps.c) and sample curl program which will do the actual PUT request I want to do( asyncPutHttps.c)

With asyncPutHttps.c, whatever I do in the sample program, the same I do OpenSIPS too, but not crashing in my sample program and crash occurs only with OpenSIPS.

 

Let me know if you need more information on any of these.

 

Regards,
Agalya

 

 

From: Liviu Chircu [[hidden email]]
Sent: Thursday, March 09, 2017 5:06 AM
To: Ramachandran, Agalya (Contractor) [hidden email]; OpenSIPS users mailling list [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

No luck on a CentOS 7.2 system with libcurl 7.29.0 with 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

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Max Mühlbronner
Hi,

just an idea, as i had similar issues in the past (not opensips related). Did you try example.com or your own domain? Did you try other domains also?

Maybe it has something to do with the certificate e.g. intermediate certificate missing or something like that...? I would recommend testing with another https url to see if this happens only for this domain/url. It might help to narrow down the problem.


BR

Max M.


On 13.03.2017 13:44, Liviu Chircu wrote:
Hi,

I've moved the ticket over to GitHub, and Iposted a suggestion on how to make progress[1]

Cheers,

[1]: https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628

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

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

On 10.03.2017 21:18, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

I tried the following and my observations for the same.

1)Compiled and installed OpenSIPS of 2.2.3 code(no other patches applied).

2)async(rest_get("*https*://example.com" <https://example.com>, "$var(body)"), resume_route);ècrashes on my machine. Same dump as I shared before.

3)async(rest_get("*http*://example.com" <%22http:/example.com%22>, "$var(body)"), resume_route);èNo crash observed.

4)Long back I tried to run a sample curl program that will reach https://example.comèWorked without any crash

5)I have also tried a sample curl program that interacts with REST server (async, https://URL) èWorked on the same machine without crash.

Only when the same payload is passed using OpenSIPS, and when processing the response of it, OpenSIPS is being crashed.

6)Tried with async (rest_post(http:// URL)); èNo crash

7)Tried with async(rest_post(https://URL) <https://URL%29>); èCrash occurred

I am attaching here with the sample curl file,  where I try to reach example.com(getHttps.c) and sample curl program which will do the actual PUT request I want to do( asyncPutHttps.c)

With asyncPutHttps.c, whatever I do in the sample program, the same I do OpenSIPS too, but not crashing in my sample program and crash occurs only with OpenSIPS.

Let me know if you need more information on any of these.

Regards,
Agalya

*From:*Liviu Chircu [[hidden email]]
*Sent:* Thursday, March 09, 2017 5:06 AM
*To:* Ramachandran, Agalya (Contractor) [hidden email]; OpenSIPS users mailling list [hidden email]
*Subject:* Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

No luck on a CentOS 7.2 system with libcurl 7.29.0 with 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" <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





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


--
Max Mühlbronner
42com Telecommunication GmbH
Straße der Pariser Kommune 12-16
10243 Berlin
E-Mail: [hidden email]
Web: www.42com.com

Firmenangaben/Company information:
Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071 B
Umsatzsteuer-ID/VAT-ID: DE223812306
Geschäftsführer/CEO: Thomas Reinig, Alexander Reinig

Diese E-Mail enthält Informationen von 42com Telecommunication GmbH. Diese sind möglicherweise vertraulich und ausschließlich für den Adressaten bestimmt.
Sollten Sie diese elektronische Nachricht irrtümlicherweise erhalten haben, so informieren Sie uns bitte unverzüglich telefonisch oder per E-Mail.
This message is intended only for the use of the individual or entity to which it is addressed.
If you have received this message by mistake, please notify us immediately.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor)
In reply to this post by Liviu Chircu

Hi Liviu,

 

I have followed the steps you have mentioned in the below link, and with the debug build, I have reproduced issue again.

Stack trace uploaded in the same URL.  Let me know if this helps. I am seeing out of bound with User-Agent header.

 

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

 

Regards,
Agalya

From: Liviu Chircu [mailto:[hidden email]]
Sent: Monday, March 13, 2017 8:44 AM
To: Ramachandran, Agalya (Contractor) <[hidden email]>; OpenSIPS users mailling list <[hidden email]>
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

Hi,

I've moved the ticket over to GitHub, and I posted a suggestion on how to make progress [1]

Cheers,

[1]: https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628

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

On 10.03.2017 21:18, Ramachandran, Agalya (Contractor) wrote:

Hi Liviu,

 

I tried the following and my observations for the same.

 

1)      Compiled and installed OpenSIPS of 2.2.3 code(no other patches applied).

2)      async(rest_get("https://example.com", "$var(body)"), resume_route);è crashes on my machine. Same dump as I shared before.

3)      async(rest_get("http://example.com", "$var(body)"), resume_route);è No crash observed.

4)      Long back I tried to run a sample curl program that will reach https://example.com è Worked without any crash

5)      I have also tried a sample curl program that interacts with REST server (async, https://URL) è Worked on the same machine without crash.

Only when the same payload is passed using OpenSIPS, and when processing the response of it, OpenSIPS is being crashed.

6)      Tried with async (rest_post(http:// URL)); è No crash

7)      Tried with async(rest_post(https://URL)); è Crash occurred

 

I am attaching here with the sample curl file,  where I try to reach example.com(getHttps.c) and sample curl program which will do the actual PUT request I want to do( asyncPutHttps.c)

With asyncPutHttps.c, whatever I do in the sample program, the same I do OpenSIPS too, but not crashing in my sample program and crash occurs only with OpenSIPS.

 

Let me know if you need more information on any of these.

 

Regards,
Agalya

 

 

From: Liviu Chircu [[hidden email]]
Sent: Thursday, March 09, 2017 5:06 AM
To: Ramachandran, Agalya (Contractor) [hidden email]; OpenSIPS users mailling list [hidden email]
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

 

No luck on a CentOS 7.2 system with libcurl 7.29.0 with 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

 

 


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