[Home]

Summary:ASTERISK-15002: Crash on many connected / canceled calls
Reporter:Cristian Dimache (cristiandimache)Labels:
Date Opened:2009-10-17 07:16:36Date Closed:2011-07-27 09:23:45
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_dahdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dahdicrash-gdb.txt
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.

****** ADDITIONAL INFORMATION ******

Backtrace without optimisation attached.
Comments:By: Leif Madsen (lmadsen) 2009-10-23 16:53:59

Any change you could give a dialplan and some information to make it a bit easier to reproduce? Thanks!

By: Cristian Dimache (cristiandimache) 2009-10-24 02:00:07

$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().

By: Russell Bryant (russell) 2011-07-27 09:23:40.279-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!