8000 Crash when typing or pasting a command · Issue #11444 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Crash when typing or pasting a command #11444

@rohanssrao

Description

@rohanssrao

Version: 4.0.2
Operating systems and terminals: reproduced on Linux w/ Ghostty, Linux w/ GNOME Console, Darwin w/ iTerm2, Darwin w/ Terminal.app
Reproduced without third-party customizations: yes

Problem:

Typing or pasting the following text into fish will cause it to crash immediately after inputting the last character ("):

"
$()"$() "
thread 'main' panicked at src/parse_util.rs:956:33:
index out of bounds
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fish crashed, please report a bug. Debug PID 12353 or press Enter to exit

Metadata

Metadata

Assignees

Labels

regressionSomething that used to work, but was broken, especially between releases

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0