wrvsrx · GitHub

Behavior

When I type in fish-shell and trigger fish's auto complementation, such error happens randomly:

thread '<unnamed>' panicked at src/history/file.rs:372:5:
assertion failed: line.starts_with(b"- cmd")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fish crashed, please report a bug.
fish: Job 1, 'fish' terminated by signal SIGABRT (Abort)

Environment

  • fish version: 4.0.0

  • os version: NixOS 25.05

  • installed plugin:

    • tide 6.1.1

Reproduce

I haven't found a method to reproduce crashing stablely

  1. Open two fish shell
  2. Type sleep 10 in first shell and enter
  3. Type something in another shell
  4. Second shell might crash

Read the original on github.com ↗