[Tarantool-patches] [PATCH] box/error: ref error.prev while accessing it

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Apr 17 00:17:03 MSK 2020


Hi! Thanks for the fixes!

Now there is a new problem:

    value = 2147483647 + 100
    e1 = box.error.new(1000, 'Message1')
    e2 = box.error.new(1001, 'Message2')
    e1:set_prev(e2)
    prev = nil
    for i = 1, value do prev = e1.prev end

    tarantool> prev._refs
    ---
    - -2147483547
    ...

Negative ref count.


More information about the Tarantool-patches mailing list