-
Notifications
You must be signed in to change notification settings - Fork 849
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
SIGSEGV when using CRT Http Client on alpine Linux #2868
Comments
Hi @rmennes, thank you for reporting the issue. We will take a look |
Hi, thanks for reporting the issue. The alpine linux is not currently supported by CRT for now. It's in our plan to support it in the future. For now, can you use HTTP client other than CRT as workaround? And we will throw a proper exception instead of crashing as a short-term solution. |
Thanks for the information. For now I will use another HTTP client. |
I did a little experimentation today. If you're willing to build the CRT yourself on an alpine/musl based system, it appears to work. You'll need cmake and build-base. Obviously, the long-term solutioon is for us to support musl in the maven-published packages, but in the meantime you do seem to have the option of self-build. |
Hi @bretambrose , Could you guide us to setup our application? Thanks in advanced |
Hello everyony,When will this bug be fixed? |
|
…3bd2a5df1 Pull request: release <- staging/f62a0686-34ed-44f1-8ec2-f753bd2a5df1
Describe the bug
When using the AWS CRT Http Client on an alpine Linux docker container (such as openjdk:17-alpine3.14) an SIGSEGV error occurs.
Expected behavior
After installing the required libraries on an alpine linux container, the aws-crt-client should be able to execute http requests.
Current behavior
When using the AWS CRT Http Client on an alpine Linux docker container (such as openjdk:17-alpine3.14) an SIGSEGV error occurs.
The output and the corresponding log could be found in out.txt and hs_err_pid1 (1).log
Steps to Reproduce
A minimal example could be found here:
aws-crt-example.zip
Possible Solution
No response
Context
No response
AWS Java SDK version used
2.17.44
JDK version used
openjdk 17-ea 2021-09-14
Operating System and version
openjdk:17-alpine3.14
The text was updated successfully, but these errors were encountered: