Skip to content

Assertion failed: (e->txn->signature >= 0), function txn_limbo_read_confirm #6057

@olegrok

Description

@olegrok

After some actions I got:

Assertion failed: (e->txn->signature >= 0), function txn_limbo_read_confirm, file /Users/a.barulev/Projects/sdk/tarantool-2.8/src/box/txn_limbo.c, line 413.
Process 1881 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #4: 0x0000000100118d5c tarantool`txn_limbo_read_confirm + 476
tarantool`txn_limbo_read_confirm:
->  0x100118d5c <+476>: jmp    0x100118d61               ; <+481>
    0x100118d61 <+481>: movq   -0x18(%rbp), %rax
    0x100118d65 <+485>: movq   0x10(%rax), %rdi
    0x100118d69 <+489>: callq  0x1001126e0               ; txn_complete_success
Target 0: (tarantool) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
    frame #0: 0x00007fff202e2946 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff20311615 libsystem_pthread.dylib`pthread_kill + 263
    frame #2: 0x00007fff20266411 libsystem_c.dylib`abort + 120
    frame #3: 0x00007fff202657e8 libsystem_c.dylib`__assert_rtn + 314
  * frame #4: 0x0000000100118d5c tarantool`txn_limbo_read_confirm + 476
    frame #5: 0x00000001001189c5 tarantool`txn_limbo_ack + 645
    frame #6: 0x0000000100114096 tarantool`txn_commit + 614
    frame #7: 0x000000010011e904 tarantool`box_process_rw + 420
    frame #8: 0x00000001001269a5 tarantool`box_process1 + 389
    frame #9: 0x00000001001274f2 tarantool`box_replace + 114
    frame #10: 0x0000000100222ba8 tarantool`lbox_replace + 152
    frame #11: 0x00000001002bbd83 tarantool`lj_BC_FUNCC + 68
    frame #12: 0x00000001002c417a tarantool`lua_pcall + 490
    frame #13: 0x000000010024ba33 tarantool`luaT_call + 35
    frame #14: 0x00000001002447e6 tarantool`lua_fiber_run_f + 118
    frame #15: 0x0000000100003cca tarantool`fiber_cxx_invoke(int (*)(__va_list_tag*), __va_list_tag*) + 26
    frame #16: 0x000000010027236b tarantool`fiber_loop + 187
    frame #17: 0x0000000100bafc37 tarantool`coro_init + 87
(lldb) list

Problem shoots 10 of 10 times on MacOS and 1 of 10 on Linux on the same logic.
I can't extract reproducer since the problem appears on one TDG dev branch under Tarantool Enterprise 2.8.1. But ask me for additional details if stacktrace above is not enough.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions