Skip to content

Revert use of boost::container::small_vector in the evaluator#9399

Merged
roberth merged 1 commit intoNixOS:masterfrom
edolstra:revert-vlas
Nov 20, 2023
Merged

Revert use of boost::container::small_vector in the evaluator#9399
roberth merged 1 commit intoNixOS:masterfrom
edolstra:revert-vlas

Conversation

@edolstra
Copy link
Member

Motivation

PR #7348 caused random crashes (https://hydra.nixos.org/build/241514506, https://hydra.nixos.org/build/241443330) because the heap allocation done by small_vector in the not-small case is not scanned for GC roots.

This is probably fixable but let's revisit this after the new release.

Context

Priorities

Add 👍 to pull requests you find important.

@roberth roberth merged commit 6832d18 into NixOS:master Nov 20, 2023
@edolstra edolstra deleted the revert-vlas branch November 20, 2023 13:10
@fricklerhandwerk fricklerhandwerk added the regression Something doesn't work anymore label Jan 8, 2024
tebowy pushed a commit to tebowy/nix that referenced this pull request Jul 11, 2024
Revert use of boost::container::small_vector in the evaluator

(cherry picked from commit 6832d18)
Change-Id: I7f10af0c8b8a8beb4b1e36424120995f4ed82738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

regression Something doesn't work anymore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants