[Bug]: Segmentation fault error when running cargo shuttle
#720
Labels
S-Investigation
This issue needs further investigation or design to figure out a solution
T-Bug
Something isn't working
What happened?
After successful installation of shuttle with command
cargo install shuttle
any attempt to runcargo shuttle
ends with status -1 without additional logs.Using
strace
to explore the issue I see this:and with
valgrind
:So, it seems like the issue with
openssl
crate and specifically the issue with musl-based systemsPossible solutions are:
RUSTFLAGS=-Ctarget-feature=-crt-static cargo install cargo-shuttle
vendored-openssl
for shuttle (or make it default feature) i.e.cargo install cargo-shuttle --features vendored-openssl
(it requires perl and make tools to work)vendored-openssl
i.e.cargo binstall cargo-shuttle
I solved the issue for myself, but perhaps to make life easier for others, some updates to the troubleshooting guide or any other actions should be taken.
Version
v0.11.2
Which operating systems are you seeing the problem on?
Linux
Which CPU architectures are you seeing the problem on?
x86_64
Relevant log output
No response
Duplicate declaration
The text was updated successfully, but these errors were encountered: