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
Affected versions
27 on windows
The bug was not present on earlier version
Linux and mac is not affected
Additional context
The bug seems to be some weird combination of DETS and/or persistent_term usage. Removing DETS makes the crash much harder to reproduce. Removing both makes the crash go away.
The text was updated successfully, but these errors were encountered:
I managed to reproduce it locally, the crash happens when garbage collecting literals, which would point to something related to persistent_term deletion, or just literal GC in general.
I will continue to dig today, but Christmas holidays is coming so it will probably be a couple of weeks before I have time to find out what is going on.
Describe the bug
When ElixirLS test suite is run on Windows on OTP 27, beam crashes. When run from PowerShell terminal it corrupts the terminal.
When run from git bash it crashes and writes
No crash dump file is produced
To Reproduce
Unfortunately I was not able to isolate this crash to a simple erl script. The below steps require elixir 1.17 install with hex
mix deps.get
apps/language_server
mix test test/server_test.exs
ormix test test/providers/workspace_symbols_test.exs
Beam crashes almost on every run
Here's an example crash from ElixirLS CI
https://github.com/elixir-lsp/elixir-ls/actions/runs/12369438492/job/34521367766
Expected behavior
No crash
Affected versions
27 on windows
The bug was not present on earlier version
Linux and mac is not affected
Additional context
The bug seems to be some weird combination of DETS and/or persistent_term usage. Removing DETS makes the crash much harder to reproduce. Removing both makes the crash go away.
The text was updated successfully, but these errors were encountered: