Skip to content

git-stack Crash Report #399

@stephenprater

Description

@stephenprater

Please complete the following tasks

  • I have searched the discussions
  • I have searched the existing issues

Description

Run git sync initially.

I have run git fsck on the (large) repo - same crash before and after.

Version

git-stack 0.10.19

Steps to reproduce

  1. Install git-stack
  2. Run git sync

Actual Behaviour

Crash immediately - signal 6.

Expected Behaviour

No response

Debug Output

name = "git-stack"
operating_system = "Mac OS 15.5.0 [64-bit]"
crate_version = "0.10.19"
explanation = """
Panic occurred in file '/Users/prater/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/git-stack-0.10.19/src/git/repo.rs' at line 181
"""
cause = "Unexpected git2 error: invalid data in index - calculated checksum does not match expected; class=Index (10)"
method = "Panic"
backtrace = """
   0:        0x10224d648 - backtrace::capture::Backtrace::new::h7a4b955b6d60afc7
   1:        0x10230ef6c - human_panic::handle_dump::he4dddda85ffbb44b
   2:        0x1021b5800 - human_panic::setup_panic::{{closure}}::he9d84c535385cd2a
   3:        0x1023a953c - std::panicking::rust_panic_with_hook::ha68643d4311595e9
   4:        0x1023d89e8 - std::panicking::begin_panic_handler::{{closure}}::h0edcf2e5c8ce9186
   5:        0x1023d8958 - std::sys::backtrace::__rust_end_short_backtrace::h25049b070cf1a527
   6:        0x1023d9ed0 - _rust_begin_unwind
   7:        0x1024680c0 - core::panicking::panic_fmt::ha0b5c5252c2f1706
   8:        0x1022c8764 - git_stack::git::repo::GitRepo::is_dirty::hc881aea91eb81232
   9:        0x1022cc1ac - git_stack::git::repo::stash_push::h3503658190e21ef0
  10:        0x1021e8ee8 - git_stack::args::Args::exec::h69dae3f45e0f36ac
  11:        0x10220a734 - git_stack::run::he43f90f73cc32d56
  12:        0x102208a08 - git_stack::main::h63fdc094785a6c10
  13:        0x1021bf508 - std::sys::backtrace::__rust_begin_short_backtrace::h29275aa8f5716f09
  14:        0x102215c54 - _main
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions