-
-
Notifications
You must be signed in to change notification settings - Fork 17
Crash on startup after updating my system: "Panic: runtime error: invalid memory address or nil pointer dereference" #194
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
Comments
@Invertisment 👋 thank you for taking the time to open the issue. The reason is that the latest stable doesn't target the arduino-cli v1.0.0 yet. For this reason, I suggest installing the LSP with the |
Issue seems to persist using latest version of Neovim version:
Arduino-cli version info:
inols-err.log
@alessio-perugini I have tried both version 0.7.7 and the latest version of arduino-language-server, and both seem to have the same issue. Should I have to downgrade neovim or the arduino-cli versions? |
Describe the problem
I enter my NVIM and it starts the LSP server.
Almost immediately the LSP server crashes with this message in the editor:
Then I get this message in the LSP log:
To reproduce
It's enough to start my editor with
.ino
file.clangd version 18.1.8
NVIM v0.9.5 (I had to downgrade from 10.1 because of this bug: #186)
Expected behavior
No crash.
Arduino Language Server version
0.7.6
Arduino CLI version
1.0.3-arch Commit: 8b6ad258e88581a9e77b2eede65aeeeeb265008c
Operating system
Linux
Operating system version
6.9.12-1-MANJARO
Additional context
Note: If I upgrade to the
@latest
unstable version then it doesn't crash (go install github.com/arduino/arduino-language-server@latest
)Issue checklist
The text was updated successfully, but these errors were encountered: