[asterisk-bugs] [Asterisk 0017931]: Random Deadlocks maybe in find_call() of chan_sip. or ast_call() of channel.c

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 9 04:43:15 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17931 
====================================================================== 
Reported By:                thsgmbh
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17931
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-31 02:38 CDT
Last Modified:              2010-09-09 04:43 CDT
====================================================================== 
Summary:                    Random Deadlocks maybe in find_call() of chan_sip.
or ast_call() of channel.c
Description: 
I get randomly deadlocks and i'm not sure, what's the reason for that!?!

It is reproducible with the attached test call file, which calls a ring
group with 5-10 extensions. The issue does not occur directly after
restarting asterisk but when there were at least some calls.

Maybe there are two different issues!?!
(backtrace1.txt after random daily deadlock, backtrace2-4.txt after
executing call file)

I have a feeling that the "notifycid=ignore-context" setting is
responsible for that!? All the extensions in the ring group have
subscriptions and generate dialoginfos for snom phones...

Backtrace debug files and test call file attached...
====================================================================== 

---------------------------------------------------------------------- 
 (0126769) thsgmbh (reporter) - 2010-09-09 04:43
 https://issues.asterisk.org/view.php?id=17931#c126769 
---------------------------------------------------------------------- 
And again a deadlock... (uploaded additional backtrace file)

With "core set debug 15" you can see thousands of channel locks and
unlocks before the deadlock occurs, it seems like an infinite loop?!

What can cause the many channel locks?? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-09 04:43 thsgmbh        Note Added: 0126769                          
======================================================================




More information about the asterisk-bugs mailing list