-
Notifications
You must be signed in to change notification settings - Fork 257
RLS crashes in VSCode #312
Comments
rust-lang/rust#41900 just landed. With luck, this should roll out soon. |
No luck... still seeing the crash even with the updated nightly |
I'm also getting crashes with VSCode, but on Windows 10 Pro x64 1703.
|
My RLS is also crashing, but with a different message: |
With RUST_BACKTRACE=1
|
I'm replicating some information from editor-rs/vscode-rust#229, because I've looked into the matter and it might not be more an issue with the Rust extension than I had initially thought. The RLS type definition Edit: There's an issue over at gluon-lang/lsp-types#14 already. |
0.9.0 (with the required fixed) of languageserver-types is now published |
- update "languageserver-types" to 0.9.0 - modify initialization params to use `None` in experimental field of ClientCapabilities - change tests to consider an empty object in client capabilities
When will the fix be available in rustup? |
Since nightly builds are updated nearly daily (upon new passing changes in the master branch) , it should become available tomorrow. Meanwhile, you can build RLS from source yourself. |
I just ran rustup, my nightly is now at 2017-05-12 and it still crashes.
…On Fri, May 12, 2017 at 7:13 PM, Harry Cheng ***@***.***> wrote:
[image: image]
<https://cloud.githubusercontent.com/assets/1381736/26021244/6b010854-37bc-11e7-8344-bc93f4f245ce.png>
It crashes...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#312 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJSF1pyn2eWpJ7oxo7gXX0LhFF-D3uiTks5r5QO8gaJpZM4NXgn3>
.
|
@nrc - did you update the submodule in rustc when you closed this? To be on the safe side, reopening this until we can confirm the fix works via rustup, since that's how most people will get it. |
@jonathandturner He didn't update it.. |
rustc 1.19.0-nightly (e17a122 2017-05-12):
|
The error "missing field |
I think we need a pull request..... I am not seeing any RLS-related commits, only rust-lang/rust@1ffa6b731e which happened few days ago... |
Ah, so we need to update the rls submodule in the Rust repository? Allow me to propose another RLS update then. |
Yeah, we need a pull request. |
I just updated to the newest version, now I'm getting:
|
@martinschleiss I'm afraid I cannot reproduce that in my system. It's also definitely not the same issue as those observed before. What language server consumer have you used? |
I'm using jonathan's vscode extension |
It shouldn't happen according to the code... |
The "rootUri" field is clearly optional. I would advise you to make sure that you have built from the latest position in the master branch. |
Update RLS to solve serious crash As a follow-up to rust-lang/rls#312, this PR contains the fix to the latest experienced RLS crashes, which should hopefully reach the nightly release as soon as possible.
Ok, it's working again. Thanks! |
Update RLS to solve serious crash As a follow-up to rust-lang/rls#312, this PR contains the fix to the latest experienced RLS crashes, which should hopefully reach the nightly release as soon as possible.
Leaving open until we update the RLS submodule in Rust |
I just updated to nightly 826d8f3 2017-05-13 and it still hasn't landed in nightly. |
@rnleach PR hasn't been merged yet, keep an eye on rust-lang/rust#41969 |
Update RLS to solve serious crash As a follow-up to rust-lang/rls#312, this PR contains the fix to the latest experienced RLS crashes, which should hopefully reach the nightly release as soon as possible.
Hi, I'm new to Rust, is there anykind of respin in nightly to push critical fixes quicker? |
@Geobert You can add date to nightly, just like this: rustup override set nightly-2017-05-10
rustup component add rls --toolchain nightly-2017-05-10
rustup component add rust-analysis --toolchain nightly-2017-05-10
rustup component add rust-src --toolchain nightly-2017-05-10 |
@Geobert - To my knowledge, the current infrastructure only lets us spin at night. |
@jonathandturner at night in what country/timezone? ;) |
@rnleach - AIUI they roll out at midnight GMT (UTC+0) |
rustc 1.19.0-nightly (386b0b9 2017-05-14) is in! We're finally done here. :) |
@Enet4 \o/ Have you tested that the RLS now runs without crashes? |
@nrc I tested it on my machine and it all worked well. Still, it wouldn't hurt to have a few more people try it out before we close. |
Awesome, thanks @Enet4 ! |
RLS is still crashing for me on any project (although it takes longer than before), see rust-lang/vscode-rust#67. I'm on rustc 1.20.0-nightly (f590a44 2017-06-27) (nightly-x86_64-apple-darwin). |
|
Thanks @zmanian, I had gotten |
It just crashes on any project in Ubuntu 16.04. Chatted about it in #rust-tools with @jonathandturner and it seems it has something to do with latest rustup release.
The text was updated successfully, but these errors were encountered: