Skip to content

cargo-oudated SIGSEGV on stable-x86_64-unknown-linux-musl #305

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
kolbma opened this issue Jan 19, 2022 · 1 comment
Closed

cargo-oudated SIGSEGV on stable-x86_64-unknown-linux-musl #305

kolbma opened this issue Jan 19, 2022 · 1 comment

Comments

@kolbma
Copy link

kolbma commented Jan 19, 2022

When trying to run cargo outdated on stable-x86_64-unknown-linux-musl on Alpine Linux 3.15 there is a SIGSEGV.
Installation was without problems.

stat("/home/rocket/.cargo/bin/cargo-outdated", {st_mode=S_IFREG|0755, st_size=11303328, ...}) = 0
readlink("/proc/self/exe", "/home/rocket/.rustup/toolchains/"..., 256) = 74
readlink("/home", 0x7ffc041b719f, 4027) = -1 EINVAL (Invalid argument)
readlink("/home/rocket", 0x7ffc041b719f, 4034) = -1 EINVAL (Invalid argument)
readlink("/home/rocket/.rustup", 0x7ffc041b719f, 4042) = -1 EINVAL (Invalid argument)
readlink("/home/rocket/.rustup/toolchains", 0x7ffc041b719f, 4053) = -1 EINVAL (Invalid argument)
readlink("/home/rocket/.rustup/toolchains/stable-x86_64-unknown-linux-musl", 0x7ffc041b719f, 4086) = -1 EINVAL (Invalid argument)
readlink("/home/rocket/.rustup/toolchains/stable-x86_64-unknown-linux-musl/bin", 0x7ffc041b719f, 4090) = -1 EINVAL (Invalid argument)
readlink("/home/rocket/.rustup/toolchains/stable-x86_64-unknown-linux-musl/bin/cargo", 0x7ffc041b719f, 4096) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f1b9e48bc8a}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f1b9e48bc8a}, 8) = 0
execve("/home/rocket/.cargo/bin/cargo-outdated", ["/home/rocket/.cargo/bin/cargo-ou"..., "outdated"], 0x7f1b9e373a40 /* 27 vars */) = 0
mmap(NULL, 736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb5179ee000
arch_prctl(ARCH_SET_FS, 0x7fb5179ee200) = 0
set_tid_address(0x7fb517ac93e0)         = 17432
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV +++
Segmentation fault
@kolbma
Copy link
Author

kolbma commented Jan 19, 2022

I close it here... see rust-lang/rust#93084 for workaround

@kolbma kolbma closed this as completed Jan 19, 2022
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

1 participant