[asterisk-bugs] [Asterisk 0010368]: app_dial segfaults asterisk while trying to bridge channels

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 2 12:37:09 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10368 
====================================================================== 
Reported By:                explidous
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10368
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 77893 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-02-2007 09:45 CDT
Last Modified:              08-02-2007 12:37 CDT
====================================================================== 
Summary:                    app_dial segfaults asterisk while trying to bridge
channels
Description: 
app_dial causes a seg fault while trying to bridge channels on system
placing many calls. 

I was running Vicidial (a predictive dialer) on this server with twenty
agents and dialing at a ratio of four to one. This means that there are
twenty channels waiting in twenty meetmes and the server is dialing 80
numbers via IAX to another XEN server on the same box. When a number
connects they get placed into one of the meetmes.

This crash happened amongst some other crashes that I am still debugging.
I have not been able to narrow down exactly what caused this one. Most
likely a threading issue.
====================================================================== 

---------------------------------------------------------------------- 
 explidous - 08-02-07 12:37  
---------------------------------------------------------------------- 
Looking at the single thread back trace there is something really funky
going on here that makes me think the stack is getting screwed up. 

ast_channel_bridge in channel.c calls ast_generic_bridge in frame.h, but
there is no function called that in frame.h. there is however in channel.c.
and ast_generic_bridge in channel.c does not call ast_frame_free in frame.c 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-02-07 12:37  explidous      Note Added: 0068330                          
======================================================================




More information about the asterisk-bugs mailing list