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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Mar 25 11:22:28 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     assigned
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:              
====================================================================== 
Date Submitted:             02-11-2008 11:04 CST
Last Modified:              03-25-2008 11:22 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.



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

---------------------------------------------------------------------- 
 pj - 03-25-08 11:22  
---------------------------------------------------------------------- 
as a precursor of crash, I catch folowing locks:

=== Thread ID: -1219798128 (ast_make_file_from_fd started at [  154]
tcptls.c server_root())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (chan_sip.c): MUTEX 5858
find_call &p->pvt_lock 0x826d464
(1)
=== ---> Lock http://bugs.digium.com/view.php?id=1 (chan_sip.c): MUTEX 5858
find_call &p->pvt_lock 0x826bf34
(1)
=== ---> Lock http://bugs.digium.com/view.php?id=2 (chan_sip.c): WRLOCK 2510
__sip_xmit p->socket.ser->lock
0x8279098 (1)
=== -------------------------------------------------------------------

last on CLI
[Mar 25 17:16:33] WARNING[24559]: chan_sip.c:2534 __sip_xmit: sip_xmit of
0xb74b0f24 (len 525) to 0.0.0.0:0 returned -1: Connection reset by peer
[Mar 25 17:16:33] WARNING[24559]: chan_sip.c:2896 sip_scheddestroy: Unable
to cancel SIP destruction.  Expect bad things. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-25-08 11:22  pj             Note Added: 0084508                          
======================================================================




More information about the asterisk-bugs mailing list