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

[Ubuntu 24.04] The futex facility returned an unexpected error code. #9977

Closed
2 of 14 tasks
kasper93 opened this issue Jun 3, 2024 · 6 comments
Closed
2 of 14 tasks

Comments

@kasper93
Copy link
Contributor

kasper93 commented Jun 3, 2024

Description

There are futex related errors after upgrading to 24.04. Works fine on 22.04.

The futex facility returned an unexpected error code.
Aborted (core dumped)

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

  Image: ubuntu-24.04
  Version: 20240516.4.0

https://github.com/mpv-player/mpv/actions/runs/9354665913/job/25748023066

Is it regression?

Yes, works correctly on ubuntu-22.04 images.

Expected behavior

Things does not crash.

Actual behavior

During apt-get install there are futex errors. This also happens after when wine is used.

The futex facility returned an unexpected error code.
Aborted (core dumped)

Repro steps

You can see workflow in this PR mpv-player/mpv#14169

To reproduce, use the same command:

sudo apt-get install -y ccache g++-mingw-w64 gcc-multilib meson nasm ninja-build pkg-config wine wine32
@sergei-pyshnoi
Copy link
Contributor

Closing as duplicate #9937

@sergei-pyshnoi sergei-pyshnoi closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
@kasper93
Copy link
Contributor Author

kasper93 commented Jun 4, 2024

Closing as duplicate #9937

Good that this is reported too, but mine is different issue. I'm not reporting here Error: The operation was canceled., nor I mentioned it anywhere in my report. I'm reporting futex issue, that has been present since the beginning.

You can refer to this job from two weeks ago https://github.com/mpv-player/mpv/actions/runs/9183725744/job/25254900078 if it makes easier.

Note that there are multiple aborts during dpkg configuration step (in Install Dependencies) and finally it crashes when trying to run the binary.

@lhdjply
Copy link

lhdjply commented Jun 6, 2024

@mikhailkoliada
Copy link
Member

Hello! That is expected as the CONFIG_COMPAT_32BIT_TIME kernel option is not enabled on ubuntu24 (and likely will never be), we do not patch kernel ourselves as we take the stock azure's sku, as a result we can not help solving this, unfortunately.

@mikhailkoliada mikhailkoliada self-assigned this Jun 6, 2024
@kasper93
Copy link
Contributor Author

kasper93 commented Jun 6, 2024

Thank you for looking into it, I expected it to be kernel configuration difference, as I tested locally and it was working ok. I kinda expected you spin custom kernel, but if it is stock linux-azure one, it make sense to keep it as-is. That means we cannot run the 32-bit build and wine tests on 24.04, unfortunately. Well, at least 64-bit works if I don't enable multilib.

kasper93 added a commit to kasper93/mpv that referenced this issue Jun 6, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=no. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
kasper93 added a commit to kasper93/mpv that referenced this issue Jun 6, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=no. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
kasper93 added a commit to kasper93/mpv that referenced this issue Jun 6, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=no. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
kasper93 added a commit to kasper93/mpv that referenced this issue Jun 6, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=no. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
kasper93 added a commit to kasper93/mpv that referenced this issue Jun 6, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=n. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
kasper93 added a commit to kasper93/mpv that referenced this issue Jun 7, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=n. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
kasper93 added a commit to mpv-player/mpv that referenced this issue Jun 7, 2024
Ubuntu 24.04 linux-azure kernel, used on GHA, is compiled with
CONFIG_COMPAT_32BIT_TIME=n. This prevents running any 32-bit binaries
through wine, so disable tests when doing i686 build. 32-bit builds are
still tested on Windows.

See: actions/runner-images#9977
@aescolar
Copy link

@mikhailkoliada I understand GitHub just takes the Azure VM, but losing support for building and running 32bit binaries is major thing (which also would break our CI in Zephyr). What would it take to have CONFIG_COMPAT_32BIT_TIME enabled back in these images' kernel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants