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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 19 13:58:17 CDT 2011


The following issue has been set as RELATED TO issue 0019330. 
====================================================================== 
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:                     confirmed
Asterisk Version:           1.8.4-rc2 
JIRA:                       SWP-3327 
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-05-19 13:58 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_...
related to          0019330 [patch] Deadlock in chan_sip.c handle_i...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-19 13:58 lmadsen        Relationship added       related to 0019330  
======================================================================




More information about the asterisk-bugs mailing list