Summary:ASTERISK-19842: POTS flashhook transfer causes deadlock
Reporter:Richard Mudgett (rmudgett)Labels:
Date Opened:2012-05-04 10:50:20Date Closed:2012-06-06 16:31:20
Versions:Frequency of
Environment:Attachments:( 0) dahdi_deadlock.txt
( 1) deadlock_analog_xfer_show_locks.txt
Description:A deadlock can occur when a POTS phone tries to flashhook for 3-way calling or transfer.  If another process is scanning the channels container when the POTS line flashhooks a deadlock will occur.

Found while testing the patch for ASTERISK-16711.  While a 150 local channel chain is attempting to optimize out the local channels in the call, do a flashhook to transfer the call.
Comments:By: Richard Mudgett (rmudgett) 2012-05-04 10:52:45.633-0500

[^deadlock_analog_xfer_show_locks.txt] is a core show locks of the deadlock with a brief description of how it was induced.

[^dahdi_deadlock.txt] Shows the line of code causing the problem.