[Home]

Summary:ASTERISK-27380: ast_coredumper: allow pointing out the asterisk binary explicitly
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2017-10-30 09:19:40Date Closed:2017-10-31 06:49:02
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Contrib/General
Versions:13.17.2 14.6.2 15.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I tried using ast_coredumper for a version I built myself. I normally don't install asterisk on the system. Therefore the version of asterisk in /usr/sbin/asterisk is not the one that generated the core files.

For my case I could run:

 PATH=$PWD/main:$PATH ./contrib/scripts/ast_coredumper

However, this would not work for cases someone uses a renamed asterisk binary (for instance, a wrapper script at /usr/sbin/asterisk with /usr/sbin/asterisk.real).

I have a aptch that I wrote and tested on asterisk 13 (to add the option --asterisk-bin) and applies cleanly on master.
Comments:By: Asterisk Team (asteriskteam) 2017-10-30 09:19:40.572-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: Friendly Automation (friendly-automation) 2017-10-31 06:49:03.616-0500

Change 6938 merged by Joshua Colp:
ast_coredumper: allow setting asterisk binary explicitly

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

By: Friendly Automation (friendly-automation) 2017-10-31 07:01:37.885-0500

Change 6939 merged by Jenkins2:
ast_coredumper: allow setting asterisk binary explicitly

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

By: Friendly Automation (friendly-automation) 2017-10-31 07:24:19.247-0500

Change 6940 merged by Jenkins2:
ast_coredumper: allow setting asterisk binary explicitly

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