-
-
Notifications
You must be signed in to change notification settings - Fork 389
SIGSEGV in haskell-language-server-9.0.1 on Linux #2487
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Here is some output from a gdb session reproducing the
|
Here is the same thing for haskell-language-server-8.10.7:
|
Woah, that's quite a dependency-heavy reproduction (Only the dependency part took me 15 mins in my super-fast desktop). And sadly, I cannot reproduce the Segfault with the latest HEAD of HLS under Manjaro system. If you didn't, could you try the project with the latest head? |
I built master from source and the resulting binary did not repro the problem. |
thanks for confirming it, we hope binaries from the next release will work too, let us know if it is not the case |
Your environment
Which OS do you use:
Ubuntu 20.04
Which lsp-client do you use:
vscode
Describe your project (alternative: link to the project):
https://github.com/jchia/taffybar/tree/ghc-9-full (stack.yaml with GHC 9.0.1)
Steps to reproduce
Expected behaviour
haskell-language-server-9.0.1 runs successfully and does not segfault. (If I switch the stack.yaml compiler to ghc-8.10.7, running haskell-language-server-8.10.7 does not segfault but fails an assert in allocatestack.c after 'Completed'.
Actual behaviour
Include debug information
Execute in the root of your project the command
haskell-language-server-wrapper --debug .
and paste the logs here:(if you are using the vscode extension check the executable location here)
Debug output:
Paste the logs from the lsp-client, you can check instructions about for VS Code here
LSP logs:
The text was updated successfully, but these errors were encountered: