[Home]

Summary:ASTERISK-23726: AEL crash with while, switch and continue, (in add_extensions at ael/pval.c )
Reporter:Thiago Coutinho (thiagoc)Labels:
Date Opened:2014-05-07 15:47:16Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:PBX/pbx_ael
Versions:SVN 1.8.27.0 11.9.0 12.2.0 13.18.4 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace.txt
Description:Just create the macro below in extensions.ael:

{code}
macro test() {
   while (1) {
       switch(a) {
           case foo:
               continue;
               break;
           default:
               break;
       }
   }
   return;
}
{code}

If you comment the "continue" statement the code works.
Comments:By: Rusty Newton (rnewton) 2014-05-08 09:30:01.779-0500

Attaching a backtrace since this was easy to reproduce. Remember, for further reports of crashes to always provide a backtrace.

By: Matt Jordan (mjordan) 2014-05-08 10:27:19.715-0500

Please keep in mind that {{pbx_ael}} is extended support, and that development support for it typically comes from the Asterisk Developer community. Response times for this issue may reflect that.