gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Crash when navigating log / working set.

Open rdstevens-gh opened this issue 4 months ago • 2 comments

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: 2: git_odb_object_data 3: git_odb_object_data 4: git_odb_object_data 5: git_odb_object_data 6: git_midx_writer_new 7: git_midx_writer_new 8: git_odb_object_data GitUI was close due to an unexpected panic. Please file an issue on https://github.com/extrawurst/gitui/issues with the following info: 11: git_midx_writer_new Any { .. }odb_object_data trace:git_odb_object_data 0: git_odb_object_data 1: dInitThunk 2: git_odb_object_data 3: git_midx_writer_new 4: git_odb_object_data 5: git_odb_object_data 6: git_odb_object_data 7: BaseThreadInitThunk 8: RtlUserThreadStart

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)

rdstevens-gh avatar Sep 08 '25 17:09 rdstevens-gh

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)

honzik1 avatar Sep 22 '25 08:09 honzik1

probably related to #2655

extrawurst avatar Nov 29 '25 11:11 extrawurst