Open linyinfeng opened 1 day ago
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.
hydra-eval-jobs
niri-flake
config.lib.niri.actions
The same toplevel can be successfully evaluated using nix.
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)
github:nixos/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172#hydra
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.
libnixexpr.so
@linyinfeng can you reproduce the same issue with nix-eval-jobs? It could be a stack overflow.
Describe the bug
hydra-eval-jobs
crashes with SIGSEGV when evaluating my nixos toplevel when I am usingniri-flake
'sconfig.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 withnix
.