[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT : Internal error - Stack overflow
- From: Mike Pall <mikelu-1103@...>
- Date: Wed, 23 Mar 2011 12:01:45 +0100
Sylvain Fabre wrote:
> After approx. 6 hours of processing, i get the following lua error :
> "Internal error - Stack overflow", but with no other specific clues.
The string "Internal error" appears nowhere in the source code of
LuaJIT. Also, a Lua stack overflow would show with a lower case
error message ("stack overflow").
I suggest you look for the component that generates the error.
> Could someone provide me some hints about what kind of issue can
> cause this error ? And what are the methods to be used in order to
> trace/debug it ?
Print the stack level at strategic points. If it's actually the
Lua stack, then print the result of lua_gettop(L).