[asterisk-bugs] [JIRA] (ASTERISK-23827) autoservice thread doesn't exit at shutdown

Corey Farrell (JIRA) noreply at issues.asterisk.org
Fri Jun 6 08:54:57 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219131#comment-219131 ] 

Corey Farrell commented on ASTERISK-23827:
------------------------------------------

I'm working on a patch for this issue, one question though.  I believe void autoservice_shutdown(void) should be handled by ast_register_cleanup, not ast_register_atexit.  Should I ignore 1.8 or backport ast_register_cleanup?

> autoservice thread doesn't exit at shutdown
> -------------------------------------------
>
>                 Key: ASTERISK-23827
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23827
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/PBX
>    Affects Versions: SVN, 1.8.28.0, 11.10.0, 12.3.0
>            Reporter: Corey Farrell
>            Severity: Minor
>
> The autoservice thread is never stopped.  This poses a problem when attempting to use the full testsuite with REF_DEBUG.  In Asterisk 11 this causes 37 instances to leak a ast_create_callid, and ao2_ref is always run on callid's hundreds or thousands of times greatly inflating the refs log.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list