thanks I reproduced the problem its a tail recursion problem with ast libexpr and the statement list production looking at it today thanks
On Wed, 16 Mar 2011 07:52:38 +0100 Philippe Bergheaud wrote: > It is a stack overflow. Stack is full of thousands of eval(ex, expr, > env)'s. > [email protected] wrote on 03/15/2011 13:25:45: > > tw crashes when the expression file is too large. > > > > Rapidly on 32bit Linux: > > > > ( > > print 'begin: int time[];' > > for ((i=0; i<5631; i++)) > > do > > print "time[\"$i\"]=$i;" > > done > > ) >exprfile > > tw -E exprfile - > > Memory fault > > > > More slowly on AIX: > > > > ( > > print 'begin: int time[];' > > for ((i=0; i<17474; i++)) > > do > > print "time[\"$i\"]=$i;" > > done > > ) >|exprfile > > tw -E exprfile - > > Memory fault(coredump) > > > > Philippe Bergheaud > > [email protected] _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
