Comments (11)
This works in 3.19: RUN apk add aws-cli
from aws-cli.
Hi, I found the same segmentation fault problem using Fedora Linux 35 x86-64.
from aws-cli.
Running into same seg fault core dump issues with alpine 3.19.
from aws-cli.
Could be an issue with the linker
cbf3a00de678:~# ldd /usr/local/bin/aws
/lib64/ld-linux-x86-64.so.2 (0x7f5f68ffc000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f5f68ffc000)
libz.so.1 => /lib/libz.so.1 (0x7f5f68fe2000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f5f68ffc000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f5f68ffc000)
Error relocating /usr/local/bin/aws: __strcat_chk: symbol not found
Error relocating /usr/local/bin/aws: __snprintf_chk: symbol not found
Error relocating /usr/local/bin/aws: __vfprintf_chk: symbol not found
Error relocating /usr/local/bin/aws: __realpath_chk: symbol not found
Error relocating /usr/local/bin/aws: __strdup: symbol not found
Error relocating /usr/local/bin/aws: __memcpy_chk: symbol not found
Error relocating /usr/local/bin/aws: __vsnprintf_chk: symbol not found
Error relocating /usr/local/bin/aws: __strcpy_chk: symbol not found
Error relocating /usr/local/bin/aws: __fprintf_chk: symbol not found
from aws-cli.
if you are on circleci, using the aws cli orb and can go to the latest aws cli 2.13.25 , then you can upgrade your orb:
https://github.com/CircleCI-Public/aws-cli-orb/releases/tag/v4.1.3
@otremblay and @brentmmarks helped fix the orb that had a workaround before for alpine:
CircleCI-Public/aws-cli-orb@c5a792e
of specific interest:
upgrade of orb:
also this old issue shows that same method of install here:
apk add --no-cache aws-cli
from aws-cli.
Hello,
This version is used on CircleCI when we use aws-s3 orb. Is there any workaround for this.
from aws-cli.
Hi, thanks for reaching out and for your patience. If it produces meaningful logging before the error, could you provide debug logs of a command resulting in a segmentation fault? You can get debug logs by adding --debug
to the command. Thanks!
from aws-cli.
Thanks @RyanFitzSimmonsAK! I ran /usr/local/bin/aws --version --debug
but did not get any logs, only output was Segmentation fault (core dumped)
from aws-cli.
I'm getting seg fault on install, and if I try and run "install --debug", I get "Got an unexpected argument: --debug"
Edit: ^^^ This is install from the download (https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip). Switching to using the apk in the registry works.
from aws-cli.
bump this, I got the error also and did some investigating
on Dec 7, 3.19 alpine came out
terraform uses the latest alpine in its docker hub image here:
terraform/Dockerfile at 53c34ff49cfbc1f70d7cdd3dca8040551c53737a ยท hashicorp/terraform (github.com)
terraform 1.66 came out on dec 13 and built on alpine 3.19
Tags ยท hashicorp/terraform (github.com)
I got the error using the above docker hub image in circle ci which is based on alpine 3.19
If I change to terraform 1.65 image (alpine 3.18) all of the above works fine.
I tested with aws-cli 2.15.15 and 2.15.3, both are broken, I did not go furth back than that.
from aws-cli.
This works in 3.19:
RUN apk add aws-cli
Installing package is fine, running the cli after install is what throws a segmentation fault for me.
from aws-cli.
Related Issues (20)
- WPS Note Inheririting party of the Corporation showing the LLC grantor Misty Dawn Hilton in the US Treasury Department of the Google LLC Grantor and the right website is the SAM HOT 2
- Tests of TestCLITimestampParser failing, maybe due to DST HOT 6
- Auto-update functionality for the AWS CLI MSI installer for Windows (64-bit) HOT 2
- The --boot-mode is lacking "uefi-preferred" option HOT 4
- Local environment variables interfere with tests HOT 1
- create fsx lustre file system is not working HOT 4
- AWS Chatbot commands not working yet? Could not connect to the endpoint URL HOT 5
- "aws ecr describe-image-scan-findings --max-items" does not work for enhanced image scan configuration HOT 4
- aws s3 recursive copy errors out HOT 2
- Packaging of AWS::CloudFormation::Stackset resource using AWS CLI clouformation package command HOT 2
- sso_region is ignored when region differs in profile HOT 4
- aws ecr describe-image-scan-findings with no recommendations HOT 6
- sso-region incorrect HOT 1
- Alpine 3.20 release HOT 8
- cannot import name 'SSOTokenFetcher' from 'botocore.utils' (C:\Python\Python310\lib\site-packages\botocore\utils.py) HOT 1
- aws ec2 import-snapshot does not set the snapshot description
- Assume Role With Web Identity doesn't respect region HOT 3
- libpython3.11.so.1.0: pwritev2: symbol not found HOT 3
- Timestream Composite Key doesn't work
- Duplicate Example headings - sync HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cli.