nix-copy-closure assertion failure abort in pool.hh #1041

Open
opened 2025-11-19 10:40:11 +00:00 by lunaphied · 0 comments
Owner

Describe the bug

Crash during nixos-rebuild due to abort

nix-copy-closure: lix/libutil/pool.hh:116: nix::Pool<nix::LegacySSHStore::Connection>::~Pool() [T = nix::LegacySSHStore::Connection]: Assertion `!state_->inUse' failed.
subprocess.CalledProcessError: Command '['nix-copy-closure', '-v', '--log-format', 'multiline-with-logs', '-s', '--to', 'lunaphied@epyc.infra.newtype.fr', PosixPath('/nix/store/361cq4856wcndv09cdi1qrq1vawdd36z-nixos-system-Lain-25.11.20251116.50a96ed.drv')]' died with <Signals.SIGABRT: 6>.

Expected behavior

No abort

nix --version output

nix-copy-closure (Lix, like Nix) 2.94.0-pre20251106-dev_f00d720
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/lunaphied/.config/nix/nix.conf:/nix/store/kd187d860aww258nsxviypr3nk1xbmkf-plasma-workspace-6.5.2/etc/xdg/nix/nix.conf:/nix/store/563g3fbz5yay284xf1gc3yj7shd68w0k-kglobalacceld-6.5.2/etc/xdg/nix/nix.conf:/nix/store/2kvybrk22hk2j6kylxiv60sibl1b9hlv-baloo-6.19.0/etc/xdg/nix/nix.conf:/home/lunaphied/.config/kdedefaults/nix/nix.conf:/nix/store/kd187d860aww258nsxviypr3nk1xbmkf-plasma-workspace-6.5.2/etc/xdg/nix/nix.conf:/nix/store/563g3fbz5yay284xf1gc3yj7shd68w0k-kglobalacceld-6.5.2/etc/xdg/nix/nix.conf:/nix/store/2kvybrk22hk2j6kylxiv60sibl1b9hlv-baloo-6.19.0/etc/xdg/nix/nix.conf:/home/lunaphied/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/lunaphied/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/lunaphied/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/lunaphied/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/1bvclbjv9rz8iip2j4cc5d6150gl9znx-lix-2.94.0-pre20251106-dev_f00d720/share

Additional context

Add any other context about the problem here.

## Describe the bug Crash during `nixos-rebuild` due to abort ``` nix-copy-closure: lix/libutil/pool.hh:116: nix::Pool<nix::LegacySSHStore::Connection>::~Pool() [T = nix::LegacySSHStore::Connection]: Assertion `!state_->inUse' failed. ``` ``` subprocess.CalledProcessError: Command '['nix-copy-closure', '-v', '--log-format', 'multiline-with-logs', '-s', '--to', 'lunaphied@epyc.infra.newtype.fr', PosixPath('/nix/store/361cq4856wcndv09cdi1qrq1vawdd36z-nixos-system-Lain-25.11.20251116.50a96ed.drv')]' died with <Signals.SIGABRT: 6>. ``` ## Expected behavior No abort ## `nix --version` output ``` nix-copy-closure (Lix, like Nix) 2.94.0-pre20251106-dev_f00d720 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/lunaphied/.config/nix/nix.conf:/nix/store/kd187d860aww258nsxviypr3nk1xbmkf-plasma-workspace-6.5.2/etc/xdg/nix/nix.conf:/nix/store/563g3fbz5yay284xf1gc3yj7shd68w0k-kglobalacceld-6.5.2/etc/xdg/nix/nix.conf:/nix/store/2kvybrk22hk2j6kylxiv60sibl1b9hlv-baloo-6.19.0/etc/xdg/nix/nix.conf:/home/lunaphied/.config/kdedefaults/nix/nix.conf:/nix/store/kd187d860aww258nsxviypr3nk1xbmkf-plasma-workspace-6.5.2/etc/xdg/nix/nix.conf:/nix/store/563g3fbz5yay284xf1gc3yj7shd68w0k-kglobalacceld-6.5.2/etc/xdg/nix/nix.conf:/nix/store/2kvybrk22hk2j6kylxiv60sibl1b9hlv-baloo-6.19.0/etc/xdg/nix/nix.conf:/home/lunaphied/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/lunaphied/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/lunaphied/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/lunaphied/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/1bvclbjv9rz8iip2j4cc5d6150gl9znx-lix-2.94.0-pre20251106-dev_f00d720/share ``` ## Additional context Add any other context about the problem here.
2.9 KiB
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1041
No description provided.