[Home]

Summary:ASTERISK-29168: Asterisk crashes during call transfer
Reporter:Dalius Mockevicius (Daliusm)Labels:
Date Opened:2020-11-18 08:50:34.000-0600Date Closed:2021-01-06 16:48:23.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:CDR/General
Versions:18.0.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS Linux release 7.8.2003 (Core)Attachments:( 0) core.fv_demo-2020-11-18T16-10-01+0200-brief.txt
( 1) core.fv_demo-2020-11-18T16-10-01+0200-full.txt
( 2) core.fv_demo-2020-11-18T16-10-01+0200-info.txt
( 3) core.fv_demo-2020-11-18T16-10-01+0200-locks.txt
( 4) core.fv_demo-2020-11-18T16-10-01+0200-thread1.txt
Description:Asterisk crashes with segmentation fault during call transfer

Comments:By: Asterisk Team (asteriskteam) 2020-11-18 08:50:35.429-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. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

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].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

By: Kevin Harwell (kharwell) 2020-12-15 17:54:16.804-0600

Do you still have the core file available? If so, and you agree to the disclaimer below, can run the {{ast_coredumper}} script against it again, and include the core file and support libs as well? For instance:
{noformat}
$ /var/lib/asterisk/scripts/ast_coredumper --tarball-coredumps --no-default-search <path_to_coredump>
{noformat}
Once done please email the *.tar.gz file to asteriskteam@digium.com with a subject of ASTERISK-29168, or host it on a shared site we can pull it down from.

As well please note the following before sending the information:
{panel:title=Private Submission of Information Disclaimer}You have indicated that you wish to submit unredacted information privately. It is not recommended to do this as it will substantially restrict the number of individuals who can help with your issue, as submitted information is only available to Sangoma. Note that submission of such information does not change the priorization of this issue. If you still wish to proceed you may do so by sending it to asteriskteam@digium.com with the issue number in the subject. For large files please send a link where they can then be downloaded. By sending this information you agree to the Website Terms of Use available on the Sangoma website at https://www.sangoma.com/legal/. Any exchange of private information between you and an Asterisk community member outside of the Asterisk JIRA is not subject to the Website Terms of Use and should be privately discussed between yourself and the Asterisk community member.{panel}

Thanks!


By: Dalius Mockevicius (Daliusm) 2020-12-18 13:05:40.763-0600

I have no old core files but I reproduced this bug again and send files to your email



By: Kevin Harwell (kharwell) 2020-12-22 17:56:40.489-0600

Thanks for the core file. I was able to use it to track down the problem. I  have posted a [patch for review|https://gerrit.asterisk.org/c/asterisk/+/15232]. If you could please download, apply, and test the associated patch and let me know if it fixes the issue it would be much appreciated!

By: Kevin Harwell (kharwell) 2020-12-22 17:57:15.473-0600

[~rossbeer] tagging you as I believe you ran into a similar issue.

By: Dalius Mockevicius (Daliusm) 2020-12-30 11:05:54.191-0600

Kevin Harwell, I have applied patch and it fixed the issue.
Thank you!

By: George (a4business) 2020-12-31 10:59:22.721-0600

   It saved my ass as well,   I  had problem with asterisk crashes and core dumps  across asterisk 16, 17 and 18  with realtime diaplans.
    This patch fixed it in asterisk 17.6.0 with realtime  dialplan on production !

  Thank you, Kevin and Dalius !




By: Ross Beer (rossbeer) 2021-01-04 10:26:29.160-0600

I've been running for 5 days with no issues so far so I believe this patch has resolved the issue with 18

By: Kevin Harwell (kharwell) 2021-01-04 13:27:55.208-0600

Good to hear. Thanks all for testing!