[asterisk-bugs] [Asterisk 0018441]: Deadlock in chan_sip

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 24 13:06:34 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18441 
====================================================================== 
Reported By:                Alric
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18441
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-2737 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-08 17:10 CST
Last Modified:              2011-01-24 13:06 CST
====================================================================== 
Summary:                    Deadlock in chan_sip
Description: 
I've been testing T.38 with my SIP provider using a Linksys ATA and a fax
machine behind it.

I initiate the fax with my fax machine and it connects with the other end.
 Shortly after the fax machine thinks the call disconnects.  If I type a
'core show channels' at this point, I don't see any active channels.  At
this point the PBX does not accept any more calls.  Commands also seem to
not go through on the CLI until I 'exit' and 'asterisk -vvvvvr' again.

Asterisk is compiled with DONT_OPTIMIZE and DEBUG_THREADS.  I have run
this scenario 3 to 5 times now with the same result so I am faithful I can
reproduce it as needed.

Attached is the output from 'core show locks' after the presumed deadlock.
====================================================================== 

---------------------------------------------------------------------- 
 (0130946) Alric (reporter) - 2011-01-24 13:06
 https://issues.asterisk.org/view.php?id=18441#c130946 
---------------------------------------------------------------------- 
I tested 14 different versions of Asterisk today, ranging from 1.6.1.0 to
1.8.2.2.

As near as I can tell, 1.6.1.11 does not deadlock in the same situation
where 1.6.1.12 does.

Additionally, I tried the latest 1.8.2.2 with normal sip friends
(non-realtime) and udptl disabled to perhaps try and isolate things a bit.
I can still reproduce the deadlock under those conditions. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-24 13:06 Alric          Note Added: 0130946                          
======================================================================




More information about the asterisk-bugs mailing list