[Tarantool-patches] [PATCH] lua: avoid panic if HOOK_GC is not active

Kirill Yukhin kyukhin at tarantool.org
Wed Dec 23 16:05:04 MSK 2020


Hello,

On 22 Dec 16:08, Sergey Kaplun via Tarantool-patches wrote:
> Panic at fiber.yield() occures inside any active hook.
> 
> This is the regression from 96dbc49d097a96af5273cce2b5663db5917f4ea9
> ('lua: prohibit fiber yield when GC hook is active').
> 
> This patch fixes false positive panic in cases when VM is not running
> a GC hook.
> 
> Reported-by: Michael Filonenko <filonenko.mikhail at gmail.com>
> Follows up #4727
> Closes #5649

I've checked your patch into 1.10, 2.5, 2.6 and master.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list