-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Crash with OTP 27.0 #788
Comments
If I fix the nil |
I noticed that this issue only occurs in OTP 27. I conducted some simple investigations but have not yet identified the specific cause. I tried starting Node using the command line, but it does not halt. I'm not sure if OTP 27 has made changes to the implementation of |
Yes, I can confirm that switching to OTP 26 fixes the issue. |
Do you see any errors in Happy path here seems to be:
However if the project node dies for any other reason, we end up at the error you shared above. |
What I've done to repro:
|
I only have a
I was also logged in when the LSP started, and it seems it started two managers?
|
@dvic do you have two editors running? If not having two managers seems like it's a problem. |
No I believe I was not running two editors but not 100% sure, maybe I started |
@dvic I take it this project isn't open source? I haven't been able to reproduce it locally. |
Are you unable to reproduce the OTP 27 node down issue locally? It seems we just need to use this version: asdf local elixir 1.17.1-otp-27 && asdf local erlang 27.0 Then after running 10:13:18.740 [warn] The node has died. Restarting after deleting the build directory
10:14:16.274 [warn] The node has died. Restarting after deleting the build directory |
Unfortunately, yes. Can you reproduce it in lexical itself with the steps outlined above? Otherwise I can try to cook up a reproducible repo. |
We're investigating, @zachallaun can reproduce some failures, hopefully they're the same as what you're seeing. |
Hi there...
Which is also confirmed from the docs here: https://github.com/lexical-lsp/lexical/blob/main/pages/installation.md So what's the current situation if I'm running Elixir 1.17.2 with OTP 27? Thanks! |
@altdsoy please don't hijack threads, open an issue instead. Your problem is because you're using a released version of lexical and haven't built the latest |
I believe this is fixed by #796. Would someone who's experienced this crash be able to pull the branch |
I can confirm that that branch fixes the issue, thanks @zachallaun! Too bad about the increased memory usage, but that's all we can do for now I guess. Is this a known issue with OTP 27 or do we have to report it? |
I don't believe it's a known issue. I'm working on a report now. |
Not sure if support for Elixir 1.17 is not finished yet (though #760 is merged), but I'm encountering this on one of our projects:
The text was updated successfully, but these errors were encountered: