[asterisk-bugs] [JIRA] (ASTERISK-27380) ast_coredumper: allow pointing out the asterisk binary explicitly
Tzafrir Cohen (JIRA)
noreply at issues.asterisk.org
Mon Oct 30 09:21:20 CDT 2017
Tzafrir Cohen created ASTERISK-27380:
----------------------------------------
Summary: ast_coredumper: allow pointing out the asterisk binary explicitly
Key: ASTERISK-27380
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27380
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Contrib/General
Affects Versions: 15.0.0, 14.6.2, 13.17.2
Reporter: Tzafrir Cohen
Severity: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list