[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug
- From: "Anders Bergh" <anders1@...>
- Date: Wed, 1 Aug 2007 01:55:03 +0200
On 7/31/07, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> Mike Pall just reported the following bug:
>
> > $ ulimit -s 1024 # Reduce C stack to 1MB for quicker results
> > $ lua -e 'local s = "a,"; for i=1,18 do s = s..s end print(loadstring("local a"..s.."a=nil", ""))'
> > Segmentation fault
> > $
I can't reproduce the bug, this is what happens here and on my x86_64 machine:
[anders@router ~]$ ulimit -s 1024
[anders@router ~]$ lua -e 'local s = "a,"; for i=1,18 do s = s..s end
print(loadstring("local a"..s.."a=nil", ""))'
nil [string ""]:1: main function has more than 200 local variables
--
Anders
- References:
- bug, Roberto Ierusalimschy