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

Reply via email to