Skip to content
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

Linux binary segfaults #49

Open
anders-lgi opened this issue Aug 9, 2022 · 4 comments
Open

Linux binary segfaults #49

anders-lgi opened this issue Aug 9, 2022 · 4 comments
Labels
bug Something isn't working needs-testing Needs further testing to narrow down problem target-x86_64-unknown-linux-musl

Comments

@anders-lgi
Copy link

Hello.

Thank you for this workflow. It works really well.

One issue I have had, though, is that my musl linux binaries segfault. I can generate binaries locally, and in a Docker container, and they work fine. But, these are not with musl compiler - so linking to system libraries.

Here is an example repo of mine that this is happening: https://github.com/lgi-onehealth/phcue-ck/releases

Is there something I am doing wrong here?

I am wondering if this issue is relevant: rust-lang/rust#95926

Thank you again.

Anders

@freedit-dev
Copy link

Same problem.

@Douile Douile added bug Something isn't working needs-testing Needs further testing to narrow down problem labels Oct 24, 2022
@ziacik
Copy link

ziacik commented Nov 26, 2022

Me too. A workaround would be nice.

@igtm
Copy link

igtm commented Dec 30, 2022

I had same problem in my repo
In my case Openssl was the culprit used in reqwest.
so i set feature flag so that i can use rustls instead of openssl and resolved it.

but this is a workaround. i've never tried but using rust-musl-builder and like that may resolve it.

@ghenry
Copy link

ghenry commented Mar 4, 2024

Same here, but bt shows native tls the issue https://github.com/ghenry/CallSwitchOne-CLI/releases/tag/v1.0.0-alpha1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Needs further testing to narrow down problem target-x86_64-unknown-linux-musl
Development

No branches or pull requests

6 participants