[asterisk-bugs] [Asterisk 0017675]: tcp-tls deadlock

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 26 10:19:17 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17675 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17675
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.9 
JIRA:                       SWP-1933 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-20 13:15 CDT
Last Modified:              2010-07-26 10:19 CDT
====================================================================== 
Summary:                    tcp-tls deadlock
Description: 
This is all the info I have so far... I've seen this fairly often on 1.6.2.
 Not sure how to reproduce just yet.


    -- Executing [250 at trunkhandler_incoming-branch:1]
Gosub("SIP/branch-sip-00000000", "Login,s,1(1)") in new stack
    -- Executing [s at Login:1] Set("SIP/branch-sip-00000000",
"LOCAL(tenant_id)=1") in new stack
    -- Executing [s at Login:2] Ringing("SIP/branch-sip-00000000", "") in new
stack
    -- Executing [s at Login:3] Set("SIP/branch-sip-00000000",
"ARGS="action=Login,tenant_id=1"") in new stack
    -- Executing [s at Login:4] AGI("SIP/branch-sip-00000000", "login.pl") in
new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin.login.pl
  == Using SIP RTP CoS mark 5
    -- Executing [250 at trunkhandler_incoming-branch:1]
Gosub("SIP/branch-sip-00000001", "Login,s,1(1)") in new stack
    -- Executing [s at Login:1] Set("SIP/branch-sip-00000001",
"LOCAL(tenant_id)=1") in new stack
    -- Executing [s at Login:2] Ringing("SIP/branch-sip-00000001", "") in new
stack
    -- Executing [s at Login:3] Set("SIP/branch-sip-00000001",
"ARGS="action=Login,tenant_id=1"") in new stack
    -- Executing [s at Login:4] AGI("SIP/branch-sip-00000001", "login.pl") in
new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/login.pl
[Jul 20 14:06:40] ERROR[15962]: utils.c:529 lock_info_destroy: Thread
'handle_tcptls_connection started at [  276] tcptls.c
ast_tcptls_server_root()' still has a lock! - '&c->lock_dont_use'
(0xb38fd510) from 'channel_find_locked' in channel.c:1244!
[Jul 20 14:06:40] ERROR[15962]: utils.c:529 lock_info_destroy: Thread
'handle_tcptls_connection started at [  276] tcptls.c
ast_tcptls_server_root()' still has a lock! - '&c->lock_dont_use'
(0xb03e84b0) from 'channel_find_locked' in channel.c:1244!





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

---------------------------------------------------------------------- 
 (0125031) kobaz (reporter) - 2010-07-26 10:19
 https://issues.asterisk.org/view.php?id=17675#c125031 
---------------------------------------------------------------------- 
I've added debugging to the channel locks.  Hopefully I'll hit the bug
again soon. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-26 10:19 kobaz          Note Added: 0125031                          
======================================================================




More information about the asterisk-bugs mailing list