Odin Language Server causing Helix executable to be entirely deleted + malware flagged #12961
Unanswered
adambigg-s
asked this question in
Troubleshooting
Replies: 1 comment
-
For reference, this is the output in my terminal when trying to invoke "hx":
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When using the Odin Language Server, goto_definition will almost always cause Helix to completely crash aggressively enough that the executable is being removed. Without "cargo clean" upon rebuilding, Windows 11 will not even allow hx.exe to run afterwards.
I also posted an issue on the ols page, I am having a hard time interpreting the log to figure out if this is an interaction specifically with ols and Helix or just ols.
My preliminary hypothesis is there some major OOB access from ols, and Windows Defender is aggressively flagging something as maliciuos and killing all the processes. But, I don't know if the solution to this is Helix-centric of ols-centric.
Reproduction Steps
My languages.toml (Odin relevant) looks like this:
The only things required to replicate is to open an Odin project and goto_definition on anything.
Helix log
Another line that might be relevant is as follows. This message is much less frequent, but the 'invalid value' might give some useful info:
2025-02-25T14:00:59.595 helix_term::application [ERROR] Ignoring unknown notification from Language Server: protocol error: InvalidParams: Invalid params: invalid value: integer
-1, expected u32.
Platform
Windows 11
Terminal Emulator
Windows Terminal 1.21.10351.0
Installation Method
built from source
Helix Version
helix 25.01.1 (35575b0)
Beta Was this translation helpful? Give feedback.
All reactions