Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort in debugger #10134

Closed
lheckemann opened this issue Mar 3, 2024 · 2 comments
Closed

Abort in debugger #10134

lheckemann opened this issue Mar 3, 2024 · 2 comments
Labels

Comments

@lheckemann
Copy link
Member

Describe the bug

The debugger crashes under certain circumstances (unclear what these are, but I've been able to trigger this reliably):

$ nix run github:nixos/nix/2.20.4 -- build github:lheckemann/nixpkgs/broken-please-ignore-unless-youre-debugging-nix#nixosTests.hedgedoc --debugger --ignore-try
error: The option `nodes.hedgedocPostgresWithTCPSocket.services.hedgedoc.environmentFile' does not exist. Definition values:
       - In `makeTest parameters': <derivation hedgedoc-env>


Starting REPL to allow you to inspect the current state of the evaluator.

evaluating derivation 'github:lheckemann/nixpkgs/broken-please-ignore-unless-youre-debugging-nix#nixosTests.hedgedoc'Aborted (core dumped)

Steps To Reproduce

  1. nix run github:nixos/nix/2.20.4 -- build github:lheckemann/nixpkgs/broken-please-ignore-unless-youre-debugging-nix#nixosTests.hedgedoc --debugger --ignore-try

Expected behavior

Debugger opens and allows inspecting the evaluation state.

nix-env --version output

2.20.4

Priorities

Add 👍 to issues you find important.

@lheckemann lheckemann added the bug label Mar 3, 2024
@9999years
Copy link
Contributor

9999years commented Mar 10, 2024

I can't reproduce this crash on the latest master, can you confirm? Try nix run github:nixos/nix -- build github:lheckemann/nixpkgs/broken-please-ignore-unless-youre-debugging-nix#nixosTests.hedgedoc --debugger --ignore-try

@lheckemann
Copy link
Member Author

Indeed, it's fixed in 5ccb06e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants