[Home]

Summary:ASTERISK-16171: Outgoing call file sometimes crashes Asterisk
Reporter:Kirill Katsnelson (kkm)Labels:
Date Opened:2010-05-29 02:35:23Date Closed:2011-06-07 14:00:32
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:PBX/pbx_spool
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace.txt
Description:Version 1.6.2.4 (with some patches -- cannot get a better one for repro, sorry).

Asterisk crashes rarely (1 out of 100 times?) when a .call file places in /var/spool/asterisk/outgoing directory.

****** STEPS TO REPRODUCE ******

Keep submitting call files. Once out of 100 tries, it is going to happen. Seems to crash immediately or very soon upon placing the file to the directory, but then, lotsa things can happen in a blink of an eye...

Sample file:

CallerID: "" <18005551212>
Channel: Local/MyExten@originate-local
Extension: 250
Priority: 1
Context: originate-remote
WaitTime: 60
Set: __BPA_CORRELATION_ID=AA2A458C-FCAF-4D48-97D2-DC183B01336F
Set: __BPA_PROGRESS_LEVEL=full
Set: __BPA_PROGRESS_URL=http://192.168.0.103/postDebug/
Set: __SA_TEST_MODE=prod


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

#0  0x00007fb27830efb5 in raise () from /lib/libc.so.6
#1  0x00007fb278310bc3 in abort () from /lib/libc.so.6
#2  0x00007fb27834e228 in ?? () from /lib/libc.so.6
#3  0x00007fb278353cb8 in ?? () from /lib/libc.so.6
#4  0x00007fb278356276 in free () from /lib/libc.so.6
ASTERISK-1  0x000000000047ad9c in ast_datastore_free (datastore=0x2b59a00) at datastore.c:75
ASTERISK-2  0x000000000045a926 in ast_channel_free (chan=0x2b8f6f0) at channel.c:1399
ASTERISK-3  0x000000000045bbec in ast_hangup (chan=0x2b8f6f0) at channel.c:1773
ASTERISK-4  0x00000000004d6e62 in __ast_pbx_run (c=0x2b8f6f0, args=0x0) at pbx.c:4450
ASTERISK-5  0x00000000004d727b in ast_pbx_run_args (c=0x2b8f6f0, args=0x0) at pbx.c:4580
ASTERISK-6 0x00000000004d72a8 in ast_pbx_run (c=0x2b8f6f0) at pbx.c:4589
ASTERISK-7 0x00000000004e21dc in ast_pbx_outgoing_exten (type=0x7fb25401f9f4 "Local", format=64, data=0x7fb25401f9fa,
   timeout=120000, context=0x7fb25401fa20 "originate-remote", exten=0x7fb25401fa14 "13107769443", priority=1,
   reason=0x7fb2588c7020, synchronous=2, cid_num=0x7fb25401f9e8 "18005554444", cid_name=0x5929d4 "",
   vars=0x7fb254018a30, account=0x5929d4 "", channel=0x0) at pbx.c:7960
ASTERISK-8 0x00007fb258f3f9f5 in attempt_thread (data=0x7fb2540176b0) at pbx_spool.c:335
. . . .
(full bt attached)
Comments:By: Paul Belanger (pabelanger) 2010-05-31 12:11:36

You will need to reproduce with a newer and clean (download) version of Asterisk.  We cannot support custom patches.
---
It appears the bug you have submitted is against a version that is quite old now. This issue will now be closed, but should you be able to reproduce with a more recent version, then please re-open the issue. Thanks!

By: Leif Madsen (lmadsen) 2010-06-02 10:47:18

Additionally I believe there were issues specifically addressing call files and crashing. If you are able to reproduce this issue on the latest Asterisk release then please reopen this issue.

Also please reproduce on a vanilla Asterisk if at all possible.