[Home]

Summary:ASTERISK-25853: segfault in libpjnath.so.2
Reporter:Issam RACHDI (issam)Labels:
Date Opened:2016-03-17 06:08:48Date Closed:2016-03-21 09:25:32
Priority:CriticalRegression?
Status:Closed/CompleteComponents:
Versions:13.7.2 Frequency of
Occurrence
Related
Issues:
duplicatesASTERISK-25275 A11 SIGSEGV from pjnpath check_cached_response (ast_rtcp_read -> pj_stun_session_on_rx_pkt)
Environment:Debian 8.3, kernel 3.16.0-4-amd64, pjproject 2.4.5Attachments:( 0) backtrace.txt
Description:Asterisk crashes on average twice a day with this error in syslog
{noformat}
[1048769.916788] asterisk[25552]: segfault at 3c ip 00007f290b598b1d sp 00007f288cb3de60 error 4 in libpjnath.so.2[7f290b584000+22000]
{noformat}

Note that i'm using WebRTC with wss. Asterisk start crashing only when there are WebRTC users taking calls.

Backtrace attached.
Comments:By: Asterisk Team (asteriskteam) 2016-03-17 06:08:49.169-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: Salman Abdul Khaliq (salmanabdulkhaliq) 2016-03-19 04:36:26.379-0500

Hi

I am using Atsersik 13.6.0 with the latest PJSIP library 2.4.5 and the asterisk crashes after a couple of days with the same error as below.

asterisk1 kernel: asterisk[31019]: segfault at 3c ip 00007f1bfb55820d sp 00007f1bca7c2cf0 error 4 in libpjnath.so.2[7f1bfb542000+26000]

The system is only used by WebRTC extensions and a lot of them are logged in at a time.

I have tried unloading the chan_pjsip.so and res_pjsip_nat.so module but no luck.

Thanks


By: Issam RACHDI (issam) 2016-03-19 04:50:03.662-0500

There is a workaround posted in this issue ASTERISK-25275,  it worked for me.
Check [this comment|https://issues.asterisk.org/jira/browse/ASTERISK-25275?focusedCommentId=228728&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-228728], and [this one for adapting it to v 13|https://issues.asterisk.org/jira/browse/ASTERISK-25275?focusedCommentId=228821&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-228821]


By: Asterisk Team (asteriskteam) 2016-03-19 04:50:03.902-0500

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.