Skip to content

SIGSEGV in lj_trace_unwind #10290

@ligurio

Description

@ligurio

Bug description

  • OS: Linux
  • OS Version: Ubuntu 24.04 LTS
  • Architecture: amd64

tarantool version: 33670ea

Tarantool 3.2.0-entrypoint-154-gfc3196dca
Target: Linux-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=TRUE
Compiler: GNU-13.2.0
C_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -fno-common -msse2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/home/ubuntu/tarantool=. -std=c11 -Wall -Wextra -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2
CXX_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -fno-common -msse2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/home/ubuntu/tarantool=. -std=c++11 -Wall -Wextra -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2

Steps to reproduce

How to run:

Just type ./build/src/tarantool test/fuzz/lua/test_engine.lua --workers 1000 --test_duration $((30*60)) --engine memtx --verbose.

Actual behavior

#1  0x648c59befe22 in crash_signal_cb+162
#2  0x7643bac45320 in __sigaction+80
#3  0x648c59c7c8fa in lj_trace_unwind+26
#4  0x648c59c3c8bd in err_unwind_jit+125
#5  0x7643bc1d4539 in _Unwind_GetTextRelBase+10617
#6  0x7643bc1d4c11 in _Unwind_RaiseException+785
#7  0x648c59c3c9c9 in lj_err_throw+105
#8  0x648c59c3cc1a in lj_err_mem+106
#9  0x648c59c3f2b3 in lj_mem_realloc+115
#10 0x648c59c47899 in lj_tab_resize+521
#11 0x648c59c3ed34 in gc_onestep+1444
#12 0x648c59c3ef3c in lj_gc_step+92
#13 0x648c59c3f043 in lj_gc_step_jit+67
#14 0x648c4567aea5 in ??+0

tarantool binary: gh-10290.zip

NOTE: no coredump unfortunately

Expected behavior

no crash

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions