prabirshrestha / vim-lsp

async language server protocol plugin for vim and neovim
MIT License
3.14k stars 305 forks source link

Vim crashes with SIGSEGV when using tagfunc=lsp#tagfunc #895

Closed vogre closed 4 years ago

vogre commented 4 years ago

Hello!

I've encountered infrequent and hard-to-reproduce crashes when using tagfunc and completing words with i_CTRL-N.

Vim version 8.1.2269 OS: Linux (Ubuntu 20.04) Language Server: pyls

Removing tags from complete (complete-=t) got rid of the crashes.

Stack trace:

 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
 vim_strsave ()
 dict_add_string_len ()
 find_tags ()
 ?? ()

This might be issue in core VIM instead and only triggered by vim-lsp

prabirshrestha commented 4 years ago

@vogre can you file an issue at https://github.com/vim/vim. vim should never crash.

prabirshrestha commented 4 years ago

Bug in vim.