← Back to team overview

randgen team mailing list archive

Re: "Endless loop in grammar" Error in

 

Hi Joel,

Are you using Grammar Masking? Have a look at " Known issue with grammar
masking " within;
https://github.com/RQG/RQG-Documentation/wiki/RandomQueryGeneratorGrammarMaskingAndRedefinition


On Fri, Aug 30, 2013 at 6:50 AM, Joel Epstein <joel9001@xxxxxxxxxxx> wrote:

> Hello,
>
> I am seeing this error while trying to run the partitions-99-range.yy
> grammar file:
>
> Rule range_elem occured more than 3500 times. Possible endless loop in
> grammar. Aborting.
>
> When I examine the grammar file, I can see that there are recursive calls
> from range_elem to range_list_elem_10 to range_list which could generate a
> large loop.  But it doesn't seem like it would be an endless loop.  Is
> there a setting on my system that could be preventing these expressions
> from evaluating within the grammar engine?
>
> Thanks,
>
> Joel
>
> _______________________________________________
> Mailing list: https://launchpad.net/~randgen
> Post to     : randgen@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~randgen
> More help   : https://help.launchpad.net/ListHelp
>


-- 

Kind Regards,
God Bless,
-- 
Roel Van de Paar, CMDBA/CMDEV  Director of Development Services, Percona LLC
http://www.percona.com/services.html
http://www.mysqlperformanceblog.com/

Follow ups

References