[Home]

Summary:ASTERISK-14795: Crash on ael inclusion loop
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2009-09-08 13:58:29Date Closed:2010-12-25 03:41:07.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:[Sep  8 14:53:51] ERROR[22182]: ael.flex:852 setup_filestack: File=/etc/asterisk/ael/custom.ael, line=235, column=1: Nice Try!!! But /etc/asterisk/ael/extensions.ael has already been included (perhaps by another file), and would cause an infinite loop of file inclusions!!! Include directive ignored
Segmentation fault


#0  0xb76bde93 in ael_yylex (yylval_param=0xbfe4d168, yylloc_param=0xbfe4d150, yyscanner=0x8256440) at ael_lex.c:2050
2050    ael_lex.c: No such file or directory.
       in ael_lex.c
(gdb) bt
#0  0xb76bde93 in ael_yylex (yylval_param=0xbfe4d168, yylloc_param=0xbfe4d150, yyscanner=0x8256440) at ael_lex.c:2050
#1  0xb76c15f5 in ael_yyparse (parseio=0x8255fe0) at ael.tab.c:2043
#2  0xb76bd4b0 in ael2_parse (filename=0xbfe4d240 "/etc/asterisk/extensions.ael", errors=0xbfe4d298) at ael.flex:820
#3  0xb70e4e92 in pbx_load_module () at pbx_ael.c:134
#4  0x080dc901 in start_resource (mod=0x8241368) at loader.c:726
ASTERISK-1  0x080dd586 in load_resource_list (load_order=0xbfe4d450, global_symbols=0, mod_count=0xbfe4d458) at loader.c:904
ASTERISK-2  0x080dd866 in load_modules (preload_only=0) at loader.c:1050
ASTERISK-3  0x0807aea9 in main (argc=2, argv=0xbfe4e964) at asterisk.c:3487
ASTERISK-4  0xb7cc8775 in __libc_start_main () from /lib/i686/cmov/libc.so.6
ASTERISK-5  0x0805f531 in ?? ()


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

Affects both 1.6.0.x and 1.6.1.x

----------------
extensions.ael:
----------------
#include "/etc/asterisk/ael/*.ael"

----------------
ael/extensions.ael
---------------
#include "/etc/asterisk/ael/*.ael"
Comments:By: Tilghman Lesher (tilghman) 2010-12-25 03:41:07.000-0600

Does not appear to be a problem on 1.6.2 or 1.8.