[asterisk-bugs] [Asterisk 0011972]: tls transport often causes asterisk to lock

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 7 18:13:40 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11972 
====================================================================== 
Reported By:                pj
Assigned To:                jamesgolovich
====================================================================== 
Project:                    Asterisk
Issue ID:                   11972
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   block
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 103313 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-11-2008 11:04 CST
Last Modified:              07-07-2008 18:13 CDT
====================================================================== 
Summary:                    tls transport often causes asterisk to lock
Description: 
when asterisk is locked, no call or registration is processed,
this happened several times today and yesterday (tried several trunk
revisions)
currently haven't found thing, what causes the locking situation, 
it seems, that locking problem start appearing, after more peers start
using tls transport
my tls only peers are: asterisk trunk, asterisk beta2 and eyebeam
sofphone
+several udp clients.



====================================================================== 

---------------------------------------------------------------------- 
 bbryant - 07-07-08 18:13  
---------------------------------------------------------------------- 
This issue was fixed with revision 123546 in trunk.

===========================
URL: http://svn.digium.com/view/asterisk?view=rev&rev=123546
Log:
Updates all usages of ast_tcptls_session_instance to be managed by
reference counts so that they only get destroyed when all threads are done
using 
them, and memory does not get free'd causing strange issues with SIP. 

This code was originally written by russellb in the
team/group/issue_11972/ branch.

Modified:
    trunk/apps/app_externalivr.c
    trunk/channels/chan_sip.c
    trunk/include/asterisk/tcptls.h
    trunk/main/astobj2.c
    trunk/main/http.c
    trunk/main/manager.c
    trunk/main/tcptls.c
=========================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-08 18:13  bbryant        Note Added: 0089868                          
======================================================================




More information about the asterisk-bugs mailing list