[Home]

Summary:ASTERISK-26411: res_pjsip: Crash pjsip_distributor find_dialog
Reporter:Remi Quezada (remiq)Labels:
Date Opened:2016-09-27 16:17:00Date Closed:2016-09-28 11:32:14
Priority:MajorRegression?No
Status:Closed/CompleteComponents:pjproject/pjsip Resources/res_pjsip
Versions:GIT Frequency of
Occurrence
Occasional
Related
Issues:
Environment:Centos 6Attachments:( 0) backtrace.txt
Description:Asterisk is terminating with signal 6.  Backtrace is showing find_dialog may be the issue in res_pjsip/pjsip_distributor.c.   Backtrace is attached.
Comments:By: Asterisk Team (asteriskteam) 2016-09-27 16:17:01.120-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2016-09-27 16:23:10.756-0500

What version of PJSIP is in use and how was it built? It appears as though it has debugging enabled which is not a supported configuration for normal use. It causes some assertions to be fatal, instead of returning and carrying on.

By: Remi Quezada (remiq) 2016-09-27 16:29:08.600-0500

I installed rpm package from epel repository.  Following packages were installed:

pjproject-2.3-5.el6.x86_64
pjproject-devel-2.3-5.el6.x86_64

By: Joshua C. Colp (jcolp) 2016-09-28 11:32:14.271-0500

The built PJSIP is built with debugging enabled which like I mentioned will cause assertions to become fatal when they should be fine under release. I would suggest using the bundling support[1] when building Asterisk to build in a PJSIP that is configured to the proper requirements for Asterisk.

[1] http://blogs.asterisk.org/2016/03/16/asterisk-13-8-0-now-easier-pjsip-install-method/