-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
gopls SEGV fault on startup. #70271
Labels
gopls
Issues related to the Go language server, gopls.
Comments
what's the output of go version -m path/to/gopls |
I figured out my problem. I had 'golang-x-tools-gopls.x86_64: LSP server for Go' rpm package installed and it was masking the gopls executable for go 1.23. Once I removed this package all was good. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go version
go version go1.23.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
gopls just dies with a pointer error. I've tried reinstalling it with 'go install golang.org/x/tools/gopls@latest', but the issue persists.
What did you see happen?
I was attempting to use gopls with neovim. Neovim was complaining that it could figure out the version. Running the command gopls from the cli produced a stack trace.
What did you expect to see?
A non SEGV error.
The text was updated successfully, but these errors were encountered: