[asterisk-bugs] [JIRA] (ASTERISK-27704) Add cache_pools debug option to pjproject.conf

Chris Savinovich (JIRA) noreply at issues.asterisk.org
Thu Apr 19 13:27:03 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Savinovich updated ASTERISK-27704:
----------------------------------------

    Target Release Version/s: 13.21.0

> 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
>      Target Release: 13.21.0
>
>
> 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