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

et crashes when --prune is combined with a non existing --glob #115

Closed
jhscheer opened this issue Apr 3, 2023 · 1 comment · Fixed by #116
Closed

et crashes when --prune is combined with a non existing --glob #115

jhscheer opened this issue Apr 3, 2023 · 1 comment · Fixed by #116

Comments

@jhscheer
Copy link
Contributor

jhscheer commented Apr 3, 2023

et crashes when --prune is combined with a non existing --glob, e.g.:

$ cargo run -- --no-config --level 1 --prune --glob "main.rs" tests/data
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/et --no-config --level 1 --prune --glob main.rs tests/data`
thread '<unnamed>' panicked at 'internal error: entered unreachable code: Try to access a freed node', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/indextree-4.6.0/src/node.rs:45:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', src/render/tree/mod.rs:156:24
@solidiquis
Copy link
Owner

Thank you. I'll be looking into this

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

Successfully merging a pull request may close this issue.

2 participants