[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
Fri Sep 24 02:23:50 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-24 02:23 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0127355) schmidts (developer) - 2010-09-24 02:23
 https://issues.asterisk.org/view.php?id=17931#c127355 
---------------------------------------------------------------------- 
the astdb del could be the cause of the lock! 
have a look at https://reviewboard.asterisk.org/r/825/ 
depending how many entries you have in astdb it tooks really long to wait
until its on the disk. maybe you could try this patch from above if this
solves your issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-24 02:23 schmidts       Note Added: 0127355                          
======================================================================




More information about the asterisk-bugs mailing list