8000 Ols crashes after a few seconds in Windows 11 on arm · Issue #614 · DanielGavin/ols · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ols crashes after a few seconds in Windows 11 on arm #614

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

Open
homlhl opened this issue Mar 15, 2025 · 5 comments
Open

Ols crashes after a few seconds in Windows 11 on arm #614

homlhl opened this issue Mar 15, 2025 · 5 comments

Comments

@homlhl
Copy link
homlhl commented Mar 15, 2025

I doesn't matter if I start the ols on the command line i a power shell or if it is started from within i.e hx or VScode, it starts and then it crashes. From the hx logs it says that Ols is started but closes the stream after a few seconds. I can also mention that I have created the ols.json file in my project directory. Another thing worth mentioning is that I have also installed Ols within WSL/Ubuntu on the same machine and it works as a charm:

Log from hx :
2025-03-14T11:38:40.677 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2025-03-14T11:38:40.677 helix_lsp::transport [ERROR] ols err: <- StreamClosed
2025-03-14T13:09:47.498 helix_lsp::transport [ERROR] ols err: <- StreamClosed
2025-03-14T13:09:47.500 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2025-03-14T13:34:03.668 helix_lsp::transport [ERROR] ols err: <- StreamClosed
2025-03-14T13:34:03.669 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2025-03-14T14:11:30.352 helix_lsp::transport [ERROR] ols err: <- StreamClosed
2025-03-14T14:11:30.353 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2025-03-14T14:12:22.358 helix_lsp::transport [ERROR] ols err: <- StreamClosed
2025-03-14T14:12:22.359 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2025-03-14T14:14:12.322 helix_lsp::transport [ERROR] ols err: <- StreamClosed
2025-03-14T14:14:12.323 helix_lsp [ERROR] failed to initialize language server: server closed the stream

@DanielGavin
Copy link
Owner

What happens if you call ols version?

@homlhl
Copy link
Author
homlhl commented Mar 16, 2025

Nothing happens, no printout, the only thing is that the exit take some time, it doesn't occur instantly. Is it possible for me to do some printf debugging, to compile i from source on Windows 11 (Arm), to provide more info

@homlhl
Copy link
Author
homlhl commented Mar 16, 2025

I can also mention that all tests that's running by the build.bat script passes through, without any errors.

@homlhl
Copy link
Author
homlhl commented Mar 16, 2025

There is an unhandled exception in the file enty_windows.odin:44

		return 0
	}
} else {
	@(link_name="main", linkage="strong", require)
	main :: proc "c" (argc: i32, argv: [^]cstring) -> i32 {
		args__ = argv[:argc]
		context = default_context()   <----------------------------- line 44 unhandled exception
		#force_no_inline _startup_runtime()
		intrinsics.__entry_point()
		#force_no_inline _cleanup_runtime()
		return 0
	}
}

@DanielGavin
Copy link
Owner

It's most likely related to Odin itself. I won't be able to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0