[Home]

Summary:ASTERISK-25820: Segmentation fault in ast_channel_dialed_causes_add
Reporter:Marius Cojocariu (marius)Labels:
Date Opened:2016-02-29 09:02:46.000-0600Date Closed:2020-01-14 11:13:51.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:13.5.0 Frequency of
Occurrence
Occasional
Related
Issues:
Environment:Attachments:( 0) backtrace.txt
( 1) bt.txt
( 2) bt_full.txt
( 3) thread_apply_all_bt.txt
Description:Asterisk crashes infrequently, at least once per day.

{code}
#0  0x00000000004cdb8d in ast_channel_dialed_causes_add (chan=0x0, cause_code=0x7fe89010e7b0, datalen=109) at channel_internal_api.c:1420
#1  0x00000000004b6c27 in ast_channel_hangupcause_hash_set (chan=0x0, cause_code=0x7fe89010e7b0, datalen=109) at channel.c:4355
#2  0x00007fe8a08733ac in chan_pjsip_incoming_response (session=0x6710768, rdata=<value optimized out>) at chan_pjsip.c:2242
{code}
Comments:By: Asterisk Team (asteriskteam) 2016-02-29 09:02:46.891-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: Marius Cojocariu (marius) 2016-02-29 09:05:55.221-0600

Attached results for bt, bt full and thread apply all bt gdb commands.

By: Joshua C. Colp (jcolp) 2016-02-29 09:06:14.758-0600

Please specify what version of 13 this is filed against. I believe this was already fixed.

By: Marius Cojocariu (marius) 2016-02-29 09:12:01.847-0600

Hey Joshua,

The asterisk full version is 13.5.0.

{code}
asterisk*CLI> core show version
Asterisk 13.5.0 built by asterisk @ asterisk.digitalya.ro on a x86_64 running Linux on 2016-01-05 10:30:05 UTC
{code}

Thank you.

By: Rusty Newton (rnewton) 2016-02-29 13:18:57.044-0600

Marius,

Please provide the following information on the three crashes you have reported. Provide the answers or required information on each of the issues respectively:

* Can you reproduce the issue?
** If you can, please attach a guide on how to reproduce the crash including all configuration necessary.
* Do all three crashes occur on the same machine/instance of Asterisk?
* Can you test against the latest version of Asterisk 13 to see if these crashes still occur?
**  Be aware there has been security fixes since your version and you should upgrade to 13.7.2 to get the fixes.

By: Rusty Newton (rnewton) 2016-02-29 13:21:26.962-0600

In addition please provide any Asterisk log that was captured in the minutes leading up to the crash.

Preferably if you can reproduce the issue then gather a debug log as per the [instructions on the wiki|https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information].

By: Asterisk Team (asteriskteam) 2016-03-15 12:00:01.704-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

By: Hugo Castro de Deco (hugodeco) 2016-05-02 09:40:59.952-0500

I'm having the same problem on asterisk 13.9.0 rc1

By: Hugo Castro de Deco (hugodeco) 2016-05-02 10:03:38.086-0500

Error report