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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 5 14:10:20 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10368 
====================================================================== 
Reported By:                explidous
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10368
Category:                   Applications/app_dial
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!): 77893 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-02-2007 09:45 CDT
Last Modified:              11-05-2007 14:10 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 11-05-07 14:10  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 88709

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r88709 | russell | 2007-11-05 14:10:17 -0600 (Mon, 05 Nov 2007) | 20 lines

Merge the last bit of changes from asterisk/team/russell/readq-1.4

The issue here is that the channel frame readq handling got broken when
the
code was converted to use the linked list macros.  It caused corruption of
the
list head and tail pointers.  So, I fixed up the usage of the linked list
macros and in passing, simplified the code.  I also documented what the
code
is doing, as it was a bit difficult to figure out at first.

This bug showed itself with crashes showing messed up head/tail pointers
for
the readq.  However, there are a couple of crashes that aren't quite as
obvious,
but I think may be related.  So, if your bug gets closed by this commit,
but
you still have a problem, please reopen or create a new bug report.

(closes issue http://bugs.digium.com/view.php?id=10936)
(closes issue http://bugs.digium.com/view.php?id=10595)
(closes issue http://bugs.digium.com/view.php?id=10368)
(closes issue http://bugs.digium.com/view.php?id=11084)
(closes issue http://bugs.digium.com/view.php?id=10040)
(closes issue http://bugs.digium.com/view.php?id=10840)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-05-07 14:10  svnbot         Checkin                                      
11-05-07 14:10  svnbot         Note Added: 0073130                          
11-05-07 14:10  svnbot         Status                   feedback => assigned
11-05-07 14:10  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list