[asterisk-bugs] [Asterisk 0015143]: Deadlock on chan_sip

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 30 01:19:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15143 
====================================================================== 
Reported By:                cristiandimache
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15143
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-18 00:38 CDT
Last Modified:              2009-05-30 01:19 CDT
====================================================================== 
Summary:                    Deadlock on chan_sip
Description: 
After a random period of time (around five hours), Asterisk freezes and no
calls can be made and SIP registration is unavailable.
I have compiled with DEBUG_THREADS and attached the output of core show
locks.

At this time, killing Asterisk seems to be the only way to solve the
problem.

I use realtime peers, but I don't think this is an issue here.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015151 [patch] Deadlock On One-legged Transfer...
====================================================================== 

---------------------------------------------------------------------- 
 (0105779) cristiandimache (reporter) - 2009-05-30 01:19
 https://issues.asterisk.org/view.php?id=15143#c105779 
---------------------------------------------------------------------- 
I've changed chan_sip.c from my 1.6.x around the lines in the patch for
1.4. Still deadlock, but it could be a bad patch on my part. I am not sure
that a transfer is responsible for this. Is there any way for me to
replicate a onelegged transfer so I can test if this is the cause? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-30 01:19 cristiandimacheNote Added: 0105779                          
======================================================================




More information about the asterisk-bugs mailing list