Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rosetta error: Unable to open /proc/self/exe: <pid> #1401

Open
CpuID opened this issue Aug 27, 2024 · 1 comment
Open

rosetta error: Unable to open /proc/self/exe: <pid> #1401

CpuID opened this issue Aug 27, 2024 · 1 comment
Labels
t/bug Something isn't working

Comments

@CpuID
Copy link

CpuID commented Aug 27, 2024

Describe the bug

When starting selected amd64 workloads (in this case, haproxy), a rosetta error occurs. Example:

Starting haproxy
[NOTICE]   (49) : New worker (51) forked
[NOTICE]   (49) : Loading success.
rosetta error: Unable to open /proc/self/exe: 2
 [NOTICE]   (49) : haproxy version is 2.9.9-ad75c48
[ALERT]    (49) : Current worker (51) exited with code 133 (Trace/breakpoint trap)
[WARNING]  (49) : A worker process unexpectedly died and this can only be explained by a bug in haproxy or its dependencies.
Please check that you are running an up to date and maintained version of haproxy and open a bug report.
HAProxy version 2.9.9-ad75c48 2024/06/14 - https://haproxy.org/
Status: stable branch - will stop receiving fixes around Q1 2025.
Known bugs: http://www.haproxy.org/bugs/bugs-2.9.9.html
Running on: Linux 6.9.8-orbstack-00170-g7b4100b7ced4 #1 SMP Thu Jul 11 03:32:20 UTC 2024 x86_64
[ALERT]    (49) : exit-on-failure: killing every processes with SIGTERM
[WARNING]  (49) : All workers exited. Exiting... (133)

To Reproduce

git clone https://github.com/codecov/self-hosted.git
cd self-hosted
git checkout 17b0edeb7f5d1354da594cd4b4fd63d243932d2e
docker-compose up

Expected behavior

Codecov preflight started.
Waiting for Codecov Default to start ...
Codecov Default started.
Waiting for Codecov api to start ...
Codecov api started.
Waiting for Codecov ia to start ...
Codecov IA started.
Codecov preflight complete.
Codecov gateway ssl disabled
Codecov gateway minio enabled
Starting haproxy
[NOTICE]   (52) : New worker (54) forked
[NOTICE]   (52) : Loading success.

Diagnostic report (REQUIRED)

OrbStack info:
Version: 1.6.4
Commit: 90e832a0f4c6787bd028dc4efcd9c98cd5a2bc3d (v1.6.4)

System info:
macOS: 14.6.1 (23G93)
CPU: arm64, 10 cores
CPU model: Apple M2 Pro
Model: Mac14,9
Memory: 32 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-08-27T03-29-50.218407Z.zip

Screenshots and additional context (optional)

This specific stack provides amd64 only images from https://hub.docker.com/r/codecov/self-hosted-gateway/tags currently

The upstream of this image is https://github.com/codecov/codecov-gateway/blob/main/Dockerfile#L2 which has amd64 + arm64 images - https://hub.docker.com/r/haproxytech/haproxy-alpine/tags - so I verified arm64 works fine without the error (by building locally).

I've asked the maintainers of https://github.com/codecov/self-hosted to start distributing arm64 images also for context - codecov/self-hosted#43

This issue did exist in Docker Desktop for Mac also - resolved recently docker/for-mac#6973

Also outstanding/not fixed in colima - abiosoft/colima#1015

@CpuID
Copy link
Author

CpuID commented Aug 27, 2024

Comments from @jia6214876 and @amir1387aht above look like phishing bots? :|

@orbstack orbstack deleted a comment Aug 27, 2024
@orbstack orbstack deleted a comment Aug 27, 2024
@orbstack orbstack deleted a comment Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants
@CpuID and others