Summary: | ASTERISK-27219: asterisk crashing | ||
Reporter: | James Speicher (emeposk) | Labels: | |
Date Opened: | 2017-08-25 09:39:44 | Date Closed: | 2017-08-28 05:32:09 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | |
Versions: | 14.2.1 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | centos 7 | Attachments: | ( 0) backtrace.txt |
Description: | issue: asterisk is crashing every 1-2 days please advise. I am running a webrtc setup on the box.
seeing this in /var/log/messages Aug 25 15:13:48 localhost kernel: asterisk[9609]: segfault at 3c ip 00007f8c6798ef3c sp 00007f8a5be86310 error 4 in libpjnath.so.2[7f8c67975000+29000] | ||
Comments: | By: Asterisk Team (asteriskteam) 2017-08-25 09:40:11.437-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: Rusty Newton (rnewton) 2017-08-25 15:03:22.659-0500 Thanks for the report! In order to maximize efficiently, there are project guidelines for how to report issues. Please read through the Asterisk Issue Guidelines [1]. After reading the guidelines, please clean up this issue so that bug marshals can more easily help you. In particular: 1. Don't post extensive debug or logs inside the Description or Comment fields. 2. Use the Description field for a description of the issue, referencing *attached* debug with links or notes. 3. Use the Comment fields for discussion regarding the issue. 4. If you need to put a few lines of debug or logs into any field, surround the text with *noformat* tags to help us read it easily. 5. Attach files with a '.txt' extension where possible so that they can be analyzed futher by bug marshals. Thanks! [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines By: James Speicher (emeposk) 2017-08-25 15:17:23.407-0500 backtrace debug file By: Joshua C. Colp (jcolp) 2017-08-28 05:32:10.078-0500 You appear to be using a distro provided version of PJSIP (which is also used for NAT traversal in res_rtp_asterisk). The version you are using has a bug[1] where a crash can occur due to a race condition in its STUN implementation. You will either need to upgrade to at least PJSIP 2.5 on the system or use the a recent verson of Asterisk with bundled[2]. [1] https://trac.pjsip.org/repos/ticket/1903 [2] http://blogs.asterisk.org/2016/03/16/asterisk-13-8-0-now-easier-pjsip-install-method/ |