Open qarmin opened 3 hours ago
Similar crash with CTRL + ALT + D
thread 'main' panicked at /home/rafal/.cargo/git/checkouts/alacritty-d00d61bb8a410914/cacdb5b/alacritty_terminal/src/term/mod.rs:258:19:
index out of bounds: the len is 0 but the index is 18446744073709551615
stack backtrace:
0: rust_begin_unwind
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:662:5
1: core::panicking::panic_fmt
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:74:14
2: core::panicking::panic_bounds_check
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/panicking.rs:276:5
3: <usize as core::slice::index::SliceIndex<[T]>>::index_mut
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/slice/index.rs:308:14
4: core::slice::index::<impl core::ops::index::IndexMut<I> for [T]>::index_mut
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/slice/index.rs:27:9
5: <alloc::vec::Vec<T,A> as core::ops::index::IndexMut<I>>::index_mut
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:2932:9
6: alacritty_terminal::term::TermDamageState::damage_line
at /home/rafal/.cargo/git/checkouts/alacritty-d00d61bb8a410914/cacdb5b/alacritty_terminal/src/term/mod.rs:258:19
7: alacritty_terminal::term::TermDamageState::damage_point
at /home/rafal/.cargo/git/checkouts/alacritty-d00d61bb8a410914/cacdb5b/alacritty_terminal/src/term/mod.rs:252:9
8: alacritty_terminal::term::Term<T>::damage
at /home/rafal/.cargo/git/checkouts/alacritty-d00d61bb8a410914/cacdb5b/alacritty_terminal/src/term/mod.rs:476:13
9: cosmic_term::terminal::Terminal::update
at ./src/terminal.rs:680:23
10: <cosmic_term::terminal_box::TerminalBox<Message> as iced_core::widget::Widget<Message,cosmic::theme::Theme,iced_renderer::fallback::Renderer<iced_wgpu::Renderer,iced_tiny_skia::Renderer>>>::layout
at ./src/terminal_box.rs:177:13
11: iced_core::layout::flex::resolve
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/layout/flex.rs:171:17
12: <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/column.rs:227:9
13: <cosmic::widget::dnd_destination::DndDestination<Message> as iced_core::widget::Widget<Message,cosmic::theme::Theme,iced_renderer::fallback::Renderer<iced_wgpu::Renderer,iced_tiny_skia::Renderer>>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/src/widget/dnd_destination.rs:275:9
14: iced_widget::pane_grid::content::Content<Message,Theme,Renderer>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/pane_grid/content.rs:204:13
15: <iced_widget::pane_grid::PaneGrid<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/pane_grid.rs:366:28
16: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:294:13
17: core::iter::traits::iterator::Iterator::find_map::check::{{closure}}
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:2902:32
18: core::iter::traits::iterator::Iterator::try_fold
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:2405:21
19: core::iter::traits::iterator::Iterator::find_map
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:2908:9
20: <core::iter::adapters::filter_map::FilterMap<I,F> as core::iter::traits::iterator::Iterator>::next
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/adapters/filter_map.rs:65:9
21: alloc::vec::Vec<T,A>::extend_desugared
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:3089:35
22: <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/spec_extend.rs:17:9
23: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/spec_from_iter_nested.rs:41:9
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/spec_from_iter.rs:33:9
25: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:2985:9
26: core::iter::traits::iterator::Iterator::collect
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:2000:9
27: <iced_widget::pane_grid::PaneGrid<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/pane_grid.rs:358:24
28: <iced_core::element::Map<A,B,Theme,Renderer> as iced_core::widget::Widget<B,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/element.rs:331:9
29: <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:268:22
30: iced_widget::container::layout::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:463:18
31: iced_core::layout::positioned
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/layout.rs:179:19
32: iced_widget::container::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:458:5
33: <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:259:9
34: iced_core::layout::flex::resolve
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/layout/flex.rs:171:17
35: <iced_widget::row::Row<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/row.rs:223:9
36: iced_core::layout::flex::resolve
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/layout/flex.rs:171:17
37: <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/column.rs:227:9
38: iced_core::layout::flex::resolve
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/layout/flex.rs:171:17
39: <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/column.rs:227:9
40: <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:268:22
41: iced_widget::container::layout::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:463:18
42: iced_core::layout::positioned
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/core/src/layout.rs:179:19
43: iced_widget::container::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:458:5
44: <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/widget/src/container.rs:259:9
45: <cosmic::widget::popover::Popover<Message,Renderer> as iced_core::widget::Widget<Message,cosmic::theme::Theme,Renderer>>::layout
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/src/widget/popover.rs:118:9
46: iced_runtime::user_interface::UserInterface<Message,Theme,Renderer>::build
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/runtime/src/user_interface.rs:107:20
47: iced_winit::program::build_user_interface
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:1864:26
48: iced_winit::program::build_user_interfaces::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:2316:29
49: core::iter::adapters::filter_map::filter_map_fold::{{closure}}
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/adapters/filter_map.rs:40:28
50: core::iter::traits::iterator::Iterator::fold
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:2583:21
51: <hashbrown::map::Drain<K,V,A> as core::iter::traits::iterator::Iterator>::fold
at /rust/deps/hashbrown-0.14.5/src/map.rs:4965:9
52: <std::collections::hash::map::Drain<K,V> as core::iter::traits::iterator::Iterator>::fold
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/collections/hash/map.rs:2564:19
53: <core::iter::adapters::filter_map::FilterMap<I,F> as core::iter::traits::iterator::Iterator>::fold
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/adapters/filter_map.rs:149:9
54: core::iter::traits::iterator::Iterator::for_each
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:813:9
55: <hashbrown::map::HashMap<K,V,S,A> as core::iter::traits::collect::Extend<(K,V)>>::extend
at /rust/deps/hashbrown-0.14.5/src/map.rs:6511:9
56: <std::collections::hash::map::HashMap<K,V,S> as core::iter::traits::collect::Extend<(K,V)>>::extend
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/collections/hash/map.rs:3142:9
57: <std::collections::hash::map::HashMap<K,V,S> as core::iter::traits::collect::FromIterator<(K,V)>>::from_iter
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/collections/hash/map.rs:3127:13
58: core::iter::traits::iterator::Iterator::collect
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/iter/traits/iterator.rs:2000:9
59: iced_winit::program::build_user_interfaces
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:2312:5
60: iced_winit::program::run_instance::{{closure}}
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:1660:57
61: iced_winit::program::run::Runner<Message,F,C>::process_event
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:447:28
62: <iced_winit::program::run::Runner<Message,F,C> as winit::application::ApplicationHandler>::about_to_wait
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:347:13
63: <&mut A as winit::application::ApplicationHandler>::about_to_wait
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/application.rs:374:9
64: <&mut A as winit::application::ApplicationHandler>::about_to_wait
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/application.rs:374:9
65: winit::platform_impl::linux::x11::EventLoop::single_iteration
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:568:9
66: winit::platform_impl::linux::x11::EventLoop::poll_events_with_timeout
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:507:9
67: winit::platform_impl::linux::x11::EventLoop::pump_app_events
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:426:13
68: winit::platform_impl::linux::x11::EventLoop::run_app_on_demand
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:385:19
69: winit::platform_impl::linux::x11::EventLoop::run_app
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:376:9
70: winit::platform_impl::linux::EventLoop::run_app
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/mod.rs:427:56
71: winit::event_loop::EventLoop::run_app
at /home/rafal/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/event_loop.rs:228:9
72: iced_winit::program::run
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/winit/src/program.rs:626:17
73: iced::program::Program::run_with
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/iced/src/program.rs:183:12
74: cosmic::app::multi_window::MultiWindow<P>::run_with
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/src/app/multi_window.rs:124:9
75: cosmic::app::run
at /home/rafal/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/568ff09/src/app/mod.rs:179:9
76: cosmic_term::main
at ./src/main.rs:168:5
77: core::ops::function::FnOnce::call_once
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Commit - fda0850b3b199ff97a6a0f9df6272e7a9e9e419a
https://github.com/user-attachments/assets/a8da03d6-ab42-4b38-b0a4-5fb8d283098e
Steps to reproduce