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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 1 17:58:37 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16608 
====================================================================== 
Reported By:                sergee
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16608
Category:                   Channels/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     feedback
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-03-01 17:58 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0118723) tilghman (administrator) - 2010-03-01 17:58
 https://issues.asterisk.org/view.php?id=16608#c118723 
---------------------------------------------------------------------- 
It appears that a SIP call is no longer receiving RTP packets, which causes
recvmsg to hang forever.  Technically, this isn't a deadlock, but it still
should not do that.  Patch uploaded that should fix this, by preventing the
RTP code from hanging while waiting for a packet to arrive. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-01 17:58 tilghman       Note Added: 0118723                          
======================================================================




More information about the asterisk-bugs mailing list