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

Fix missing GC root in zipAttrsWith (backport #11548) #11553

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 19, 2024

Motivation

Fixes #11547.

My SNAFU was that I assumed that all the Value *s we put in attrsSeen are already reachable (which they are), but I forgot about the elems pointer in ListBuilder.

Thanks to @puckipedia and @yorickvP for diagnosing.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #11548 done by [Mergify](https://mergify.com).

My SNAFU was that I assumed that all the `Value *`s we put in
`attrsSeen` are already reachable (which they are), but I forgot about
the `elems` pointer in `ListBuilder`.

Fixes #11547.

(cherry picked from commit 0c2fdd2)
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
(cherry picked from commit 4449b0d)
@mergify mergify bot requested a review from roberth as a code owner September 19, 2024 19:04
@mergify mergify bot added the merge-queue label Sep 19, 2024
@edolstra edolstra merged commit b5154de into 2.24-maintenance Sep 19, 2024
21 checks passed
@edolstra edolstra deleted the mergify/bp/2.24-maintenance/pr-11548 branch September 19, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant