[asterisk-bugs] [Asterisk 0019191]: deadlock in chan_sip

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 3 17:42:32 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19191 
====================================================================== 
Reported By:                byronclark
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19191
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.17.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-27 11:16 CDT
Last Modified:              2011-05-03 17:42 CDT
====================================================================== 
Summary:                    deadlock in chan_sip
Description: 
I've only seen this happen twice, both instances separated by about a
month.  
The only symptom is that Asterisk stops responding to SIP packets.

This time I ran 'pkill -11 asterisk' when it happened so I could get a
core dump. So, when looking at the backtrace, the segfault isn't the
problem.
====================================================================== 

---------------------------------------------------------------------- 
 (0134377) byronclark (reporter) - 2011-05-03 17:42
 https://issues.asterisk.org/view.php?id=19191#c134377 
---------------------------------------------------------------------- 
It appears that ast_rdlock_contexts() and ast_wrlock_contexts() both call
ast_mutex_lock which in turn calls pthread_mutex_lock, so these definitely
aren't rwlocks. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 17:42 byronclark     Note Added: 0134377                          
======================================================================




More information about the asterisk-bugs mailing list