[asterisk-bugs] [JIRA] (ASTERISK-29365) taskprocessor: Can cause assert at shutdown

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Feb 16 11:38:06 CST 2022


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

Friendly Automation commented on ASTERISK-29365:
------------------------------------------------

Change 17999 merged by Joshua Colp:
taskprocessor.c: Prevent crash on graceful shutdown

[https://gerrit.asterisk.org/c/asterisk/+/17999|https://gerrit.asterisk.org/c/asterisk/+/17999]

> taskprocessor: Can cause assert at shutdown
> -------------------------------------------
>
>                 Key: ASTERISK-29365
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29365
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 16.16.2, 18.2.2
>            Reporter: Joshua C. Colp
>         Attachments: backtrace_14892.txt
>
>
> When shutting down there can still be taskprocessor threads in progress. If the tps_shutdown function is called before these threads complete then an assert will occur due to passing a NULL container into ao2_link.



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



More information about the asterisk-bugs mailing list