[asterisk-bugs] [Asterisk 0012307]: Deadlock in chan_local

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Mar 26 16:25:34 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12307 
====================================================================== 
Reported By:                callguy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12307
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 105409 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-26-2008 10:46 CDT
Last Modified:              03-26-2008 16:25 CDT
====================================================================== 
Summary:                    Deadlock in chan_local
Description: 
We are seeing in certain situations (mainly a SIP hairpin that redirects a
call on the same server out to another user via the local channel) a
deadlock will occur. Once the deadlock occurs the system will continue to
process calls for a period of time, but will eventually hang completely. 

Console output, core show locks, and output of ast_grab core attached. 
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 03-26-08 16:25  
---------------------------------------------------------------------- 
callguy - great core show locks output. The problem is that I can't really
get a good idea of the code path being followed that is leading from
__ast_read to local_queue_frame. The backtrace you provided would have been
helpful, but it is full of ??'s instead of useful function names. I'm not
going to ask if you compiled with DONT_OPTIMIZE turned on because I know
that you've uploaded backtraces before with that flag turned on and you
still have those odd ?? backtraces. Unfortunately, I'm not sure what to do
to get useful backtraces from your machine.

So, instead, the way I suggest tackling this is, if this is reliably
reproducible, provide step-by-step instructions for how to reproduce so
that I or someone else may be able to try to reproduce it locally. I can
see from the output you've provided that apparently a person calls from a
SIP phone to another SIP phone, which forwards to a Local extension...but
from there it isn't clear what's happening. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-26-08 16:25  putnopvut      Note Added: 0084625                          
======================================================================




More information about the asterisk-bugs mailing list