[asterisk-bugs] [JIRA] (ASTERISK-27050) Crash on Transcoded Audio in PERIODIC_HOOK Function
Joshua Elson (JIRA)
noreply at issues.asterisk.org
Mon Jun 12 14:36:58 CDT 2017
Joshua Elson created ASTERISK-27050:
---------------------------------------
Summary: Crash on Transcoded Audio in PERIODIC_HOOK Function
Key: ASTERISK-27050
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27050
Project: Asterisk
Issue Type: Bug
Security Level: None
Affects Versions: 14.5.0
Reporter: Joshua Elson
Attachments: coredump.txt, extensions_crash.conf, pjsip_crash.conf
This is an interesting one. Transcoding an audio file on a periodic hook will almost always cause a crash. If it does not cause a crash, it will peg a core and eventually lock up Asterisk.
Steps are as follows:
The originating endpoint needs to use a higher def codec (confirmed crashing with opus,g722, and speex 16/32)
The dialplan must apply a PERIODIC_HOOK to the originating channel.
Playback a *.wav file on the same channel the HOOK was enabled on.
(Tested this with .sln16/.gsm and things work as expected.)
This usually causes a core dump of asterisk, but occasionally locks up the thread, pegging a core and making asterisk totally unresponsive.
Attaching the stack trace and sample dialplan to generate the issue.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list