[Tarantool-patches] [PATCH 00/16] Cord buffer, static alloc, and Lua GC bug

Kirill Yukhin kyukhin at tarantool.org
Wed Mar 24 16:28:16 MSK 2021


Hello,

On 20 мар 01:42, Vladislav Shpilevoy via Tarantool-patches wrote:
> The patch attempts to fix most of the easy to face issues with the global
> resources not having proper ownership in Lua code and therefore not protected
> again being suddenly reused during Lua GC.
> 
> There are many such resources: tarantool_lua_ibuf/IBUF_SHARED, static alloc,
> errno, diag/box.error, box_tuple_last, port_c, and others.
> 
> The most easy to screw - ibuf and static alloc. They are fixed in this
> patchset.
> 
> The solution is dubious, but there were not found any better alternatives.
> 
> A patch for 1.10 will be sent later in a separate CL.
> 
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5632-global-buf-crash-2x
> Issue: https://github.com/tarantool/tarantool/issues/5632

I've checked your patchset into 2.6, 2.7 and master.
Could you please rebase it onto 1.10?

--
Reggards, Kirill Yukhin


More information about the Tarantool-patches mailing list