[Tarantool-patches] [PATCH v3] lua: assert in lua_gettop() in case of negative stack size

Igor Munkin imun at tarantool.org
Wed Jul 22 15:05:03 MSK 2020


Nikita,

On 22.07.20, Nikita Pettik wrote:

<snipped>

> > 
> > For now I see no reason to add even the assert, since Ilya's assumptions
> > are confirmed.
> 
> Which one? Assuming that lua_gettop() returns negative value due
> to spoiled lua state?

Yes, no need to check whether L->base is greater than L->top, it's
already known from the coredump. I doubt this change allows to localize
the problem much closer than now. Let's see customer's user code and
proceed with the investigation.

>  

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list