Crash when attempting to build with a non-remote eval-store #458

Closed
opened 2024-08-02 16:10:45 +00:00 by yu-re-ka · 1 comment
Member

Describe the bug

Lix HEAD crashes when attempting to build with --eval-store ssh-ng://localhost and the nix3 cli (nix build)

Steps To Reproduce

  1. Install the latest lix HEAD
  2. in a nixpkgs checkout, run nix build -f . hello --eval-store ssh-ng://localhost
  3. See error

As seen, it works fine with Lix 2.90:

[yuka@m1:~/proj/nixpkgs]$ nix build -f . hello --eval-store ssh-ng://localhost
nix: src/libmain/progress-bar.cc:81: virtual void nix::ProgressBar::resume(): Assertion `state->paused > 0' failed.
Aborted (core dumped)

[yuka@m1:~/proj/nixpkgs]$ nix --version
nix (Lix, like Nix) 2.91.0-dev-pre20240703-e040b76

[yuka@m1:~/proj/nixpkgs]$ nix shell nixpkgs#lix

[yuka@m1:~/proj/nixpkgs]$ nix build -f . hello --eval-store ssh-ng://localhost

[yuka@m1:~/proj/nixpkgs]$ nix --version
nix (Lix, like Nix) 2.90.0

[yuka@m1:~/proj/nixpkgs]$ 
## Describe the bug Lix HEAD crashes when attempting to build with --eval-store ssh-ng://localhost and the nix3 cli (`nix build`) ## Steps To Reproduce 1. Install the latest lix HEAD 2. in a nixpkgs checkout, run `nix build -f . hello --eval-store ssh-ng://localhost` 4. See error As seen, it works fine with Lix 2.90: ``` [yuka@m1:~/proj/nixpkgs]$ nix build -f . hello --eval-store ssh-ng://localhost nix: src/libmain/progress-bar.cc:81: virtual void nix::ProgressBar::resume(): Assertion `state->paused > 0' failed. Aborted (core dumped) [yuka@m1:~/proj/nixpkgs]$ nix --version nix (Lix, like Nix) 2.91.0-dev-pre20240703-e040b76 [yuka@m1:~/proj/nixpkgs]$ nix shell nixpkgs#lix [yuka@m1:~/proj/nixpkgs]$ nix build -f . hello --eval-store ssh-ng://localhost [yuka@m1:~/proj/nixpkgs]$ nix --version nix (Lix, like Nix) 2.90.0 [yuka@m1:~/proj/nixpkgs]$ ```
yu-re-ka added the
bug
label 2024-08-02 16:10:45 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/1707 ("libstore/ssh: only resume the logger when we paused it")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/1707", "number": 1707, "kind": "commit message"}], "cl_meta": {"1707": {"change_title": "libstore/ssh: only resume the logger when we paused it"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/1707](https://gerrit.lix.systems/c/lix/+/1707) ("libstore/ssh: only resume the logger when we paused it")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#458
No description provided.