-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
A-helix-termArea: Helix term improvementsArea: Helix term improvementsC-bugCategory: This is a bugCategory: This is a bug
Description
Summary
Following is the backtrace:
thread 'main' panicked at 'Position 6934 is out of range for changeset len 6932!', helix-core/src/transaction.rs:397:13
stack backtrace:
0: 0x104d848e4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hdb141e7893323405
1: 0x104657184 - core::fmt::write::hed96bcfc6342aee5
2: 0x104d7ef04 - std::io::Write::write_fmt::h67807909d9a5a6e1
3: 0x104d89798 - std::panicking::default_hook::{{closure}}::h23ab3d10a9c5bb0f
4: 0x104d894dc - std::panicking::default_hook::hfa3eb92a01f5118c
5: 0x104d89d7c - std::panicking::rust_panic_with_hook::h94fcfaabb5f8247c
6: 0x104d89bd8 - std::panicking::begin_panic_handler::{{closure}}::h5c2b0281f2361f0b
7: 0x104d87e58 - std::sys_common::backtrace::__rust_end_short_backtrace::h48848f94b4985ec4
8: 0x104d89978 - _rust_begin_unwind
9: 0x104e259cc - core::panicking::panic_fmt::hfc743f4016412d36
10: 0x10473edac - helix_core::transaction::ChangeSet::map_pos::h098a1dc3757da322
11: 0x104725a68 - <smallvec::SmallVec<A> as core::iter::traits::collect::Extend<<A as smallvec::Array>::Item>>::extend::h7a53705e5795b8be
12: 0x104720fdc - helix_core::selection::Selection::map::ha847eaf81c3fa260
13: 0x104b794a4 - helix_view::view::View::apply::h88a06322aa7d5975
14: 0x104abad1c - helix_term::commands::delete_selection_impl::h02293bf2f29ac32d
15: 0x10491df20 - helix_term::ui::editor::EditorView::handle_keymap_event::{{closure}}::ha0bf74526d5e4d2c
16: 0x10491de38 - helix_term::ui::editor::EditorView::handle_keymap_event::h7974db61ea0c2d7b
17: 0x10491fe94 - <helix_term::ui::editor::EditorView as helix_term::compositor::Component>::handle_event::hc181bf21707d7b07
18: 0x104915284 - helix_term::compositor::Compositor::handle_event::h9457bad99ab691ce
19: 0x104aee48c - helix_term::application::Application::handle_terminal_events::h0d4ad66cca316417
20: 0x104c400b4 - hx::main_impl::{{closure}}::h8f2f7170f476568d
21: 0x104c300dc - std::thread::local::LocalKey<T>::with::hc533c273645dd684
22: 0x104c268a8 - tokio::park::thread::CachedParkThread::block_on::hd2d048491914be9b
23: 0x104bfe4c8 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h30feeefd63cf4f37
24: 0x104c4f7bc - tokio::runtime::Runtime::block_on::hcafa90c78ef7b46d
25: 0x104c160e4 - hx::main::he67e5eef14377470
26: 0x104c198d0 - std::sys_common::backtrace::__rust_begin_short_backtrace::he53ad0d8c0bf81be
27: 0x104c441c4 - std::rt::lang_start::{{closure}}::hc5f08d150e2c52e9
28: 0x104d794e0 - std::rt::lang_start_internal::hc453db0ee48af82e
29: 0x104c161e8 - _main
Reproduction Steps
My workflow was, make changes to rust/highlights.scm update theme.toml and execute config-reload. I kept doing this in loop.
Sorry, I don't have specifics.
Helix log
2022-10-29T18:55:15.531 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T18:55:16.025 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T18:55:16.209 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T19:17:15.279 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T19:17:16.744 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T19:17:16.912 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T19:18:06.729 helix_view::editor [ERROR] editor error: No more matches
2022-10-29T19:18:06.880 helix_view::editor [ERROR] editor error: No more matches
Not sure this happed when there was crash.
Platform
Mac M1
Terminal Emulator
iterm2
Helix Version
Metadata
Metadata
Assignees
Labels
A-helix-termArea: Helix term improvementsArea: Helix term improvementsC-bugCategory: This is a bugCategory: This is a bug