[asterisk-bugs] [Asterisk 0018491]: [patch] fix SIP indicate deadlocks when lots of state changes

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 28 06:42:15 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18491 
====================================================================== 
Reported By:                cmaj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18491
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.1.1 
JIRA:                       SWP-2760 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-16 16:21 CST
Last Modified:              2011-01-28 06:42 CST
====================================================================== 
Summary:                    [patch] fix SIP indicate deadlocks when lots of
state changes
Description: 
Running 1.8.2-rc1 and was able to deadlock several times during failed SIP
state change indications.  Found by testing 4 SIP phones in close proximity
and rapidly, yet manually, transferring blind, parking calls, picking them
up at another phone, etc.  Also, was using the Bridge() app for buddy
pickup purposes.
====================================================================== 

---------------------------------------------------------------------- 
 (0131163) gelo (reporter) - 2011-01-28 06:42
 https://issues.asterisk.org/view.php?id=18491#c131163 
---------------------------------------------------------------------- 
We've just had a crash, I can see it's related to sip_set_rtp_peer
function, that is why I'm attaching debug information here.

Asterisk was running fine until last week, when some queue agents began
making transfers, then deadlock issues started. This crash happened right
after one of these transfers.

Also, I had to recompile without DEBUG_THREADS, as htop showed CPU usage
around 90%, asterisk process reaching 395% (AWESOME!). Users complaint
about sound delays, so I removed the flag and CPU usage went down to
https://issues.asterisk.org/view.php?id=5#c1%,
asterisk process around 70% (can't figure out how this is possible with
just one quad core) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-28 06:42 gelo           Note Added: 0131163                          
======================================================================




More information about the asterisk-bugs mailing list