[asterisk-bugs] [Asterisk 0013090]: multiple "infinite loop" messages being output by AEL compiler.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 16 12:46:01 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13090 
====================================================================== 
Reported By:                murf
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13090
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-16-2008 08:10 CDT
Last Modified:              07-16-2008 12:46 CDT
====================================================================== 
Summary:                    multiple "infinite loop" messages being output by
AEL compiler.
Description: 
During AEL load, I see multiple messages: 

ael/pval.c:1377 find_pval_goto_item: find_pval_goto in infinite loop!

While they do not seem to affect the compile, they
are irritating, and I intend to find out why and 
get rid of them.

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-16-08 12:46  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 131242

U   branches/1.4/pbx/pbx_ael.c

------------------------------------------------------------------------
r131242 | murf | 2008-07-16 12:45:57 -0500 (Wed, 16 Jul 2008) | 19 lines

(closes issue http://bugs.digium.com/view.php?id=13090)
Reported by: murf

The problem was that, esoteric as it is, because the hangerupper
context immediately preceded the std-priv-extent macro, that 
the checking code accidentally would fall from traversing hangerupper
into the std-priv-exten macro, where it would hit the hangerupper
in the 'includes', and proceed into an infinite recursion.

A small fix to traverse into the statements of the context instead
of the context solves this issue.

I also added some commented out printfs for debug, which were pretty
handy in the face of a dorky gdb.

This was a problem around since the package was first written;
but evidently pretty rare in turning up in the field.


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=131242 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-16-08 12:46  svnbot         Note Added: 0090349                          
======================================================================




More information about the asterisk-bugs mailing list