lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2013/4/17 云风 <cloudwu@gmail.com>:

> Try this lua program:
>
> -----
> function f(p1,p2,p3,p4,p5,p6,p7,p8,p9,...)
>   local a1,a2,a3,a4,a5,a6,a7
>   local a8,a9,a10,a11,a12,a13,a14
> end
>
> f()
> ------
>
> It crashs.

It does not crash immediately on my machine. I went up to
p29, still no crash.

But if I then recall the source code with uparrow and add
some characters before "end", such that the code is no
longer valid, say `..end`, then I get a segmentation fault.