Crash when navigating log / working set.
Describe the bug
Attempted to navigate a git repo, and gitui crashed. See repro steps for description of initial navigation attempts.
PanicHookInfo { payload: Any { .. }, location: Location { file: "asyncgit\src\revlog.rs", line: 186, col: 14 }, can_unwind: true, force_no_backtrace: false }
trace:
0: git_odb_object_data
1:
Further attempts to load gitui on the same repo result in an immediate crash.
To Reproduce Steps to reproduce the behavior:
Launched gitui.
Navigated down through changes. Attempted to select a specific (deleted) file for review. Encountered crash.
Now when relaunching gitui, encounter crash immediately.
Expected behavior Not crash!
Screenshots Pasted stack trace
Context (please complete the following information):
-
OS/Distro + Version: [e.g.
macOS 10.15.5] -
GitUI Version [e.g.
0.5] -
Rust version: [e.g
1.44] -
Windows 11 23H2 (OS Build 22631.5624)
-
GitUI Version 0.27.0 2025-01-14
-
Rust Version: rustc 1.86.0 (05f9846f8 2025-03-31)
Same Issue when go to [2]Logs tab.
GitUI was close due to an unexpected panic.
Please file an issue on https://github.com/extrawurst/gitui/issues with the following info:
PanicHookInfo { payload: Any { .. }, location: Location { file: "asyncgit/src/revlog.rs", line: 186, col: 14 }, can_unwind: true, force_no_backtrace: false }
trace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
GitUI was close due to an unexpected panic.
Please file an issue on https://github.com/extrawurst/gitui/issues with the following info:
Any { .. }
trace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
Aborted (core dumped)
probably related to #2655