The sound distributed version control system

#398 [CRASH] apply --deps-only

Closed on April 25, 2021
tankf33der on March 26, 2021

Latest pijul, update repo and run ./apply-depsonly.sh will be crash soon:

$ cat /tmp/report-866cfc94-d746-4167-80bd-5a5787e87e13.toml
name = 'pijul'
operating_system = 'unix:Manjaro'
crate_version = '1.0.0-alpha.48'
explanation = '''
Panic occurred in file '/home/mpech/pijul/libpijul/src/record.rs' at line 426
'''
cause = 'assertion failed: !self.former_parents.is_empty()'
method = 'Panic'
backtrace = '''

   0: 0x562ffad7bb7d - core::panicking::panic::h2d79ca19ff17340e
                at /build/rust/src/rustc-1.50.0-src/library/core/src/panicking.rs:50
   1: 0x562ffa6df6ab - libpijul::record::Builder::record_existing_file::hddd7edb61cc01cea
   2: 0x562ffa6e2c0f - libpijul::record::Builder::record::h0e104122b0c9d097
   3: 0x562ffa81bde8 - pijul::run::{{closure}}::h9fe33594579a140c
   4: 0x562ffa7d0dfb - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h300db49d1d06bae2
   5: 0x562ffa704ee4 - tokio::runtime::thread_pool::ThreadPool::block_on::hdcebc6ebb12d8fa9
   6: 0x562ffa84009e - tokio::runtime::Runtime::block_on::hdb366f1a730c944a
   7: 0x562ffa760f36 - pijul::main::h69da34b14e0b5874
   8: 0x562ffa6ce553 - std::sys_common::backtrace::__rust_begin_short_backtrace::h1746ba58e3ec5bb1
   9: 0x562ffa64ff09 - std::rt::lang_start::{{closure}}::h154d7273c224f478
  10: 0x562ffad5adb7 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h5a27e92186d531b9
                at /build/rust/src/rustc-1.50.0-src/library/core/src/ops/function.rs:259
                 - std::panicking::try::do_call::h8d3a36b2860fc4e2
                at /build/rust/src/rustc-1.50.0-src/library/std/src/panicking.rs:379
                 - std::panicking::try::hefdcf6df93f20790
                at /build/rust/src/rustc-1.50.0-src/library/std/src/panicking.rs:343
                 - std::panic::catch_unwind::h36ddc1c42bb74870
                at /build/rust/src/rustc-1.50.0-src/library/std/src/panic.rs:396
                 - std::rt::lang_start_internal::ha6cc4bb09c664b1a
                at /build/rust/src/rustc-1.50.0-src/library/std/src/rt.rs:51
  11: 0x562ffa760ff2 - main
  12: 0x9b4b15e6b25 - __libc_start_main
  13: 0x562ffa63327e - _start
  14:        0x0 - <unresolved>'''
$
pmeunier on April 25, 2021

I can’t reproduce anymore, and I know a few things that have changed since you reported this, including several consistency bugs in Sanakirja.

I’ll close for now, feel free to reopen if this still happens.

pmeunier on April 25, 2021

I can’t reproduce anymore, and I know a few things that have changed since you reported this, including several consistency bugs in Sanakirja.

I’ll close for now, feel free to reopen if this still happens.

pmeunier closed this discussion on April 25, 2021
tankf33der on April 25, 2021

Enabled.