[Home]

Summary:ASTERISK-28216: Crash when race condition between manager_play_dtmf and ast_hangup
Reporter:Aaron An (aaron)Labels:
Date Opened:2018-12-19 05:09:48.000-0600Date Closed:2018-12-19 06:38:29.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:13.8.0 Frequency of
Occurrence
Frequent
Related
Issues:
duplicatesASTERISK-28086 chan_pjsip: Crash when initiating PlayDTMF over AMI
Environment:Amazon Linux EC2. C4.2xLarge.Attachments:( 0) backtrace.log
Description:There is a race condition between manager_play_dtmf and ast_hangup. This cause the crash.
Comments:By: Asterisk Team (asteriskteam) 2018-12-19 05:09:49.579-0600

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) 2018-12-19 05:14:08.932-0600

It appears the bug you have submitted is against a rather old version of a supported branch of Asterisk. There have been many issues fixed between the version you are using and the current version of your branch. Please test with the latest version in your Asterisk branch and report whether the issue persists.

Please see the Asterisk Versions [1] wiki page for info on which versions of Asterisk are supported.
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions



By: Aaron An (aaron) 2018-12-19 05:51:46.121-0600

I found a similar issue on chan_sip.

https://issues.asterisk.org/jira/browse/ASTERISK-20225?jql=text%20~%20%22manager_play_dtmf%22%20ORDER%20BY%20updated%20DESC%2C%20created%20DESC
https://reviewboard.asterisk.org/r/2434/diff/2/


By: Joshua C. Colp (jcolp) 2018-12-19 05:59:18.570-0600

I understand, but there were also recent threading model changes in that specific code so ensuring that it still exists in the most recent code is important so that we aren't chasing an already fixed problem.

By: Aaron An (aaron) 2018-12-19 06:37:44.449-0600

hi, I found a issue few days ago.
https://issues.asterisk.org/jira/browse/ASTERISK-28086?jql=issuetype%20%3D%20Bug%20AND%20text%20~%20%22pjsip%20dtmf%22%20ORDER%20BY%20created%20DESC
it seems Affects Version/s:13.14.1, 13.19.0, 15.6.1
I think this bug remains in the latest code.

By: Asterisk Team (asteriskteam) 2018-12-19 06:39:48.762-0600

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