[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Modifing try-catch statement
- From: David Manura <dm.lua@...>
- Date: Sat, 18 Sep 2010 21:21:51 -0400
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".