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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Aug 8 10:11:00 CDT 2018


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

Asterisk Team updated ASTERISK-27704:
-------------------------------------

    Target Release Version/s: 16.0.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, 15.4.0, 16.0.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