roribio / alpine-sqs

Dockerized ElasticMQ server + web UI over Alpine Linux for local development
GNU Affero General Public License v3.0
255 stars 56 forks source link

roribio16/alpine-sqs:latest not working wie apple silicon #49

Open Silve2611 opened 3 years ago

Silve2611 commented 3 years ago

I am trying to launch roribio16/alpine-sqs:latest but I keeps crashing due to a segmentation fault SIGSEGV.

Expected behavior It should rund the alpine-sqs queue

Actual behavior Crashing on launch

Information macOS Version: macOS Big Sur 11.1 (20C69) Diagnostic logs

08:43:48.844 [main] INFO org.elasticmq.server.Main$ - Starting ElasticMQ server (0.15.0) ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
2021-01-15 08:43:49,037 INFO exited: elasticmq (terminated by SIGSEGV; not expected)
listening on port 9325
2021-01-15 08:43:49,179 INFO spawned: 'elasticmq' with pid 90
Error on queue "dev_third-party": SQS receive message failed: connect ECONNREFUSED 127.0.0.1:9324
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
2021-01-15 08:43:50,438 INFO success: elasticmq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-15 08:43:50,441 INFO exited: elasticmq (terminated by SIGSEGV; not expected)
Error on queue "dev_mail": SQS receive message failed: connect ECONNREFUSED 127.0.0.1:9324
2021-01-15 08:43:50,951 INFO spawned: 'elasticmq' with pid 107
Error on queue "dev_ticket": SQS receive message failed: connect ECONNREFUSED 127.0.0.1:9324
2021-01-15 08:43:51,956 INFO success: elasticmq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
2021-01-15 08:43:52,155 INFO exited: elasticmq (terminated by SIGSEGV; not expected)
2021-01-15 08:43:53,115 INFO spawned: 'elasticmq' with pid 124
2021-01-15 08:43:53,116 WARN received SIGTERM indicating exit request
2021-01-15 08:43:53,117 INFO waiting for insight, elasticmq to die
2021-01-15 08:43:53,131 INFO stopped: insight (terminated by SIGTERM)
2021-01-15 08:43:53,132 INFO stopped: elasticmq (terminated by SIGTERM)

Docker for Mac: Docker-AppleSilicon-Preview7

Steps to reproduce the behavior Get roribio16/alpine-sqs:latest Launch Docker image

LarsEckart commented 3 years ago

same here. Any plans regarding https://github.com/roribio/alpine-sqs/pull/50 ?

NielsKSchjoedt commented 3 years ago

+1

beikeni commented 3 years ago

Same here, I also found this other topic with lots of people having the same problem

sqs_1          | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
sqs_1          | 2021-07-07 20:45:33,000 INFO exited: elasticmq (terminated by SIGSEGV; not expected)
sqs_1          | 2021-07-07 20:45:34,010 INFO spawned: 'elasticmq' with pid 171
sqs_1          | 2021-07-07 20:45:35,012 INFO success: elasticmq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
sqs_1          | 20:45:36.570 [main] INFO  org.elasticmq.server.Main$ - Starting ElasticMQ server (0.15.0) ...
bullgare commented 2 years ago

Same here. Need to find an alternative

bullgare commented 2 years ago

If you are interested, this one works for me on mac with apple silicon chip (aka m1) - https://github.com/softwaremill/elasticmq

rieckpil commented 2 years ago

Version 0.13.0 of LocalStack now comes with ARM64 support. You can use their Docker image and only activate the SQS service as a replacement for this image.