Skip to content

Virtual space select with pagination segfaults #11953

@sergepetrenko

Description

@sergepetrenko

Steps to reproduce:
In a single tarantool instance console, issue:

box.cfg{}
box.space._vspace:select({}, {fetch_pos=true})
Result will be:
Segmentation fault
  code: SEGV_ACCERR
  addr: 0x5050505050505050
  context: 0x1380b7c18
  siginfo: 0x1380b7bb0
Current time: 1760716734
Please file a bug at https://github.com/tarantool/tarantool/issues
Attempting backtrace... Note: since the server has already crashed, 
this may fail as well
#1  0x104d46874 in crash_collect+192
#2  0x104d46738 in crash_signal_cb+84
#3  0x1874e16a4 in _sigtramp+56
#4  0x104a7f3bc in iterator_position+236
#5  0x104bc17c0 in box_select+1256
#6  0x104bc1cec in box_select_ffi+148
#7  0x104dc1e28 in lj_vm_ffi_call+100
#8  0x104e7f46c in lj_ccall_func+1236
#9  0x104e0a9f8 in lj_cf_ffi_meta___call+148
#10 0x104dc0140 in lj_BC_FUNCC+44
#11 0x104dcd9f0 in lua_pcall+868
#12 0x104d21cd0 in luaT_call+44
#13 0x104d144a4 in lua_main+340
#14 0x104d12f0c in run_script_f+2144
#15 0x104a61fe4 in fiber_cxx_invoke(int (*)(char*), char*)+32
#16 0x104d51304 in fiber_loop+264
#17 0x10514fee0 in coro_startup+8

JIRA issue: https://jira.vk.team/browse/TNTP-5019

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcrash

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions