[asterisk-bugs] [Asterisk 0016089]: Crash on many connected / canceled calls

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Oct 24 02:00:07 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16089 
====================================================================== 
Reported By:                cristiandimache
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16089
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0-rc3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-17 07:16 CDT
Last Modified:              2009-10-24 02:00 CDT
====================================================================== 
Summary:                    Crash on many connected / canceled calls
Description: 
As I was trying to debug another issue, I created a script that originates
and the closes lots of calls in Asterisk.
I found that Asterisk crashes in this scenario, with the crash location
somewhere in dahdi.
====================================================================== 

---------------------------------------------------------------------- 
 (0112694) cristiandimache (reporter) - 2009-10-24 02:00
 https://issues.asterisk.org/view.php?id=16089#c112694 
---------------------------------------------------------------------- 
$cat ~/test.sh
#!/bin/bash
for((;;))
do
        for ((i=1 ; i<= 30 ; i++))
        do
                echo "Starting call $i out of 30"
                cp ~/1.call /var/spool/asterisk/outgoing/$i.call ; sudo
chown asterisk:asterisk /var/spool/asterisk/outgoing/$i.call
        done

        for((j=64; j<=127; j++))
        do
                echo "Stopping channel $j (from 64 to 127)"
                asterisk -rx "channel request hangup DAHDI/$j-1"
        done

$cat ~/1.call
Channel: DAHDI/g1/123456789
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Application: Echo

I am using a script to copy a call file to asterisk/outgoing. I call via a
ISDN-PRI group (two spans) to the same two spans (the called is looped back
to me by the provider, so i'm calling myself). In the dialplan, i Answer()
and Echo(). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-24 02:00 cristiandimacheNote Added: 0112694                          
======================================================================




More information about the asterisk-bugs mailing list