-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k < 8000 /li>
Closed
Labels
regressionSomething that used to work, but was broken, especially between releasesSomething that used to work, but was broken, especially between releases
Milestone
Description
I have just installed the new release and it seems to crash when using abbreviations (on Linux at least).
Steps to reproduce:
wget https://github.com/fish-shell/fish-shell/releases/download/4.3.0/fish-4.3.0-linux-x86_64.tar.xz
tar xf fish-4.3.0-linux-x86_64.tar.xz
RUST_BACKTRACE=full ./fish --no-configThen in fish:
abbr -a gs 'git status'And type gs and press "space":
thread 'main' (545475) panicked at src/reader/reader.rs:1642:5:
assertion failed: autosuggestion.len() >= line_range.len()
stack backtrace:
0: 0x7f345c9cda92 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf6c2a52238c2e8f2
1: 0x7f345c73fd7f - core::fmt::write::he5642d3ce13a187f
2: 0x7f345c9ccf9f - std::io::Write::write_fmt::h91c43aa64ee57b37
3: 0x7f345c9cd8f3 - std::sys::backtrace::BacktraceLock::print::h85ca943c417b64a3
4: 0x7f345c9cd591 - std::panicking::default_hook::h4da2317a680aaef2
5: 0x7f345c9b9476 - fish::panic::panic_handler::{{closure}}::hd93c0057a865231f
6: 0x7f345c9ccd92 - std::panicking::panic_with_hook::h8f70faff21f8dc73
7: 0x7f345c9f12a5 - std::panicking::panic_handler::{{closure}}::hb21a4e3d7851acf5
8: 0x7f345c9f1239 - std::sys::backtrace::__rust_end_short_backtrace::h3219572c15f48cdd
9: 0x7f345c9f122c - __rustc[d9b87f19e823c0ef]::rust_begin_unwind
10: 0x7f345c71e5df - core::panicking::panic_fmt::hccb6a108d2677894
11: 0x7f345c71e61b - core::panicking::panic::h88dec568288c8ce8
12: 0x7f345c8bfbfb - fish::reader::reader::combine_command_and_autosuggestion::hd01a6acc8da4bbb3
13: 0x7f345c8be681 - fish::reader::reader::Reader::paint_layout::h6581c0205570da20
14: 0x7f345c8d62d0 - fish::reader::reader::Reader::handle_char_event::h8eb0bd42e54e24ca
15: 0x7f345c8d40ff - fish::reader::reader::Reader::readline::h75eaf426b70590a2
16: 0x7f345c8d1188 - fish::reader::reader::reader_read::h0e21b29d23969425
17: 0x7f345c739b8b - fish::throwing_main::he340517fed3f068e
18: 0x7f345c9b930b - fish::panic::panic_handler::h79b95fa2ce8a1632
19: 0x7f345c73e2d3 - fish::main::h049c0fb11b0843ff
20: 0x7f345c9ba683 - std::sys::backtrace::__rust_begin_short_backtrace::hf62be87d920a8393
21: 0x7f345c73ec27 - main
fish crashed, please report a bug. Debug PID 545475 or press Enter to exit
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
regressionSomething that used to work, but was broken, especially between releasesSomething that used to work, but was broken, especially between releases