[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: is this a bug in lua core 5.0b ?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 31 Jan 2003 09:59:43 +0000
> Unfortunately, we can see that luaG_errormsg pushes two objects on the
> stack, and resizes it only afterward:
This shouldn't be a bug. The stack has some extra space (EXTRA_STACK) to
enable these kind of thing.
But I did not understand your calculations. You said that
> L->top-L->stack 181
Is sizeof(lua_TObject)==8 in your program?? If it is, L->top is already
seven positions after L->stack_last, which should not happen. (If it is
not, L->top is corrupted.)