The sound distributed version control system

#949 [CRASH] recording after disaster conflicts

Opened by tankf33der on June 5, 2024
tankf33der on June 5, 2024

FYI, record will not crash on small file (10 lines)

cd pijul-tests
git pull
./conflict-peace.sh1
# CRASH on recording
tankf33der on June 5, 2024
"name" = "pijul"
"operating_system" = "Manjaro 24.0.1 (Wynsdey) [64-bit]"
"crate_version" = "1.0.0-beta.9"
"explanation" = """
Panic occurred in file '/home/mpech/pijul/libpijul/src/change.rs' at line 386
"""
"cause" = "called `Option::unwrap()` on a `None` value"
"method" = "Panic"
"backtrace" = """

   0: 0x56355803055f - core::panicking::panic::heb86f60a82846b3a
   1: 0x563558030459 - core::option::unwrap_failed::h86886955db5b3d16
   2: 0x563558280a5c - libpijul::change::minimize_deps::h4d62695b054ec763
   3: 0x563558276856 - libpijul::change::dependencies::h151d97271d706f78
   4: 0x563558281525 - libpijul::change::LocalChange<libpijul::change::BaseHunk<libpijul::change::Atom<core::option::Option<libpijul::pristine::hash::Hash>>,libpijul::change::Local>,libpijul::change::Author>::make_change::hc5347ba6e34f1f19
   5: 0x563558353cfa - pijul::commands::record::Record::record::h8826ab91b212ff1b
   6: 0x5635582245d2 - pijul::commands::record::Record::run::{{closure}}::h08e0c3c3229cf38b
   7: 0x5635582320e2 - pijul::run::{{closure}}::h9c9d120fbd229f40
   8: 0x563558217215 - tokio::runtime::park::CachedParkThread::block_on::h9c5efeb218bc2567
   9: 0x563558136b84 - pijul::main::h92420bcded52c76c
  10: 0x56355829a513 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2cbf9207c0ea0599
  11: 0x56355829b4f9 - std::rt::lang_start::{{closure}}::h0655447e8827ecb5
  12: 0x563558bf34ae - std::rt::lang_start_internal::h89fc545bf879bd54
  13: 0x563558137495 - main
  14: 0x14759f242c88 - <unresolved>
  15: 0x14759f242d4c - __libc_start_main
  16: 0x563558030b05 - _start
  17:        0x0 - <unresolved>"""