[asterisk-bugs] [Asterisk 0019112]: [patch] Deadlock ao2_callback / ast_write / handle_incoming

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 13 08:49:28 CDT 2011


The following issue has been set as RELATED TO issue 0019107. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19112 
====================================================================== 
Reported By:                irroot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19112
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.4-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1171 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-13 03:10 CDT
Last Modified:              2011-04-13 08:49 CDT
====================================================================== 
Summary:                    [patch] Deadlock ao2_callback / ast_write /
handle_incoming
Description: 

Channel walk is contending a lock on a channel held by ast_write while
sip_write is contending a private lock held by handle incoming that is
contending the channel lock held by the write ...

now if i was holding the channel lock in handle_incoming before i locked
private this would not happen ...
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0019107 Deadlock between rtp_engine.c (ast_rtp_...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-13 08:49 lmadsen        Relationship added       related to 0019107  
======================================================================




More information about the asterisk-bugs mailing list