[asterisk-bugs] [Asterisk 0015340]: [patch] Deadlock when performing directed pickup

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 16 23:33:25 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15340 
====================================================================== 
Reported By:                lmsteffan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15340
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 200477 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-16 22:46 CDT
Last Modified:              2009-06-16 23:33 CDT
====================================================================== 
Summary:                    [patch] Deadlock when performing directed pickup
Description: 
When a phone tries to pickup a ringing extension (through SIP INVITE with
Replace) there sometimes occurs a deadlock. The attached file contains a
snapshot of such a deadlock. Two threads have interlocked, each one waiting
on a lock already owned by the other (the first lock protects the channel
clonechan/chan, the other protects its sip_pvt part p/i)

The included patch assumes that it is necessary to unlock the sip_pvt
pointer before hanging up the channel to which it belongs. Can someone
confirm that ?
====================================================================== 

---------------------------------------------------------------------- 
 (0106531) juggie (manager) - 2009-06-16 23:33
 https://issues.asterisk.org/view.php?id=15340#c106531 
---------------------------------------------------------------------- 
Reporter requested via irc to change category.  As his/her reported
bug/patch resides within chan_sip.
 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-16 23:33 juggie         Note Added: 0106531                          
2009-06-16 23:33 juggie         Category                
Applications/app_directed_pickup => Channels/chan_sip/General
======================================================================




More information about the asterisk-bugs mailing list