[asterisk-bugs] [Asterisk 0011165]: Deadlock in channel.c

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 9 17:31:24 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11165 
====================================================================== 
Reported By:                callguy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11165
Category:                   Channels/General
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-05-2007 14:18 CST
Last Modified:              11-09-2007 17:31 CST
====================================================================== 
Summary:                    Deadlock in channel.c
Description: 
We had what appears to be a new deadlock in channel.c today. output of core
show locks attached.
====================================================================== 

---------------------------------------------------------------------- 
 enst - 11-09-07 17:31  
---------------------------------------------------------------------- 
here is the core show locks

have you seen chan_sip.c

chan_sip.c
sipsock_read{
...
p = find_call(&req, &sin, req.method); /* returns p locked */
        |----ast_mutex_lock(&p->lock);	  0x2aaad804bc60
...
if (handle_request(p, &req, &sin, &recount, &nounlock) == -1) 
          |----__sip_ack(p, seqno, FLAG_RESPONSE, 0);
                              |=----ast_mutex_lock(&p->lock);	
0x2aaad804bc60
} 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-09-07 17:31  enst           Note Added: 0073464                          
======================================================================




More information about the asterisk-bugs mailing list