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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Sat Nov 11 12:56:28 CST 2017


Richard Mudgett created ASTERISK-27413:
------------------------------------------

             Summary: 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: 15.1.2, 13.18.2
            Reporter: 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}}.

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