lua-users home
lua-l archive

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


https://github.com/pavelxdd/luabug_nccalls

Feel free to check it out.

On Sun, Jul 1, 2018 at 1:59 PM Павел Отчерцов <pavel.otchertsov@gmail.com> wrote:
I managed to write a small program which reproduces a problem.


On Fri, Jun 29, 2018 at 4:42 PM Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> This problem occurs only in our corporate application at my work. I'm sorry
> I couldn't reproduce it in a simple application.
>
> But with the help of conditional breakpoints I think I managed to find the
> cause of L->nCcalls being less then L->nci, which led to it becoming
> negative number (>65500).
>
> The reason is the original L->nCcalls was always overwritten with a new
> value in lua_resume. [...]

Many thanks again. We will have a look there.

-- Roberto