lua-users home
lua-l archive

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


On Sat, Sep 18, 2010 at 8:59 PM, Ted Unangst <ted.unangst@gmail.com> wrote:
> got err C stack overflow

I see.  I didn't notice that earlier since I lacked a print statement
in the error handler.

Here's another observation: replace the error call in the error
handler with a "local t = {}; for i=1,math.huge do t[i] = 1 end".  The
error handler is only called once, and xpcall returns a "not enough
memory".