Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

RLS crash with nightly 15/05 #319

Closed
Geobert opened this issue May 16, 2018 · 5 comments
Closed

RLS crash with nightly 15/05 #319

Geobert opened this issue May 16, 2018 · 5 comments

Comments

@Geobert
Copy link

Geobert commented May 16, 2018

Using nightly-x86_64-pc-windows-msvc updated - rustc 1.27.0-nightly (f0fdaba04 2018-05-15)

fatal runtime error: memory allocation failed
[Info  - 20:09:33] Connection to server got closed. Server will restart.
fatal runtime error: memory allocation failed
[Info  - 20:09:38] Connection to server got closed. Server will restart.
fatal runtime error: memory allocation failed
[Info  - 20:09:42] Connection to server got closed. Server will restart.
fatal runtime error: memory allocation failed
[Info  - 20:09:45] Connection to server got closed. Server will restart.
fatal runtime error: memory allocation failed
[Error - 20:09:49] Connection to server got closed. Server will not be restarted.
@cynecx
Copy link

cynecx commented May 16, 2018

I've also had this error but it seems fixed with master/upstream. If you need a working rls now, you would have to clone the rls repository and manually build it (Well, it's simply cargo build --release). You just have to configure rls-vscode to use the locally built rls by setting rust-client.rlsPath.

@Geobert
Copy link
Author

Geobert commented May 16, 2018

I got this with master:

[Info  - 20:39:13] Connection to server got closed. Server will restart.
[Info  - 20:39:13] Connection to server got closed. Server will restart.
[Info  - 20:39:13] Connection to server got closed. Server will restart.
[Info  - 20:39:13] Connection to server got closed. Server will restart.
[Error - 20:39:13] Connection to server got closed. Server will not be restarted.

No bother, I'll wait :)

@cynecx
Copy link

cynecx commented May 16, 2018

Well, that's weird for sure. I suppose this is an issue with rls, so I think it's best if you report this over the rls repo.

@Geobert
Copy link
Author

Geobert commented May 16, 2018

It seems it was already done: rust-lang/rls#871

@nrc
Copy link
Member

nrc commented May 17, 2018

This should be fixed with today's nightly, sorry for the inconvenience.

@nrc nrc closed this as completed May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants