[asterisk-bugs] [JIRA] (ASTERISK-28019) Crash in ast_format_get_sample_rate when play an audio

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Mon Sep 10 16:35:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244752#comment-244752 ] 

Benjamin Keith Ford commented on ASTERISK-28019:
------------------------------------------------

That patch was just a test to help get started with what may be going on in Asterisk. The fact that it does not crash with the patch applied helps narrow down the problem, but it's still a mystery why the crash is happening. It could have something to do with a format having a "none" type instead of NULL, which could be causing issues further down in audiohooks, since NULL would / should create issues sooner than that. The patch also has a memory leak (the cap is never freed), so it is not the end solution, just a good place for us to start. I believe we have enough information here to go ahead and open the issue up.

> Crash in ast_format_get_sample_rate when play an audio
> ------------------------------------------------------
>
>                 Key: ASTERISK-28019
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28019
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_playback
>    Affects Versions: 13.22.0
>         Environment: > cat /proc/version
> Linux version 3.10.0-693.2.2.el7.x86_64 (builder at kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Sep 12 22:26:13 UTC 2017
> > rasterisk -V
> Asterisk 13.22.0
>            Reporter: Cirillo
>            Assignee: Unassigned
>            Severity: Minor
>              Labels: pjsip
>         Attachments: core.ANTIBES-2018-08-21T09-02-21-0300-brief.txt, core.ANTIBES-2018-08-21T09-02-21-0300-full.txt, core.ANTIBES-2018-08-21T09-02-21-0300-locks.txt, core.ANTIBES-2018-08-21T09-02-21-0300-thread1.txt, encerrar_aguedarmairtarde.wav, full
>
>
> Asterisk crashed in ast_format_get_sample_rate when try play an audio.
> I already tried use SLIN, GSM, G711 (A-law and mu-law) codecs and in all cases the crash occurs.
> Dialplan:
> (...)
> same => n,Playback(./pt_BR/altrium/felicitacao/encerrar_aguedarmairtarde)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list