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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Feb 15 17:49:06 CST 2022


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

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

Change 17955 merged by Friendly Automation:
taskprocessor.c: Prevent crash on graceful shutdown

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

> 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