lua-users home
lua-l archive

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


Le 23/03/2011 12:01, Mike Pall a écrit :
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.
Yes, sorry : "Internal error" is coming from our layer, and we get a "stack overflow" from LuaJIT (ie in lower case).
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).
OK, thanks, i will track that.

Rgds, Sylvain.
--Mike



--
=================================
Sylvain FABRE
sylvain.fabre@inpixal.com
Fixe: 09 72 11 30 24
Mobile: 06 30 12 72 34
Fax : 09 72 11 10 71
=================================