[asterisk-bugs] [Asterisk 0019330]: [patch] Deadlock in chan_sip.c handle_incoming()

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 23 09:46:47 CDT 2011


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=19330 
====================================================================== 
Reported By:                one47
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19330
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-19 08:33 CDT
Last Modified:              2011-05-23 09:46 CDT
====================================================================== 
Summary:                    [patch] Deadlock in chan_sip.c handle_incoming()
Description: 
There are several bug reports open which involve deadlocks in chan_sip.c
handle_incomig() not having a channel lock held before a pvt lock:
    https://issues.asterisk.org/view.php?id=19117
    https://issues.asterisk.org/view.php?id=19107
    https://issues.asterisk.org/view.php?id=19112

These deadlocks will apply to 1.6.2.18 and to 1.8.4, but I also believe
that branches/1.8  and trunk/ already contain a fix that comes from
https://reviewboard.asterisk.org/r/1182/ that removes this issue by
removing the 
request_queue from chan_sip.c completely.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0019107 Deadlock between rtp_engine.c (ast_rtp_...
related to          0019112 [patch] Deadlock ao2_callback / ast_wri...
====================================================================== 

---------------------------------------------------------------------- 
 (0135270) lmadsen (administrator) - 2011-05-23 09:46
 https://issues.asterisk.org/view.php?id=19330#c135270 
---------------------------------------------------------------------- 
After speaking with Russell, it's a bit too late to get this into 1.4 and
1.6, and as it has already been resolved in Asterisk 1.8 and later, I'd
encourage you to move to 1.8 if this is an issue for you. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-23 09:46 lmadsen        Note Added: 0135270                          
2011-05-23 09:46 lmadsen        Status                   confirmed => closed 
======================================================================




More information about the asterisk-bugs mailing list