[asterisk-bugs] [Asterisk 0012918]: Deadlock

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 5 17:20:10 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12918 
====================================================================== 
Reported By:                callguy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12918
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-06-23 14:37 CDT
Last Modified:              2008-10-05 17:20 CDT
====================================================================== 
Summary:                    Deadlock
Description: 
We're seeing 1.4.20.1 deadlock periodically, but not permanently at first.
Most of the time the output of sip show peers or core show locks will not
return anything, then after a lengthy delay they will scroll across the
buffer.

call processing also stops completely during this time, then will resume.
after a few cycles the box stops responding in any meaningful way. output
of two core show locks captures attached. 
====================================================================== 

---------------------------------------------------------------------- 
 (0093192) russell (administrator) - 2008-10-05 17:20
 http://bugs.digium.com/view.php?id=12918#c93192 
---------------------------------------------------------------------- 
This is not actually a bug.  The code is doing exactly what we would
expect.  The good is news is that I would expect this type of usage to work
_much_ better in 1.6.1 or later.

The way the data structures are managed in chan_sip in versions prior to
1.6.1, access to the list of all SIP peers will be completely blocked while
any sort of "sip show peers" type operation is performed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-05 17:20 russell        Note Added: 0093192                          
======================================================================




More information about the asterisk-bugs mailing list