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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 28 11:51:54 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18441 
====================================================================== 
Reported By:                Alric
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   18441
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
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-28 11:51 CST
====================================================================== 
Summary:                    [patch] 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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018403 [patch] Deadlock on SIP blind transfer ...
====================================================================== 

---------------------------------------------------------------------- 
 (0131184) jpeeler (administrator) - 2011-01-28 11:51
 https://issues.asterisk.org/view.php?id=18441#c131184 
---------------------------------------------------------------------- 
The patch I uploaded should resolve the deadlock shown in the "Another core
show locks" file. The other two deadlocks (which are the same) I believe
was already fixed in https://issues.asterisk.org/view.php?id=18403 and has not
yet made it in a release.
viniciusfontes please test the patch, and the others please test the head
of the branch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-28 11:51 jpeeler        Note Added: 0131184                          
======================================================================




More information about the asterisk-bugs mailing list