You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue where for certain .hs files, emacs consistently freezes after they have been open for a few seconds. I cannot get emacs unstuck with Ctrl-G; the only way to get it unstuck is to kill it or at least send it a SIGUSR2.
Examples of files that consistently cause the freeze:
Unfortunately I am not sure how to make smaller examples reproducing the issue. The freeze does not seem to happen when there are type errors, or if I just start editing a small .hs file from scratch.
I tried running haskell-language-server-wrapper manually from the command line; it completes successfully on these files.
So the problem is either in lsp-haskell or in lsp-mode. I do not know for sure where the problem is but I am nearing the limits of my ability to debug this on my own. Any help or insights are appreciated, even if the problem does not end up being in lsp-haskell.
When emacs freezes, sending it SIGUSR2 produces a trace like the following (the trace always looks very similar to this). Happy to provide any additional information or carry out any recommended debugging steps.
I am having an issue where for certain
.hs
files, emacs consistently freezes after they have been open for a few seconds. I cannot get emacs unstuck with Ctrl-G; the only way to get it unstuck is to kill it or at least send it aSIGUSR2
..hs
file from scratch.haskell-language-server-wrapper
manually from the command line; it completes successfully on these files.lsp-haskell
or inlsp-mode
. I do not know for sure where the problem is but I am nearing the limits of my ability to debug this on my own. Any help or insights are appreciated, even if the problem does not end up being inlsp-haskell
.When emacs freezes, sending it
SIGUSR2
produces a trace like the following (the trace always looks very similar to this). Happy to provide any additional information or carry out any recommended debugging steps.The text was updated successfully, but these errors were encountered: