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

Getting random "thread '<unnamed>' panicked at 'assertion failed" #1113

Closed
hyperknot opened this issue Sep 14, 2022 · 3 comments
Closed

Getting random "thread '<unnamed>' panicked at 'assertion failed" #1113

hyperknot opened this issue Sep 14, 2022 · 3 comments

Comments

@hyperknot
Copy link

What version of fd are you using?
fd 8.4.0

Brand new Macbook M1, installed yesterday with brew install fd.

I'm getting randomly the following exception:

zsmac16 user ~/Documents $ fd syncthing
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `105553171240160`,
 right: `0`: This is a known bug in the Rust standard library. See https://github.com/rust-lang/rust/issues/39364', /private/tmp/rust-20220304-34642-f8s218/rustc-1.59.0-src/library/std/src/sync/mpsc/shared.rs:251:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `105553171240160`,
 right: `0`', /private/tmp/rust-20220304-34642-f8s218/rustc-1.59.0-src/library/std/src/sync/mpsc/shared.rs:497:9

Then I re-run the same command immediately and everything is OK.

Is this related to homebrew install or something else?

@tavianator
Copy link
Collaborator

Looks like #1060, AKA rust-lang/rust#39364

@hyperknot
Copy link
Author

Anything I can do on my end? Do you think downloading the binary from Releases would fix it?

@tmccombs
Copy link
Collaborator

There's unlikely anything you can do, except maybe helping to get #933 merged. But I don't have any concrete steps on how to do that.

Although, since this is a race condition, retrying the comand would likely succeed.

tavianator added a commit to tavianator/fd that referenced this issue Oct 24, 2022
@sharkdp sharkdp closed this as completed Oct 31, 2022
tavianator added a commit to tavianator/fd that referenced this issue Nov 1, 2022
sharkdp pushed a commit that referenced this issue Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants