Closed alexaandru closed 3 years ago
Sorry, fat fingered the Enter.... will fill it in properly, please bare with me.
related nvim-lspconfig issue https://github.com/neovim/nvim-lspconfig/issues/798
I make a special version for debugging. This version will send the error to sentry and I can study it.
If anyone can try to use it, I would be grateful.
Steps:
server/bin/vls
My bad, had an old vls
binary in /usr/local/bin which was being picked up :( Sorry for the noise, it all works fine with the latest vls.
Vetur: Restart VLS
https://github.com/vuejs/vetur/issues/2724 seems somewhat related, but it's hard to tell from the description/details if it's the same kind of crash.
Info
Problem
The LSP server crashes as soon as I open a .vue file. Here are the log entries:
Log file
[ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "V panic: get_type_symbol: invalid type (typ=0 idx=0). Compiler bug. This should never happen. Please create a GitHub issue.\n\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:15330: at v_panic: Backtrace\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:29457: by v__table__Table_get_type_symbol\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:40440: by v__parser__Parser_type_decl\n"[ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:38915: by v__parser__Parser_top_stmt\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:38701: by v__parser__Parser_parse\n"[ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:38523: by v__parser__parse_text\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:48864: by vls__Vls_process_file\n"[ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:48772: by vls__Vls_did_open\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:49034: by vls__Vls_dispatch\n"[ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:49165: by vls__Vls_start_loop\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:49314: by main__run_cli\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:25811: by cli__Command_parse_commands\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:25703: by cli__Command_parse\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:49326: by main__main\n" [ ERROR ] 2021-03-26T11:18:43+0200 ] ..._nvim.aKq01Cn/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:458 ] "rpc" "vls" "stderr" "/tmp/v/vls.18315471424635845045.tmp.c:49699: by main\n"Reproducible Case