question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

uncaught target signal 11 (Segmentation fault) - core dumped, running a container on MacOS with M1 chip

See original GitHub issue

Error Unable to start a container on new MacBook Pro with M1 chip

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
ERRO[0553] error waiting for container: invalid character 'u' looking for beginning of value...

Reproduce

docker run -p 9090:9090 -p 9191:9191 -t adobe/s3mock

System macOS Big Sur v11.1 Apple M1 chip

Relevant issue Quoted from here

This is a qemu bug, which is the upstream component we use for running Intel (amd64) containers on M1 (arm64) chips, and is unfortunately not something we control. In general we recommend running arm64 containers on M1 chips because (even ignoring any crashes) they will always be faster and use less memory.

Please encourage the author of this container to supply an arm64 or multi-arch image, not just an Intel one. Now that M1 is a mainstream platform, we think that most container authors will be keen to do this.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
aleixmorgadascommented, Apr 19, 2021

I’ve been trying to build the image by my own, but I failed 😅

image

I also tried building the image in a Linux machine targeting arm64/v8 but I think I would need more time to succeed.

PD: I had that much troubles using M1 chip that I just changed the laptop to use Intel i7 again. Whole Development ecosystem not ready to use M1.

3reactions
afrankencommented, Feb 1, 2022

just released version 2.4.6 which is multi arch for arm64 and amd64. https://hub.docker.com/r/adobe/s3mock/tags?page=1&ordering=last_updated

Read more comments on GitHub >

github_iconTop Results From Across the Web

`qemu: uncaught target signal 11 (Segmentation fault) - core ...
This is a qemu bug, which is the upstream component we use for running Intel (amd64) containers on M1 (arm64) chips, and is...
Read more >
qemu: uncaught target signal 11 (Segmentation fault)
I ran into the same error qemu: uncaught target signal 11 (Segmentation fault) - core dumped error. when using the docker image java:8 ......
Read more >
add Docker image support for arm64 chips (Barrie's MacBook ...
In general we recommend running arm64 containers on M1 chips because (even ignoring ... qemu: uncaught target signal 11 (Segmentation fault) - core...
Read more >
qemu: uncaught target signal 11 (Segmentation fault) - core ...
I am trying to build arm64 image on my x86_64 machine using buildx and I have encountered qemu: uncaught target signal 11 (Segmentation...
Read more >
Error deploying app on M1 Pro - qemu: uncaught target signal ...
I am trying to build a new project and keep hitting this error: => ERROR [builder 6/17] RUN mix deps.get --only prod …...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found