[asterisk-bugs] [Asterisk 0018654]: [patch] [regression] Call Pickup Hangs Asterisk (deadlock?)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 12 06:01:30 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18654 
====================================================================== 
Reported By:                Docent
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18654
Category:                   Features
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-3085 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-21 01:16 CST
Last Modified:              2011-04-12 06:01 CDT
====================================================================== 
Summary:                    [patch] [regression] Call Pickup Hangs Asterisk
(deadlock?)
Description: 
Asterisk stops to service new calls when someone tries to pickup a call by
pressing *8. Some existing calls are also terminated, although others
continue to work. I still can run any command in the console, but I can't
stop or kill Asterisk. I can kill it only with -9 flag.
I found this trouble in versions 1.8.1, 1.8.2 and SVN.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0018906 Deadlock using pickup extension
has duplicate       0018955 after picking up a call, phones stop wo...
has duplicate       0019092 Calls getting stuck when dialing *8
====================================================================== 

---------------------------------------------------------------------- 
 (0133626) alecdavis (manager) - 2011-04-12 06:01
 https://issues.asterisk.org/view.php?id=18654#c133626 
---------------------------------------------------------------------- 
irroot: The patch I provided in
https://issues.asterisk.org/view.php?id=18654#c133534 bug18654.diff.txt
specfically
adresses Docent's core-show-locks.txt uploaded on 24 Jan 2011.

The common problem here is when the features.conf file has pickupsounds
enabled see https://issues.asterisk.org/view.php?id=18654#c133534, the default
is disabled, so many would not see this
issue. Of the reports where ast_stopstream was involved in the deadlock,
bug18654.diff.txt seems to the fix.

I have seen the same locks as Docent.

irroot: Do you have pickupsounds enabled in features.conf?
Your patch seems to fix another issue when using the *8 pickup feature
code. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-12 06:01 alecdavis      Note Added: 0133626                          
======================================================================




More information about the asterisk-bugs mailing list