[asterisk-bugs] [JIRA] (ASTERISK-27050) Crash on Transcoded Audio in PERIODIC_HOOK Function

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Jun 14 14:24:58 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph closed ASTERISK-27050.
------------------------------------

                  Resolution: Fixed
    Target Release Version/s: 14.6.0

> 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
>            Assignee: Unassigned
>      Target Release: 14.6.0
>
>         Attachments: coredump.txt, extensions_crash.conf, pjsip_crash.conf, verbose-output.txt
>
>
> 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