lua-users home
lua-l archive

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


> I think luaX_newstring() in llex.c must be the culprit. You can
> try to add a GC check just before the 'return ts' at line 123:
>   luaC_checkGC(L);
> 
> If this solves the problem, then you've found a bug in Lua.
> Congratulations -- it doesn't happen that often. :-)

I guess this is a bug in Lua even if it does not solve this particular
problem. The idea of not calling the collector during a parse is that it
creates very little garbage. But the possibility of the collector being
held at a particular bad state is real.

-- Roberto