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

GitUI was close due to an unexpected panic #2137

Closed
RubberJones opened this issue Mar 19, 2024 · 1 comment
Closed

GitUI was close due to an unexpected panic #2137

RubberJones opened this issue Mar 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RubberJones
Copy link

RubberJones commented Mar 19, 2024

Description
If I use 'Blame' on my file, the application crashes. The file is in JSON format.

Reproduce
If I open the commit with the JSON file with the right arrow and then press 'Blame', the programme crashes with this message.

Output
PanicInfo { payload: Any { .. }, message: Some(index out of bounds: the len is 60 but the index is 60), location: Location { file: "src/popups/blame_file.rs", line: 622, col: 38 }, can_unwind: true, force_no_backtrace: false }
trace:
0: gitui::set_panic_handlers::{{closure}}
1: std::panicking::rust_panic_with_hook
2: std::panicking::begin_panic_handler::{{closure}}
3: std::sys_common::backtrace::__rust_end_short_backtrace
4: rust_begin_unwind
5: core::panicking::panic_fmt
6: core::panicking::panic_bounds_check
7: gitui::app::App::draw_popups
8: gitui::app::App::draw
9: gitui::run_app
10: gitui::main
11: std::sys_common::backtrace::__rust_begin_short_backtrace
12: main
13: __libc_start_call_main
14: __libc_start_main_impl
15: _start

Context

  • OS: Fedora 39, 6.7.9-200.fc39.x86_64
  • git version: 2.44.0
  • Rust version: 1.76.0 (c84b36747 2024-01-18)
@RubberJones RubberJones added the bug Something isn't working label Mar 19, 2024
@extrawurst
Copy link
Owner

duplicate of #2130

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

No branches or pull requests

2 participants