Skip to content

Fish panic at src/history/file.rs:372:5 #11236

@wrvsrx

Description

@wrvsrx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions