[asterisk-bugs] [JIRA] (ASTERISK-27094) res_fax: Deadlock when using Local channels and fax gateway

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Jul 6 10:53:58 CDT 2017


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

Richard Mudgett commented on ASTERISK-27094:
--------------------------------------------

I can see a potential for deadlock with thread 6 *only if* the first ast_indicate() is being invoked in bridge_channel_internal_join().  That call to ast_indicate() happens with the bridge locked.  However, since the backtrace is missing a lot of information, I don't know if that is the line invoking ast_indicate().  I also cannot identify the deadlocked threads because the backtrace doesn't include parameter values to associate the deadlocked threads.  An unoptimized backtrace and/or DEBUG_THREADS for a "core show locks" is needed to see the deadlock scenario.

> res_fax: Deadlock when using Local channels and fax gateway
> -----------------------------------------------------------
>
>                 Key: ASTERISK-27094
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27094
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax
>    Affects Versions: 13.15.1
>            Reporter: David Brillert
>         Attachments: gdbthreadapplyallbt.txt
>
>
> All calling via SIP PSTN carrier.
> progressinband = yes
> directmedia =  yes
> prematuremedia  =  no
> Incoming call A is answered with progress
> Then bridged with progress to external call B
> Call is processed with audio OK
> But no further SIP processing in console and all SIP further signalling dies including OPTIONS packets.
> This looks like a deadlock but asterisk not compiled with DEBUG_THREADS so I attached gdb to asterisk pid and have attached a txt file.



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



More information about the asterisk-bugs mailing list