[asterisk-bugs] [JIRA] (ASTERISK-27413) Add cache_media_frames debugging option.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Nov 14 06:58:41 CST 2017


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

Friendly Automation commented on ASTERISK-27413:
------------------------------------------------

Change 7197 merged by Jenkins2:
core: Add cache_media_frames debugging option.

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

> Add cache_media_frames debugging option.
> ----------------------------------------
>
>                 Key: ASTERISK-27413
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27413
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Core/General, Core/NewFeature
>    Affects Versions: 13.18.2, 15.1.2
>            Reporter: Richard Mudgett
>            Assignee: Richard Mudgett
>
> The media frame cache gets in the way of finding use after free errors of media frames.  Tools like valgrind and MALLOC_DEBUG don't know when a frame is released because it gets put into the cache instead of being freed.
> ASTERISK-27412 was the inspiration for this feature.
> To disable the media frame cache simply disable the {{cache_media_frames}} option in {{asterisk.conf}} and restart Asterisk.
> Sample asterisk.conf setting:
> {noformat}
> [options]
> cache_media_frames=no
> {noformat}



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



More information about the asterisk-bugs mailing list