The lua stack overflow,is this a bug?
- by xiayong
Some days ago, our program crash. I found the crash in lua code. So I check lua code, found the stack overflow.
Please look this code In function luaD_precall:
1 if (!cl->isC) { /* Lua function? prepare its call */
2 CallInfo *ci;
3 StkId st, base;
4 Proto *p = cl->p;
5 luaD_checkstack(L, p->maxstacksize);
6 …