Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on line staging #605

Closed
extrawurst opened this issue Mar 26, 2021 · 0 comments · Fixed by #612
Closed

crash on line staging #605

extrawurst opened this issue Mar 26, 2021 · 0 comments · Fixed by #612
Labels
bug Something isn't working

Comments

@extrawurst
Copy link
Owner

panic: PanicInfo { payload: Any, message: Some(index out of bounds: the len is 2 but the index is 2), location: Location { file: "asyncgit/src/sync/staging/mod.rs", line: 44, col: 25 } }
trace:
   0: backtrace::capture::Backtrace::new
   1: gitui::set_panic_handlers::{{closure}}
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::begin_panic_handler::{{closure}}
   4: std::sys_common::backtrace::__rust_end_short_backtrace
   5: _rust_begin_unwind
   6: core::panicking::panic_fmt
   7: core::panicking::panic_bounds_check
   8: asyncgit::sync::staging::NewFromOldContent::add_old_line
   9: asyncgit::sync::staging::apply_selection
  10: <gitui::components::diff::DiffComponent as gitui::components::Component>::event
  11: gitui::components::event_pump
  12: <gitui::tabs::status::Status as gitui::components::Component>::event
  13: gitui::components::event_pump
  14: gitui::main
  15: std::sys_common::backtrace::__rust_begin_short_backtrace
  16: _main

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant