Summary: | ASTERISK-27413: Add cache_media_frames debugging option. | ||
Reporter: | Richard Mudgett (rmudgett) | Labels: | |
Date Opened: | 2017-11-11 12:54:33.000-0600 | Date Closed: | 2017-11-14 06:57:45.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Core/General Core/NewFeature |
Versions: | 13.18.2 15.1.2 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
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} | ||
Comments: | By: Friendly Automation (friendly-automation) 2017-11-14 06:57:46.425-0600 Change 7197 merged by Jenkins2: core: Add cache_media_frames debugging option. [https://gerrit.asterisk.org/7197|https://gerrit.asterisk.org/7197] By: Friendly Automation (friendly-automation) 2017-11-14 07:14:45.598-0600 Change 7196 merged by Jenkins2: core: Add cache_media_frames debugging option. [https://gerrit.asterisk.org/7196|https://gerrit.asterisk.org/7196] By: Friendly Automation (friendly-automation) 2017-11-14 07:16:31.530-0600 Change 7195 merged by Joshua Colp: core: Add cache_media_frames debugging option. [https://gerrit.asterisk.org/7195|https://gerrit.asterisk.org/7195] |