[asterisk-bugs] [Asterisk 0007706]: Redirecting Local channels to Meetme causes a crash when executing "core show channels"

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 14 12:58:11 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7706 
====================================================================== 
Reported By:                BigJimmy
Assigned To:                dwaynemh
====================================================================== 
Project:                    Asterisk
Issue ID:                   7706
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 59043 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             08-10-2006 14:42 CDT
Last Modified:              09-14-2007 12:58 CDT
====================================================================== 
Summary:                    Redirecting Local channels to Meetme causes a crash
when executing "core show channels"
Description: 
We have an Agent channel in a conversation with a local channel.  Using the
Redirect command from the manager, we take the local channel and send it to
a meetme app.  We then initate 2 calls with the Originate command which
adds the agent and the 3rd party to the conference.  We don't use the
ExtraChannel parameter of the Redirect command as we need to set different
options for the local channel.

Once the agent wishes to drop out of the call, they hit '*' to disconnect.
 They don't hear any hold music and the agent channel is no longer able to
receive calls.  Having a call sent to the agent causes asterisk to deadlock
almost completely.

This is reproducable in both versions 1.2.10 and trunk, however the debug
log is from trunk with DEBUG_CHANNEL_LOCKS, DEBUG_THREADS, DETECT_DEADLOCKS
and DONT_OPTIMIZE being set.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0009175 Segfault on transfers from an incoming ...
related to          0010636 Meetme with Redirect leaves channel aft...
====================================================================== 

---------------------------------------------------------------------- 
 BigJimmy - 09-14-07 12:58  
---------------------------------------------------------------------- 
I am able to reproduce the problem without a script, I just paste it into
the manager session as need be.  However, I do notice a few things:
- Doing a 'core show channels' will usually segfault asterisk if I do it
directly after the Redirect, but before I hang anybody up.
- If I swap which channel is in the Channel and ExtraChannel parameters,
it will deadlock, but won't crash on a 'core show channels'
- If I redirect the non-agent channel (without using ExtraChannel) and do
an Originate to the agent channel that points it to the conference, it
won't deadlock. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-14-07 12:58  BigJimmy       Note Added: 0070557                          
======================================================================




More information about the asterisk-bugs mailing list