Skip to content

Segfault on infinite recursion #9616

@9999years

Description

@9999years

Describe the bug

nix-instantiate --eval --expr '(x: x x) (x: x x)'
Segmentation Fault: 11

Discovered by @Gabriella439.

Expected behavior

It shows an "infinite recursion" error and exits.

nix-env --version output

nix-env (Nix) 2.20.0

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions