[asterisk-bugs] [Asterisk 0018008]: deadlock in local_write trying to bridge call

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 15 03:32:27 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18008 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18008
Category:                   Channels/chan_local
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-2277 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-17 06:07 CDT
Last Modified:              2011-03-15 03:32 CDT
====================================================================== 
Summary:                    deadlock in local_write trying to bridge call
Description: 
while testing https://issues.asterisk.org/view.php?id=16057 I now have a very
stable system, but when pushing the
number of loops in a looped local channel, I finish up with a deadlock.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016057 [patch] Asterisk crashes with "Fix...
related to          0018028 Exceptionally long queue length queuing...
====================================================================== 

---------------------------------------------------------------------- 
 (0132930) alecdavis (manager) - 2011-03-15 03:32
 https://issues.asterisk.org/view.php?id=18008#c132930 
---------------------------------------------------------------------- 
file chan_local.c:

static void check_bridge(struct local_pvt *p)
{
        struct ast_channel_monitor *tmp;
        if (ast_test_flag(p, LOCAL_ALREADY_MASQED) || ast_test_flag(p,
LOCAL_NO_OPTIMIZATION) || !p->chan || !p->owner ) {
                return;
        }

        /* This will dead lock the other channel */
        if (p->chan->_bridge != ast_bridged_channel(p->chan)) {
                return;
        } 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-15 03:32 alecdavis      Note Added: 0132930                          
======================================================================




More information about the asterisk-bugs mailing list