[asterisk-dev] [Code Review] [patch] Use of MASTER_CHANNEL causes a race condition ending in a deadlock among channels
Kirill Katsnelson
kkm at adaptiveai.com
Thu Mar 3 20:42:57 CST 2011
On 110301 0812, Russell Bryant wrote:
> Yes, this is part of the deadlock we are seeing as well. The thread you
> are pointing to is blocking waiting on a channel lock.
>
>> === --- ---> Locked Here: channel.c line 3636 (__ast_read)
>
> It says it's locked in a thread that called ast_read(). What is that
> thread blocking on, though?
The thread is a pbx_thread in WaitForSilence application. Why it would
go into that while holding a channel lock, is beyond my understanding.
> By the way, which issue are you referring to? #28643 isn't a valid
> mantis issue number.
Russel, I am sorry, I messed up the ticket number. It's #18823.
-kkm
More information about the asterisk-dev
mailing list