[Home]

Summary:ASTERISK-22732: Deadlock potential in res_fax and CCSS with local channels.
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2013-10-18 18:11:17Date Closed:2016-08-26 14:05:05
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/CallCompletionSupplementaryServices Resources/res_fax
Versions:1.8.23.1 11.5.1 12.0.0-beta1 Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-24822 Deadlock: Fax Gateway framehook creates locking inversion in T.38 query option with features bridging code
is duplicated byASTERISK-26203 res_fax: Deadlock when using FAXOPT(gateway)=yes with Local channels
Environment:Attachments:
Description:res_fax and CCSS code call ast_channel_queryoption() with a channel lock held.  If the specified channel is a local channel, there is a deadlock potential due to how local channels have to do deadlock avoidance.

All calls to ast_channel_queryoption() must not have a channel lock held by the caller.

There is a brief discussion about it in https://reviewboard.asterisk.org/r/2915/
Comments:By: Richard Mudgett (rmudgett) 2016-08-25 19:00:07.057-0500

Gerrit reviews:
https://gerrit.asterisk.org/#/c/3698/ through https://gerrit.asterisk.org/#/c/3723/