[asterisk-bugs] [JIRA] (ASTERISK-27704) Add cache_pools debug option to pjproject.conf
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Mon Mar 5 08:11:13 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242424#comment-242424 ]
Friendly Automation commented on ASTERISK-27704:
------------------------------------------------
Change 8288 merged by Jenkins2:
pjproject: Add cache_pools debugging option.
[https://gerrit.asterisk.org/8288|https://gerrit.asterisk.org/8288]
> 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
> Affects Versions: 13.19.2, 15.2.2
> Reporter: Richard Mudgett
> Assignee: 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