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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Sat Nov 11 13:02:27 CST 2017


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

Richard Mudgett updated ASTERISK-27413:
---------------------------------------

    Description: 
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}


  was:
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}}.

Sample asterisk.conf setting:
{noformat}
[options]
cache_media_frames=no
{noformat}



> 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