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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 15 04:46:29 CST 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:              02-15-2008 04:46 CST
====================================================================== 
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 - 02-15-08 04:46  
---------------------------------------------------------------------- 
thanks for patch, I'm recompiling right now...

another weird message, that appears today (before your last patch
applied):

[Feb 15 11:41:40] ERROR[8570]:
/root/src/asterisk-r103387/include/asterisk/lock.h:386
__ast_pthread_mutex_lock: chan_sip.c line 2516 (__sip_xmit): Error
obtaining mutex: Invalid argument
[Feb 15 11:41:41] ERROR[8570]:
/root/src/asterisk-r103387/include/asterisk/lock.h:469
__ast_pthread_mutex_unlock: chan_sip.c line 2528 (__sip_xmit): mutex
'p->socket.lock' freed more times than we've locked!
[Feb 15 11:41:41] ERROR[8570]:
/root/src/asterisk-r103387/include/asterisk/lock.h:486
__ast_pthread_mutex_unlock: chan_sip.c line 2528 (__sip_xmit): Error
releasing mutex: Invalid argument
[Feb 15 11:41:41] WARNING[8570]: chan_sip.c:2540 __sip_xmit: sip_xmit of
0xb7972168 (len 587) to 85.216.201.137:49486 returned 0: Success
[Feb 15 11:41:49] NOTICE[8570]: chan_sip.c:18601 sip_poke_noanswer: Peer
'726' is now UNREACHABLE!  Last qualify: 15
[Feb 15 11:41:57]     -- Registered SIP '726' at 85.216.201.137 port 50146
expires 200
[Feb 15 11:41:57] NOTICE[8570]: chan_sip.c:14860 handle_response_peerpoke:
Peer '726' is now Reachable. (18ms / 4000ms) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-15-08 04:46  pj             Note Added: 0082303                          
======================================================================




More information about the asterisk-bugs mailing list