-
Notifications
You must be signed in to change notification settings - Fork 257
windows rls stderr: thread 'main' has overflowed its stack #838
Comments
Do you have a stack trace? I'm aware of Racer causing this problem sometimes, I've not seen it happen due to the compiler or RLS. Could test by disabling Racer completion and seeing if it reproduces. |
Can you provide me more information about disabling racer and retrying it? The output you see above is all I've seen too when running No stack trace from what I can tell. I do have With |
In your user settings, set |
Adding |
Since this is/was reproduced by Running the steps on the latest nighty produces a new error It still
|
Having the exact same issue with a |
Using RLS on the command line with today's nightly Rust and RLS master I get a bunch of compile errors, but no panic and no stack overflow. |
In VSCode I'm also not seeing a panic or stack overflow but I am seeing the errors in logs, but no report to the user. |
Whoops, missed that this was Windows only, that would explain why I'm not seeing it. |
I'm getting the same error with |
If someone who can reproduce on Windows could run a debug build of the RLS and get a backtrace, that would be really useful |
I cloned this repo and compiled
|
Ran it in
|
I don't have a |
Awesome, thank you! |
@dannyfritz could you run again please? But add the following before https://github.com/rust-lang-nursery/rls/blob/master/src/server/mod.rs#L391:
|
|
The After resolving the UNC path thing (I'll raise a pr) we're back to Output (with InitializeResult contents removed):
Sometimes at this point windows will notify me that rls.exe has crashed. Sometimes the output prints a little more, but rls is still kaput.
|
Reported in rust-lang#838 Also see rust-lang/rust#42869
Reported in rust-lang#838 Also see rust-lang/rust#42869
Initially reported rust-lang/atom-ide-rust#75. Soon after starting rls reports
thread 'main' has overflowed its stack
on stderr. This seems to be the cause of rls not working for this project.Steps to reproduce
git clone https://github.com/dannyfritz/learn-glium
rustup run nightly rls --cli
This produces
The text was updated successfully, but these errors were encountered: