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

Server crashes intermittently #97

Closed
castwide opened this issue Oct 24, 2018 · 8 comments
Closed

Server crashes intermittently #97

castwide opened this issue Oct 24, 2018 · 8 comments
Labels

Comments

@castwide
Copy link
Owner

(Reported in castwide/vscode-solargraph#83)

The completionItem/resolve method intermittently crashes the server, apparently due to an access violation in a component of the RDoc library that's not thread-safe. A fix is in progress and will be published in the next patch release.

@castwide castwide added the bug label Oct 24, 2018
@castwide
Copy link
Owner Author

The fix is published in gem 0.28.4.

(ping @gencer)

@gencer
Copy link

gencer commented Oct 26, 2018

Thank you! I am updating now.

Update: Will report back if anything goes wrong.

@gencer
Copy link

gencer commented Oct 27, 2018

@castwide , It did crashed again.

[Error - 5:38:07 PM] Connection to server is erroring. Shutting down server.
[Error - 5:38:07 PM] Connection to server is erroring. Shutting down server.
[Error - 5:38:07 PM] Connection to server is erroring. Shutting down server.
[Error - 5:38:07 PM] Connection to server is erroring. Shutting down server.
[Error - 5:38:07 PM] Connection to server is erroring. Shutting down server.
[Error - 5:38:07 PM] Connection to server is erroring. Shutting down server.

@castwide
Copy link
Owner Author

Does it crash more or less immediately, during initialization? If not, can you pinpoint what you're doing when it crashes?

What version of Ruby are you using?

@gencer
Copy link

gencer commented Oct 27, 2018

Let me answer all;

  1. Ruby 2.5.3 x64 (on Windows)
  2. It crashes after 5-10 minutes definitely not immediately.
  3. I just work on project as usual that's all, nothing special. It auto-completes for a while then exit and stop completing or suggesting.

Note: I have 2 workspace (2 diff projects) opened at the same time. Today only one of them crashed.

@castwide
Copy link
Owner Author

Thanks. I switched to Ruby 2.5.3 to see if I can reproduce the error. (I've been using 2.5.1.)

@castwide
Copy link
Owner Author

Fix released in v0.29.0.

@castwide
Copy link
Owner Author

Closing for inactivity. If anyone still has issues with crashes, please feel free to open a new issue.

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

No branches or pull requests

2 participants