[asterisk-dev] Need help tracking a deadlock

Kirill Katsnelson kkm at adaptiveai.com
Fri Apr 22 02:02:38 CDT 2011


https://issues.asterisk.org/file_download.php?file_id=29194

Both issues have the same root cause: p->owner is not locked when 
entering chan_sip.c:handle_request().

I have no idea how that could have been the case. Code in 
scheduler_process_request_queue() clearly takes the lock, and this is 
how handle_request was invoked in the first case mentioned (the 
deadlock). I am kinda stuck.

Would appreciate any pointers.

  -kkm



More information about the asterisk-dev mailing list