[Home]

Summary:ASTERISK-26953: Asterisk crash if hep.conf have some missing parameters
Reporter:Joel Vandal (jvandal)Labels:
Date Opened:2017-04-20 11:27:38Date Closed:2017-04-25 16:49:25
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_hep
Versions:13.15.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:If the /etc/asterisk/hep.conf only have :

[general]
enabled = no

Then Asterisk will crash if we use "reload" command on Asterisk CLI

If we start asterisk with : " asterisk -vvvvgc " then we see screen flooded by the "prompt" (ex. cli*> cli*> cli*> cli*> cli*>)

Unfortunately I'm unable to get a coredump file (still investigating why the coredump isnt generated for Asterisk)
Comments:By: Asterisk Team (asteriskteam) 2017-04-20 11:27:39.568-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: Joel Vandal (jvandal) 2017-04-20 11:31:29.962-0500

Crash :

[general]
enabled = no

No crash :

[general]
enabled         =  no
capture_address =  0.0.0.0:9060


So the capture_address parameter must absolutely defined else it cause Asterisk to crash on reload.

By: Friendly Automation (friendly-automation) 2017-04-25 16:35:38.938-0500

Change 5520 merged by George Joseph:
res_hep: Add additional config initialization and validation

[https://gerrit.asterisk.org/5520|https://gerrit.asterisk.org/5520]

By: Friendly Automation (friendly-automation) 2017-04-25 16:37:56.575-0500

Change 5519 merged by George Joseph:
res_hep: Add additional config initialization and validation

[https://gerrit.asterisk.org/5519|https://gerrit.asterisk.org/5519]

By: Friendly Automation (friendly-automation) 2017-04-25 16:40:24.732-0500

Change 5521 merged by George Joseph:
res_hep: Add additional config initialization and validation

[https://gerrit.asterisk.org/5521|https://gerrit.asterisk.org/5521]