Skip to content

SIGSEGV when using CRT Http Client on alpine Linux #2868

@rmennes

Description

@rmennes

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

  1. Create a docker base image using alpine linux (such as openjdk:17-alpine3.14) where all required libraries are installed (gcompat)
  2. Create actual service using the AWS-CRT-Http-client on top of the base image created in step 1.
  3. Run the service.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    crt-clientdependenciesThis issue is a problem in a dependency.feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions