-
Notifications
You must be signed in to change notification settings - Fork 73
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
Server crashes when invalidating some sentences #1048
Comments
This is an issue in the scheduler. Do you have an example where this happens ? |
Okay, I believe the culprit is: vscoq/language-server/dm/executionManager.ml Line 846 in b0b7f69
When a sentence is invalidated we check if we need to invalidate its dependents. In the off chance that we scheduled a block on parse error event that needs to be "invalidated", this will try and look for its dependents (to invalidate them) and crash. I can push a hotfix / release if this is really blocking or we can wait till next release (in about 3 weeks time). |
Well I've got a fix, so depending on how impactful this is, I can release. |
Please release 🙏 |
I have had reports of similar crashes happening just with some copy pasting through a coq file... See https://coq.zulipchat.com/#narrow/channel/237662-VsCoq-devs-.26-users/topic/VSCoq.20resetting.20a.20lot.20on.202.2E2.2E5 If anyone gets a similar behaviour please could you report ? Trying to pin-point the problem ! |
Got the same error as @TheoWinterhalter
very difficult to reproduce. |
I am using
2.2.4
and the parsing phase seems more fragile. While editing I have sometimes the server crashing.Here is my log file of the
Coq Language Server
How I can find what senterce 923 and 1371 refer to?
The text was updated successfully, but these errors were encountered: