-
Notifications
You must be signed in to change notification settings - Fork 13
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
Segmentation fault on x86_64-unknown-linux-musl #39
Comments
I can reproduce this issue. It happens because of the
Core dump
Scope of interest:
It is apparent that it is caused by the this line: Line 158 in 5a2e5ef
This is a FFI binding for the following function in This cannot be skipped since |
the gpgme package doesnt work when compiled for musl see: gpg-rs/gpgme#39
Creating a context segfaults when compiled on this target. I made a minimal repro to make sure it wasn't something else. Commenting the first line of main results in a binary that prints "Made it.", so the setup is sufficient to produce working binaries.
code/src/main.rs
code/Cargo.toml
Containerfile
Console log:
The text was updated successfully, but these errors were encountered: