(signal: 11, SIGSEGV: invalid memory reference) x86_64-unknown-linux-musl #84576
Labels
C-bug
Category: This is a bug.
O-musl
Target: The musl libc
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I do my development in windows but test and package the application in alpine, I have issues when creating any type of https client, it particularly fails when the code tries to create an https client of any sort, for example (s3 rusoto client, elasticsearch client)
I created a small project to actually re-produce this issue:
I'm using docker on alpine, here is my environment:
as you can see, I locked it down to a specific nightly version ( but you can feel free to change it to any, I tried many versions.
main.rs:
and the cargo.toml file
I'm not really sure what could possibly be the reason is, it something to do with
https
because if I remove thehttps
from the urlstatic DEFAULT_ELASTIC_SEARCH_ADDRESS: &str = "https://myaddress.com";
to bemyaddress.com
, the test succeeds. however, of course, it would not get a proper client.I just excepted this simple unit test that will create a client to succeed
Instead, this happened: I get (signal: 11, SIGSEGV: invalid memory reference) x86_64-unknown-linux-musl
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: