alpine-sqs icon indicating copy to clipboard operation
alpine-sqs copied to clipboard

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

Open Silve2611 opened this issue 3 years ago • 6 comments

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

Silve2611 avatar Jan 22 '21 11:01 Silve2611

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

LarsEckart avatar Apr 12 '21 09:04 LarsEckart

+1

NielsKSchjoedt avatar Jun 08 '21 09:06 NielsKSchjoedt

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) ...

beikeni avatar Jul 07 '21 21:07 beikeni

Same here. Need to find an alternative

bullgare avatar Aug 17 '21 12:08 bullgare

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

bullgare avatar Aug 17 '21 17:08 bullgare

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.

rieckpil avatar Nov 17 '21 17:11 rieckpil