[asterisk-bugs] [Asterisk 0016432]: racecondition leading to deadlock in chan_local

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 22 16:04:54 CST 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16432 
====================================================================== 
Reported By:                fnordian
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16432
Category:                   Channels/chan_local
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                       SWP-528 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 230432 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-11 10:12 CST
Last Modified:              2010-02-22 16:04 CST
====================================================================== 
Summary:                    racecondition leading to deadlock in chan_local
Description: 
Hi,

there's a race in chan_local between local_hangup and queuing a dtmf
(ast_senddigit ... local_queue_frame), which can cause hanging channels and
a hanging ast_senddigit.

This is possible because local_digit_*-functions assume that they were
called on an unlocked channel, which is not always the cases, e.g.
manager_play_dtmf uses a locked channel to call ast_senddigit. With this
wrong assumption, deadlock_avoidance code is not called.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016630 [regression] Transfer is broken
related to          0016513 [patch] Transferee  can hear silence on...
====================================================================== 

---------------------------------------------------------------------- 
 (0118368) lmadsen (administrator) - 2010-02-22 16:04
 https://issues.asterisk.org/view.php?id=16432#c118368 
---------------------------------------------------------------------- 
This may already be fixed per the other related issues. The one note on
16630 reads as: "lmadesen: I just installed 244151 and tested my reported
scenario and the transfer problem is fixed in this revision."

Please test after revision 244151 and report back. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-22 16:04 lmadsen        Note Added: 0118368                          
2010-02-22 16:04 lmadsen        Status                   acknowledged =>
feedback
======================================================================




More information about the asterisk-bugs mailing list