lua-users home
lua-l archive

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

It seems that I accessed an invalid stack index in lua_getlocal what
returned as a name: "(*temporary)"
This seems to be invalid behaviour now, is this correct? How can I check
which indices are valid?
In the past we checked lua_getlocal for a return of null.

-----Ursprüngliche Nachricht-----
[] Im Auftrag von Sebastian Rohde
Gesendet: Montag, 20. März 2006 14:46
An: 'Lua list'
Betreff: Expression: L->top < L->ci->top


I get the following assertion when I was call lua_getlocal. The callstack
sais that it happenes in: luaA_pushobject.
I don't really understand what happens there so could anyone help me out
with this? 
I guess that something went wrong earlier but I don't know what. 
Another thing that might be of interest: This happened in our own lua
debugger which was working correctly before lua 5.1.

Program: ...
File: .\src\lapi.c
Line: 91
Expression: L->top < L->ci->top

Thank you!