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

sigaltstack invalid argument in QEMU #5919

Closed
2 of 3 tasks
evaporei opened this issue Aug 19, 2021 · 2 comments
Closed
2 of 3 tasks

sigaltstack invalid argument in QEMU #5919

evaporei opened this issue Aug 19, 2021 · 2 comments

Comments

@evaporei
Copy link

evaporei commented Aug 19, 2021

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: (I don't think this is necessary, the reason for the bug is very clear)

Expected behavior

sigaltstack calls should use the correct argument.

Actual behavior

sigaltstack calls are being called with the wrong argument, which results in this error:

Invalid argument (os error 22)

Information

  • macOS Version: 11.5.2
  • Intel chip or Apple chip: Apple chip
  • Docker Desktop Version: 3.6.0

Steps to reproduce the behavior

  1. Clone this repository https://github.com/otaviopace/mac-m1-wasmtime-docker on a Linux computer
  2. Build the Docker image in it
  3. Load/pull built image on a Mac M1 computer
  4. Run the container

Extra info

This is actually a known problem, that happened here:

The thing is that QEMU already solved this bug in this commit, but it's only present in version 5.2 onwards. And by taking a look at the Docker release notes, Docker for Mac is still on version 5.0.1 of QEMU.

Do you guys have any plan on when you'll update it to the latest version?

I don't know how often usually this is done and if there are any other things in the newest version that make you don't want to upgrade it yet.

@evaporei
Copy link
Author

This is fixed as of Docker for Mac 4.1.0, which updated Qemu to 6.1.0 🎉
https://docs.docker.com/desktop/mac/release-notes/#upgrades-1

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Dec 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants