Closed Davincible closed 2 years ago
Same problem here. I experienced segfault when using grep_string
. Here is the backtrace from the gdb
#0 0x00007fb391d13515 in __strlen_avx2 () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x000055b0173cbf2b in lj_cf_ffi_string (L=0x7fb38ba2ca30) at lib_ffi.c:692
cts = <optimized out>
o = 0x7fb389750be0
p = 0x0
len = <optimized out>
#2 0x000055b0173cf786 in lj_BC_FUNCC ()
No symbol table info available.
#3 0x000055b0173d05bc in lj_ff_coroutine_resume ()
No symbol table info available.
#4 0x000055b0173bbd88 in lua_pcall (L=L@entry=0x7fb391f36380, nargs=nargs@entry=0, nresults=nresults@entry=0, errfunc=errfunc@entry=-2) at lj_api.c:1116
g = 0x7fb391f363e0
oldh = 0 '\000'
ef = <optimized out>
status = <optimized out>
__func__ = "lua_pcall"
#5 0x000055b0172041a5 in nlua_pcall (lstate=lstate@entry=0x7fb391f36380, nargs=nargs@entry=0, nresults=nresults@entry=0) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/lua/executor.c:100
status = <optimized out>
#6 0x000055b01720b252 in nlua_schedule_event (argv=<optimized out>) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/lua/executor.c:171
cb = <optimized out>
lstate = 0x7fb391f36380
#7 0x000055b0172e6099 in state_handle_k_event () at /home/ustc-1314/Manually_Installed/neovim/src/nvim/state.c:97
event = {handler = 0x55b01720b21d <nlua_schedule_event>, argv = {0xf2, 0x7fb38ba2ca30, 0x55b0173c4be8 <trace_state+488>, 0x7fb38ba2ca30, 0x7fb389840b24, 0x7fb389840ab8, 0x7fb391f366b8, 0x7fb38ba2ca30, 0x7fb391f363e0, 0x7fb38bd99408}}
#8 0x000055b01715b2ff in insert_handle_key (s=s@entry=0x7ffeeaeb7ab0) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/edit.c:1078
No locals.
#9 0x000055b01715bd47 in insert_execute (state=0x7ffeeaeb7ab0, key=<optimized out>) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/edit.c:838
s = 0x7ffeeaeb7ab0
#10 0x000055b0172e5f9b in state_enter (s=0x7ffeeaeb7ab0) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/state.c:79
check_result = <optimized out>
key = <optimized out>
execute_result = <optimized out>
#11 0x000055b01715507e in insert_enter (s=s@entry=0x7ffeeaeb7ab0) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/edit.c:494
No locals.
#12 0x000055b0171553e6 in edit (cmdchar=97, startln=<optimized out>, count=1) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/edit.c:1469
state = {state = {check = 0x55b01715386a <insert_check>, execute = 0x55b01715b8a0 <insert_execute>}, ca = 0x0, mincol = 0, cmdchar = 97, cmdchar_todo = 0, startln = 0, count = 0, c = -26365, lastc = -26877, i = 0, did_backspace = false,
line_is_white = false, old_topline = 1, old_topfill = 0, inserted_space = 0, replaceState = 80, did_restart_edit = 0, nomove = false, ptr = 0x0}
s = 0x7ffeeaeb7ab0
#13 0x000055b0172448ca in normal_finish_command (s=s@entry=0x7ffeeaeb7ba0) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/normal.c:970
No locals.
#14 0x000055b01724a05a in normal_execute (state=0x7ffeeaeb7ba0, key=<optimized out>) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/normal.c:1172
s = 0x7ffeeaeb7ba0
__PRETTY_FUNCTION__ = "normal_execute"
#15 0x000055b0172e5f9b in state_enter (s=0x7ffeeaeb7ba0) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/state.c:79
check_result = <optimized out>
key = <optimized out>
execute_result = <optimized out>
#16 0x000055b017241902 in normal_enter (cmdwin=<optimized out>, noexmode=<optimized out>) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/normal.c:463
state = {state = {check = 0x55b017244308 <normal_check>, execute = 0x55b017249a98 <normal_execute>}, command_finished = false, ctrl_w = false, need_flushbuf = false, set_prevcount = false, previous_got_int = false, cmdwin = false,
noexmode = false, toplevel = true, oa = {op_type = 0, regname = 0, motion_type = kMTLineWise, motion_force = 0, use_reg_one = false, inclusive = false, end_adjusted = false, start = {lnum = 0, col = 0, coladd = 0}, end = {lnum = 0, col = 0,
coladd = 0}, cursor_start = {lnum = 0, col = 0, coladd = 0}, line_count = 0, empty = false, is_VIsual = false, start_vcol = 0, end_vcol = 0, prev_opcount = 0, prev_count0 = 0, excl_tr_ws = false}, ca = {oap = 0x7ffeeaeb7bb8, prechar = 0,
cmdchar = -26877, nchar = 0, ncharC1 = 0, ncharC2 = 0, extra_char = 0, opcount = 0, count0 = 0, count1 = 1, arg = 0, retval = 0, searchbuf = 0x0}, mapped_len = 1, old_mapped_len = 0, idx = 185, c = 0, old_col = 27, old_pos = {lnum = 168,
col = 27, coladd = 0}}
#17 0x000055b017218732 in main (argc=<optimized out>, argv=<optimized out>) at /home/ustc-1314/Manually_Installed/neovim/src/nvim/main.c:557
fname = 0x55b019388af0 "lua/xx/snippets/c.lua"
params = {argc = 2, argv = 0x7ffeeaeb7f38, use_vimrc = 0x0, clean = false, n_commands = 0, commands = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, cmds_tofree = "\000\000\000\000\000\000\000\000\000", n_pre_commands = 0, pre_commands = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, edit_type = 1, tagname = 0x0, use_ef = 0x0, input_isatty = true, output_isatty = true, err_isatty = true, input_neverscript = false, no_swap_file = 0, use_debug_break_level = -1,
window_count = 1, window_layout = 0, diff_mode = 0, listen_addr = 0x0}
cwd = 0x0
use_remote_ui = false
use_builtin_ui = true
vimrc_none = <optimized out>
__PRETTY_FUNCTION__ = "main"
FYI, changing back to release v0.6.1 seems fine.
probably fixed by https://github.com/nvim-lua/plenary.nvim/pull/321
can someone confirm?
Yup, fixed
Description
I am getting a segmentation fault every time I open any Telescope window. Worked fine previously
Neovim version
Operating system and version
Manjaro 5.15.19-1
checkhealth telescope
Steps to reproduce
Open any telescope menu
Expected behavior
No segfault
Actual behavior
segfault
Minimal config