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

Don't use container runtimes bundled with podman-static release #7352

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

bduffany
Copy link
Member

@bduffany bduffany commented Sep 2, 2024

This PR should fix the memory corruption bug ("corrupted size vs. prev_size") mentioned in https://github.com/buildbuddy-io/buildbuddy-internal/issues/3631

It turns out that podman-static includes its own versions of crun and runc under /usr/local/bin, which has higher precedence in PATH than the ones we provision under /usr/bin. So when upgrading to the latest podman-static release, we inadvertently upgraded crun to version 1.16.1, which has a double-free bug. This was causing the "corrupted size vs. prev_size" errors we were seeing in some teed actions.

The double-free bug won't be fixed until 1.16.2, so this PR effectively just downgrades us to 1.15 until 1.16.2 is available.

Related issues: https://github.com/buildbuddy-io/buildbuddy-internal/issues/3631

@bduffany bduffany force-pushed the crun-downgrade branch 4 times, most recently from b9bb7df to ca599ae Compare September 2, 2024 18:34
@bduffany bduffany marked this pull request as ready for review September 3, 2024 13:22
@bduffany bduffany force-pushed the crun-downgrade branch 4 times, most recently from 210f8b6 to e171700 Compare September 3, 2024 17:23
@bduffany bduffany merged commit 2c3ec98 into master Sep 3, 2024
13 of 14 checks passed
@bduffany bduffany deleted the crun-downgrade branch September 3, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants