[asterisk-bugs] [Asterisk 0016608]: [patch] Deadlock on &(&channels)->lock

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 13 04:42:21 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16608 
====================================================================== 
Reported By:                sergee
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16608
Category:                   Channels/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             1.6.0.28
Asterisk Version:           SVN 
JIRA:                       SWP-732 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 237060 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-14 15:04 CST
Last Modified:              2010-04-13 04:42 CDT
====================================================================== 
Summary:                    [patch] Deadlock on &(&channels)->lock
Description: 
I've got 2 deadlocks in 3 days. It happens in a peak hours, with more then
a hundred calls in the system.

I've got 2 files 1 with "core show locks" - from the first deadlock (the
day before yesterday), second file - with output from gdb (intho thread,
thread apply all bt, thread apply all bt full) - from today's deadlock.
====================================================================== 

---------------------------------------------------------------------- 
 (0120320) sergee (reporter) - 2010-04-13 04:42
 https://issues.asterisk.org/view.php?id=16608#c120320 
---------------------------------------------------------------------- 
tilghman, i verifyed that RTP is present with tshark. 

Also i fuond interesting issue. My scheme is very simple:

Zoiper -> asterisk -> as5350

so, there 3 rtptimeout timers for this scheme: 1 for zoiper, 1 for cisco
and last one - general rtptimeout defined in sip.conf to distinct them i
assigned 3 different values: 5, 67 and 30 seconds. And now i receive:

[Apr 13 13:28:57] NOTICE[21752]: chan_sip.c:20129 check_rtp_timeout:
Disconnecting call 'SIP/1010-00000000' for lack of RTP activity in 31
seconds

So it seems that rtptimeout from general section of sip.conf


Another interesting thing that i found, is that behaviour depends on UAC.
For example, if i change Zoiper with X-Lite - problem is gone. If i switch
back to Zoiper - problem is present again (fals positives for rtptimeout) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-13 04:42 sergee         Note Added: 0120320                          
======================================================================




More information about the asterisk-bugs mailing list