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

Build lib lettre in target X86_64_UNKNOWN_LINUX_MUSL, build success but got segment fault #66

Open
ipconfiger opened this issue Apr 4, 2023 · 3 comments
Labels
needs-testing Needs further testing to narrow down problem target-x86_64-unknown-linux-musl

Comments

@ipconfiger
Copy link

Code in https://github.com/ipconfiger/cron_trigger
But no problem in my x86 pc, run cargo build --release --target x86_64-unknown-linux-musl

@lcmgh
Copy link

lcmgh commented Nov 14, 2023

Also facing this issue when executing the app via WSL2.

@phial3
Copy link

phial3 commented May 24, 2024

+1

@calloc134
Copy link

@ipconfiger
In your code, you are using reqwest with the blocking feature specified.

I also used reqwest in the same way, specifying the blocking feature, and encountered the same segmentation fault.
By rewriting it as follows, the segmentation fault no longer occurs.

reqwest = { version = "0.11.6", default-features = false, features = ["blocking", "rustls-tls"] }

Below is my repository.
https://github.com/calloc134/kodachi-vpn-generator/blob/2552fe69e1429d73ae42a5988114bac3d82463f7/Cargo.toml#L13

I hope it will be helpful.

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

Successfully merging a pull request may close this issue.

5 participants