[asterisk-bugs] [JIRA] (ASTERISK-27704) Add cache_pools debug option to pjproject.conf
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Tue Feb 27 19:14:13 CST 2018
Richard Mudgett created ASTERISK-27704:
------------------------------------------
Summary: Add cache_pools debug option to pjproject.conf
Key: ASTERISK-27704
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27704
Project: Asterisk
Issue Type: New Feature
Security Level: None
Components: Resources/res_pjsip/Bundling
Affects Versions: 13.19.2, 15.2.2
Reporter: Richard Mudgett
The pjproject memory pool cache gets in the way of finding use after free errors of pool contents. Tools like valgrind and MALLOC_DEBUG don't know when a pool is released because the most important memory block gets put into the cache instead of being freed.
To disable the memory pool cache simply disable the {{cache_pools}} option in {{pjproject.conf}} and restart Asterisk.
Sample pjproject.conf setting:
{noformat}
[startup]
cache_pools=no
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list