Skip to content

hydra-eval-jobs crashes with SIGSEGV when evaluating a specific nixos toplevel #1409

Open
@linyinfeng

Description

@linyinfeng

Describe the bug

hydra-eval-jobs crashes with SIGSEGV when evaluating my nixos toplevel when I am using niri-flake's config.lib.niri.actions in my configuration.

The same toplevel can be successfully evaluated using nix.

Remove config.lib.niri.actions from my configuration (the commit), the toplevel can be successfully evaluated.

I created a gist holding the coredump information and I host the core file in https://static.li7g.com/hydra-eval-jobs.core.zst.

To Reproduce

Steps to reproduce the behavior: https://gist.github.com/linyinfeng/b94fea3293dabe14bf9246f5a05fc541#file-reproduce-sh

Expected behavior

No coredump.

Hydra Server:

github:nixos/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172#hydra (current (2024-09-19) nixos-unstable)

Additional context

The crash happens in libnixexpr.so. So the issue seems to be highly related to https://github.com/nixos/nix, but I can not reproduce the same behavior with nix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions