Skip to content
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

vscoq is constantly crashing and has to be reloaded every minute #989

Open
JasonGross opened this issue Jan 19, 2025 · 6 comments
Open

vscoq is constantly crashing and has to be reloaded every minute #989

JasonGross opened this issue Jan 19, 2025 · 6 comments

Comments

@JasonGross
Copy link
Member

I don't think the server should crash when it sees

[top                 , 91315, 1737325241.070620] ==========================================================
[top                 , 91315, 1737325241.070650] Trying to get range of non-existing sentence 794
[top                 , 91315, 1737325241.070651] ==========================================================
[Info  - 10:20:41 PM] Connection to server got closed. Server will restart.
true
[Error - 10:20:41 PM] Server process exited with code 0.
[top                 , 91390, 1737325246.720450] ==========================================================
[top                 , 91390, 1737325246.720488] Trying to get range of non-existing sentence 692
[top                 , 91390, 1737325246.720490] ==========================================================
[Error - 10:20:46 PM] Server process exited with code 0.
[Info  - 10:20:46 PM] Connection to server got closed. Server will restart.
true
[top                 , 91429, 1737325291.813120] ==========================================================
[top                 , 91429, 1737325291.813144] Trying to get range of non-existing sentence 1050
[top                 , 91429, 1737325291.813145] ==========================================================
[Error - 10:21:31 PM] Server process exited with code 0.
[Error - 10:21:31 PM] The Coq Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
@rtetley
Copy link
Collaborator

rtetley commented Jan 20, 2025

Could you provide an example file where this happens ?

@Dashadower
Copy link

I'm getting the same error. It's not occurring when I step through but when I'm in the middle of typing something.

@JasonGross
Copy link
Member Author

This was caused by having autocompletions enabled in settings, disabling them fixes the issue

@Dashadower
Copy link

This was caused by having autocompletions enabled in settings, disabling them fixes the issue

Did you disable vscoq's Completion: Enable option? I'm still getting the same error after disabling it, even after reinstalling coq and vscoq from a fresh switch.

@rtetley
Copy link
Collaborator

rtetley commented Feb 13, 2025

I believe this is the same problem as #1009 and was fixed by #1021.
Next release is imminent !

@Dashadower
Copy link

That's great. Looking forwards to 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

3 participants