-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client 1 quit with exit code 0 and signal 6 #1100
Comments
@leecannon Sorry, this was the actual error that led to the Mason update which is why I had opened the previous error message: #1099 |
That error looks a lot like #1067 (comment) which I thought was isolated to that PR :( |
It doesn't seem to be isolated that PR, you're right. Probably caused by me allocating those |
Would be great because I have to run :LspStart all the time. 🥺 |
@chrboesch can you build with #1101 checked out and let me know if it helps? Thanks! :) |
@SuperAuguste I have installed it and will continue to work with it. Let's see if the error occurs again. Always takes a little time. |
@SuperAuguste New error:
|
Do you have a reproduction I could use to try and debug this? :) |
I guess the error happens because I use |
I see. Could you make sure you've built zls in debug and send the whole error log next time? It'd be super helpful for figuring this one out. Thanks! |
ok |
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "info : (config): Using zig executable /home/chris/.local/lib/zig/zig\n"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "info : (config): Using zig lib path '/home/chris/.local/lib/zig/lib'\ninfo : (config): Using build runner global cache path '/home/chris/.cache/zig'\ninfo : (config): Detected runtime zig version: '0.11.0-dev.2312+dd66e0add'\n"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "info : (server): client is 'Neovim-0.8.3'\ninfo : (server): zls initializing\ninfo : (server): Server.ClientCapabilities{ .supports_snippets = true, .supports_apply_edits = true, .supports_will_save = false, .supports_will_save_wait_until = false, .supports_publish_diagnostics = true, .supports_code_action_fixall = false, .hover_supports_md = true, .completion_doc_supports_md"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " = true, .label_details_support = true, .supports_configuration = true, .supports_workspace_did_change_configuration_dynamic_registration = false }\ninfo : (server): Using offset encoding: utf-16\ndebug: (server): Took 0ms to process method initialize\n"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method initialized\n"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "error: (store ): Failed to execute build runner to collect build configuration, command:\n/home/chris/.local/lib/zig/zig build --build-runner /home/chris/.cache/zls/build_runner.zig\nError: /home/chris/workspace/zig/test/build/3/build.zig:21:29: error: expected type '*Build.CompileStep', found '*Build.Step'\n/home/chris/workspace/zig/test/build/3/build.zig:21:29: note: pointer type child 'Build.Step' cannot cast into pointer type child 'Build.CompileStep'\n/home/chris/.local/lib/zig/lib/std/Build/Step.zig:1:1: note: struct declared here\n/home/chris/.local/lib/zig/lib/std/Build/CompileStep.zig:1:1: note: struct declared here\n/home/chris/.local/lib/zig/lib/std/Build/RunStep.zig:143:49: note: parameter type declared here\n\nerror: (store ): Failed to load build configuration for file:///home/chris/workspace/zig/test/build/3/build.zig (error: error.RunFailed)\n"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/workspace/zig/test/build/3/build.zig` (build file)\ndebug: (server): Took 620ms to process method textDocument/didOpen\ninfo : (server): Setting configuration...\ndebug: (server): Server.ClientCapabilities{ .supports_snippets = true, .supports_apply_edits = true, .supports_will_save = false, .supports_will_save_wait_until = false, .supports_publish_diagnostics = true, .supports_code_action_fixall = false, .hover_supports_md = true, .completion_doc_supports_md = true, .label_details_support = true, .supports_configuration = true, .supports_workspace_did_change_configuration_dynamic_registration = false }\ninfo : (config): Using zig executable /home/chris/.local/lib/zig/zig\n"
[ERROR][2023-03-29 19:27:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "info : (config): Using zig lib path '/home/chris/.local/lib/zig/lib'\ninfo : (config): Using build runner global cache path '/home/chris/.cache/zig'\ninfo : (config): Detected runtime zig version: '0.11.0-dev.2312+dd66e0add'\n"
[ERROR][2023-03-29 19:27:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/std.zig`\n"
[ERROR][2023-03-29 19:27:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/Build.zig`\n"
[ERROR][2023-03-29 19:27:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/Build/Step.zig`\ndebug: (server): Took 3ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:33:29] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method shutdown\n"
[ERROR][2023-03-29 19:33:29] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method exit\n"
[START][2023-03-29 19:33:43] LSP logging initiated
[ERROR][2023-03-29 19:33:43] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "info : (config): Using zig executable /home/chris/.local/lib/zig/zig\ninfo : (config): Using zig lib path '/home/chris/.local/lib/zig/lib'\ninfo : (config): Using build runner global cache path '/home/chris/.cache/zig'\ninfo : (config): Detected runtime zig version: '0.11.0-dev.2312+dd66e0add'\ninfo : (server): client is 'Neovim-0.8.3'\ninfo : (server): zls initializing\ninfo : (server): Server.ClientCapabilities{ .supports_snippets = true, .supports_apply_edits = true, .supports_will_save = false, .supports_will_save_wait_until = false, .supports_publish_diagnostics = true, .supports_code_action_fixall = false, .hover_supports_md = true, .completion_doc_supports_md = true, .label_details_support = true, .supports_configuration = true, .supports_workspace_did_change_configuration_dynamic_registration = false }\ninfo : (server): Using offset encoding: utf-16\ndebug: (server): Took 0ms to process method initialize\n"
[ERROR][2023-03-29 19:33:43] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method initialized\n"
[ERROR][2023-03-29 19:33:44] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "error: (store ): Failed to execute build runner to collect build configuration, command:\n/home/chris/.local/lib/zig/zig build --build-runner /home/chris/.cache/zls/build_runner.zig\nError: /home/chris/workspace/zig/test/build/3/build.zig:21:29: error: expected type '*Build.CompileStep', found '*Build.Step'\n/home/chris/workspace/zig/test/build/3/build.zig:21:29: note: pointer type child 'Build.Step' cannot cast into pointer type child 'Build.CompileStep'\n/home/chris/.local/lib/zig/lib/std/Build/Step.zig:1:1: note: struct declared here\n/home/chris/.local/lib/zig/lib/std/Build/CompileStep.zig:1:1: note: struct declared here\n/home/chris/.local/lib/zig/lib/std/Build/RunStep.zig:143:49: note: parameter type declared here\n\nerror: (store ): Failed to load build configuration for file:///home/chris/workspace/zig/test/build/3/build.zig (error: error.RunFailed)\ndebug: (store ): Opened document `file:///home/chris/workspace/zig/test/build/3/build.zig` (build file)\n"
[ERROR][2023-03-29 19:33:44] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 640ms to process method textDocument/didOpen\ninfo : (server): Setting configuration...\ndebug: (server): Server.ClientCapabilities{ .supports_snippets = true, .supports_apply_edits = true, .supports_will_save = false, .supports_will_save_wait_until = false, .supports_publish_diagnostics = true, .supports_code_action_fixall = false, .hover_supports_md = true, .completion_doc_supports_md = true, .label_details_support = true, .supports_configuration = true, .supports_workspace_did_change_configuration_dynamic_registration = false }\ninfo : (config): Using zig executable /home/chris/.local/lib/zig/zig\n"
[ERROR][2023-03-29 19:33:44] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "info : (config): Using zig lib path '/home/chris/.local/lib/zig/lib'\ninfo : (config): Using build runner global cache path '/home/chris/.cache/zig'\ninfo : (config): Detected runtime zig version: '0.11.0-dev.2312+dd66e0add'\n"
[ERROR][2023-03-29 19:33:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/std.zig`\n"
[ERROR][2023-03-29 19:33:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/Build.zig`\n"
[ERROR][2023-03-29 19:33:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/Build/RunStep.zig`\n"
[ERROR][2023-03-29 19:33:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 25ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:33:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didOpen\n"
[ERROR][2023-03-29 19:33:56] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:34:02] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:34:06] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/array_list.zig`\n"
[ERROR][2023-03-29 19:34:06] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 14ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:34:06] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didOpen\n"
[ERROR][2023-03-29 19:34:10] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Destroying build file file:///home/chris/workspace/zig/test/build/3/build.zig\ndebug: (server): Took 1ms to process method textDocument/didClose\n"
[ERROR][2023-03-29 19:37:13] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:37:13] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didOpen\n"
[ERROR][2023-03-29 19:37:25] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:38:35] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/debug.zig`\n"
[ERROR][2023-03-29 19:38:35] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 16ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:38:35] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didOpen\n"
[ERROR][2023-03-29 19:38:43] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didClose\n"
[ERROR][2023-03-29 19:38:50] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/Build/Step.zig`\n"
[ERROR][2023-03-29 19:38:50] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 5ms to process method textDocument/definition"
[ERROR][2023-03-29 19:38:50] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "\n"
[ERROR][2023-03-29 19:38:50] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didOpen\n"
[ERROR][2023-03-29 19:38:59] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:40:32] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:41:07] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:42:07] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:42:12] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (store ): Opened document `file:///home/chris/.local/lib/zig/lib/std/Build/CompileStep.zig`\ndebug: (server): Took 16ms to process method textDocument/didOpen\n"
[ERROR][2023-03-29 19:42:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 12ms to process method textDocument/documentSymbol\n"
[ERROR][2023-03-29 19:43:23] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:44:38] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:40] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:40] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:44:40] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\ndebug: (analysis): INVALID: zig.Ast.Node.Tag.root\ndebug: (completions): lsp.CompletionItemKindOperator has no sort score specified!\n"
[ERROR][2023-03-29 19:44:40] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 5ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:44:41] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:42] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:43] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:45] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:45] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:47] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:44:47] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:14] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:45:18] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:18] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didChange\ndebug: (server): Took 0ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:45:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:45:24] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:46:25] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:46:39] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:46:43] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:46:48] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:46:48] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:04] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/definition\n"
[ERROR][2023-03-29 19:47:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\ndebug: (server): Took 1ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:47:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:19] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:47:20] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:21] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:22] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:22] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:23] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:23] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:24] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:24] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:24] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:25] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:26] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:49] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 2ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:47:57] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\ndebug: (server): Took 1ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:48:00] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:00] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:48:00] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:00] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:00] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:01] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:02] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:02] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:04] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:04] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:05] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:05] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:48:06] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:06] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:06] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:07] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:08] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:08] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:48:08] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:09] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:10] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:10] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:10] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:10] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:10] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:11] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:11] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:11] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:11] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 0ms to process method textDocument/completion\n"
[ERROR][2023-03-29 19:48:11] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:12] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:12] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:16] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "debug: (server): Took 1ms to process method textDocument/didChange\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "thread 185263 panic: attempt to use null value\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/workspace/zig/neovim/zls_arena/src/DocumentStore.zig:252:63: 0x42cfdd in applySave (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " const build_file = self.build_files.getPtr(handle.uri).?;\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/workspace/zig/neovim/zls_arena/src/Server.zig:1055:40: 0x3f4564 in saveDocumentHandler (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " try server.document_store.applySave(handle);\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/workspace/zig/neovim/zls_arena/src/Server.zig:1784:35: 0x3aee53 in processMessage (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " break :blk handler(server, params) catch |err| {\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/workspace/zig/neovim/zls_arena/src/Server.zig:1641:26: 0x35cdca in processJsonRpc (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " server.processMessage(message) catch |err| switch (message) {\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/workspace/zig/neovim/zls_arena/src/main.zig:81:30: 0x35c58b in loop (zls)\n server.processJsonRpc"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "(json_message);\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/workspace/zig/neovim/zls_arena/src/main.zig:396:13: 0x35d958 in main (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " try loop(server, record_file, replay_file);\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/.local/lib/zig/lib/std/start.zig:617:37: 0x34523e in posixCallMainAndExit (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " const result = root.main() catch |err| {\n ^\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" "/home/chris/.local/lib/zig/lib/std/start.zig:376:5: 0x344ca1 in _start (zls)\n"
[ERROR][2023-03-29 19:48:17] .../vim/lsp/rpc.lua:733 "rpc" "zls" "stderr" " @call(.never_inline, posixCallMainAndExit, .{});\n ^\n"
|
fixed by a9cbadf which added a null check in |
Zig Version
0.11.0-dev.2312+dd66e0add
Zig Language Server Version
0.11.0-dev.357+9a7d262
Steps to Reproduce
After a view minutes working with Neovim zls crashes.
Expected Behavior
No crash.
Actual Behavior
After the crash, LSP-log shows the errors:
The text was updated successfully, but these errors were encountered: