lua-users home
lua-l archive

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


On Wed, May 29, 2002 at 05:52:21PM +0200, Nutritious Games - Tue Hald Madsen wrote:
> At this point, ref is 0 and the L->refArray[ref] is something like {...} (i guess it means empty).
> However, L->refSize is 119539488. 

this looks like an invalid or uninitialized Lua state. I can't imagine
that refSize is that large that early at program startup.

Maybe a dumb question: Do you actually call lua_open() first, e.g.,
like this?

lua_State *L = lua_open(0);

Can you reproduce the problem with some small code fragments for *.pkg
and stripped-down startup code? If yes, perhaps you can post them?

- Christian