[asterisk-bugs] [Asterisk 0014464]: [patch] lock during simple call processing

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 22 09:36:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14464 
====================================================================== 
Reported By:                pj
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14464
Category:                   Channels/chan_sip/General
Reproducibility:            unable to reproduce
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 171528 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-02-12 06:27 CST
Last Modified:              2009-06-22 09:36 CDT
====================================================================== 
Summary:                    [patch] lock during simple call processing
Description: 
During normal operation, pure sip-sip calls, without special features (eg.
transfer), asterisk locks. Asterisk server had very small utilization -
three concurrent sip calls at maximum. After this lockout, all peers
becomed unreachable and asterisk must be manually restarted. CLI was not
locked.
"core show locks" attached

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015345 [patch] SIP deadlock in 1.4 revision 19...
====================================================================== 

---------------------------------------------------------------------- 
 (0106808) svnbot (reporter) - 2009-06-22 09:36
 https://issues.asterisk.org/view.php?id=14464#c106808 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 202340

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r202340 | mmichelson | 2009-06-22 09:36:26 -0500 (Mon, 22 Jun 2009) | 38
lines

Merged revisions 202337 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r202337 | mmichelson | 2009-06-22 09:35:09 -0500 (Mon, 22 Jun 2009) | 31
lines
  
  Merged revisions 202336 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r202336 | mmichelson | 2009-06-22 09:34:05 -0500 (Mon, 22 Jun 2009) |
25 lines
    
    Fix a possible infinite loop in SDP parsing during glare situation.
    
    There was a while loop in get_ip_and_port_from_sdp which was
controlled
    by a call to get_sdp_iterate. The loop would exit either if what we
were
    searching for was found or if the return was NULL. The problem is that
    get_sdp_iterate never returns NULL. This means that if what we were
searching
    for was not present, the loop would run infinitely. This modification
of the
    loop fixes the problem.
    
    (closes issue https://issues.asterisk.org/view.php?id=15213)
    Reported by: schmidts
    
    (closes issue https://issues.asterisk.org/view.php?id=15349)
    Reported by: samy
    
    (closes issue https://issues.asterisk.org/view.php?id=14464)
    Reported by: pj
    
    (closes issue https://issues.asterisk.org/view.php?id=15345)
    Reported by: aragon
    Patches:
          sip_inf_loop.patch uploaded by mmichelson (license 60)
    Tested by: aragon
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=202340 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-22 09:36 svnbot         Checkin                                      
2009-06-22 09:36 svnbot         Note Added: 0106808                          
======================================================================




More information about the asterisk-bugs mailing list