Richard Mudgett
90bb0a3e10
core: Add cache_media_frames debugging option.
...
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.
* Added the "cache_media_frames" option to asterisk.conf. Disabling the
option helps track down media frame mismanagement when using valgrind or
MALLOC_DEBUG. The cache gets in the way of determining if the frame is
used after free and who freed it. NOTE: This option has no effect when
Asterisk is compiled with the LOW_MEMORY compile time option enabled
because the cache code does not exist.
To disable the media frame cache simply disable the cache_media_frames
option in asterisk.conf and restart Asterisk.
Sample asterisk.conf setting:
[options]
cache_media_frames=no
ASTERISK-27413
Change-Id: I0ab2ce0f4547cccf2eb214901835c2d951b78c00
2017-11-11 14:46:15 -05:00
..
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-09-02 13:01:13 -05:00
2015-12-21 16:02:09 -08:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-11-14 13:51:56 -05:00
2017-01-20 11:20:22 -06:00
2014-07-17 21:17:28 +00:00
2017-11-11 14:46:15 -05:00
2016-10-10 10:43:53 -05:00
2016-09-02 13:01:13 -05:00
2015-05-05 04:38:33 -04:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-09-15 13:16:04 +03:00
2015-04-27 09:38:15 -05:00
2014-07-17 21:17:28 +00:00
2017-05-25 10:02:42 +02:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-06-19 12:28:18 -04:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2015-05-05 07:59:12 -04:00
2017-05-25 10:02:42 +02:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-10-27 23:46:00 +03:00
2014-07-17 21:17:28 +00:00
2014-10-17 22:45:27 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-06-11 12:08:05 -05:00
2017-08-22 11:23:45 -05:00
2017-07-13 11:44:14 -04:00
2016-09-02 13:01:13 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-07-26 17:46:25 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-04-07 08:44:49 -05:00
2015-04-29 01:02:10 -04:00
2014-07-17 21:17:28 +00:00
2017-04-08 03:16:26 -05:00
2014-07-17 21:17:28 +00:00
2016-01-16 20:02:43 +00:00
2014-07-17 21:17:28 +00:00
2016-05-26 08:00:09 +03:00
2016-05-20 13:46:03 -04:00
2017-05-09 05:38:59 -05:00
2016-02-03 15:10:16 -06:00
2015-04-10 12:23:42 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-05-08 16:49:13 -05:00
2016-08-15 07:34:29 -05:00
2014-07-17 21:17:28 +00:00
2016-09-02 13:01:13 -05:00
2017-08-30 18:43:38 +00:00
2016-09-02 13:01:13 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-07-11 14:43:41 -06:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-09-02 13:01:13 -05:00
2014-07-17 21:17:28 +00:00
2014-10-09 17:46:23 +00:00
2016-11-30 13:11:48 -06:00
2014-07-17 21:17:28 +00:00
2017-03-28 15:51:21 -06:00
2017-11-06 08:11:48 -05:00
2017-05-22 09:20:02 -03:00
2017-08-01 15:42:37 -06:00
2014-07-17 21:17:28 +00:00
2017-05-25 10:02:42 +02:00
2017-10-09 08:16:44 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2015-01-09 14:53:09 +00:00
2014-07-17 21:17:28 +00:00
2017-02-02 11:28:05 -06:00
2016-03-25 18:25:47 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-09-02 13:01:13 -05:00
2014-07-17 21:17:28 +00:00
2015-03-25 12:32:26 +00:00
2017-04-11 12:58:35 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-11-06 08:11:48 -05:00
2016-09-02 13:01:13 -05:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2017-04-07 08:44:49 -05:00
2014-07-17 21:17:28 +00:00
2014-12-01 17:59:21 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2014-07-17 21:17:28 +00:00
2016-09-02 13:01:13 -05:00
2014-07-17 21:17:28 +00:00
2017-06-22 12:23:27 -05:00
2016-09-02 13:01:13 -05:00
2017-08-15 06:09:52 -05:00