[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Strange problem with strict.lua
- From: Finn Wilcox <finnw@...>
- Date: Fri, 10 May 2013 14:48:44 +0100
On 10/05/2013 14:42, Bernd Eggink wrote:
> The baffling fact is that the function 'error' from the standard library
> loops and eats up 100% CPU, instead of aborting the program. If the line
> is replaced by os.exit(1), the program halts immediately.
Are you inside an xpcall()? Maybe the error handler triggers the same
metamethod that threw the error, leading to infinite recursion?