-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Segfault Compiling Rust Completer #3040
Comments
I can't reproduce with the same version of Rust on macOS 10.13.4. Maybe the segfault is due to a lack of memory? Could you paste the full output of the build to see when the segfault occurs? You can specifically compile the Rust completer with the following command:
|
Looking a bit closer, it's not the rust compiler that is crashing, but a binary called "build-script-build", built from "build.rs", and that I assume is part of the build process: Rustc compiling "build-script-build":
Segfault when "build-script-build" is being run:
|
I suppose this line is causing the segfault. When building the Rust completer, the script is actually moving to the directory
Do you still get the segfault if you build racerd without the |
No segfault when building without --release. The whole build finishes successfully.
|
This may be related to issue rust-lang/rust#50586. Could you try with Rust 1.25.0? |
You're probably right, it works with rust 1.25.0. That solves the issue for me. Thanks. |
Closing as a Rust compiler issue then. |
Hi,
I'm getting a segmentation fault when trying to build the rust completer under Mac OS X 10.11.6 using rust stable 1.26:
Looking at the backtrace, it seems to be related to serde:
If anyone is planning to look into this, let me know if I can provide you with any additional information.
Btw, I realise this could very well be a rust compiler issue rather than a YCM issue.
The text was updated successfully, but these errors were encountered: