Skip to content

Failed to compile (signal: 9, SIGKILL: kill) #51309

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

Closed
TomasHubelbauer opened this issue Jun 2, 2018 · 2 comments
Closed

Failed to compile (signal: 9, SIGKILL: kill) #51309

TomasHubelbauer opened this issue Jun 2, 2018 · 2 comments

Comments

@TomasHubelbauer
Copy link
Contributor

Hey, I set up a new Cargo project using Actix-web and its verbatim example code. This meant adding an actix-web dependency and replacing the text in src/main.rs. I did this on a fresh Ubuntu 16.04 x64 install where only ca-certificates and build-essential were installed before Rust (from Rustup).

When I went to compile the project using cargo run, the build failed while compiling http. I've used --verbose to see what was up and got this:

> rustc --crate-name http /root/.cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/http-0.1.5/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c5fc1c2aeed1cb92 -C extra-filename=-c5fc1c2aeed1cb92 --out-dir /root/www/target/debug/deps -L dependency=/root/www/target/debug/deps --extern fnv=/root/www/target/debug/deps/libfnv-7a9f4c1f096c756f.rlib --extern bytes=/root/www/target/debug/deps/libbytes-5673bf19e74e48d8.rlib --cap-lints allow
Killed.

I filed an issue for this in http hyperium/http#207, but was advised to file here as it may be a compiler bug? So here goes. Anything I can do to help debug further I will. I am not that familiar with Unix debuggers, but I can provide some traces and stuff like that if told how.

@ishitatsuyuki
Copy link
Contributor

It's likely caused by OOM. What machine is it running on?

@TomasHubelbauer
Copy link
Contributor Author

Yeah it's probably a given now, the machine only has 500 MB RAM, I will try to add more RAM to it and will retry, but I am almost certain this is correct so I will close and reopen if I find different results.

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

No branches or pull requests

2 participants