The sound distributed version control system

#558 Crash report on macos, new repository one file, trying to push to nest

Closed 2 days ago
rani.sharim on October 28, 2021

name = ‘pijul’ operating_system = ‘unix:OSX’ crate_version = ‘1.0.0-alpha.55’ explanation = ‘’’ Panic occurred in file ‘/Users/rani/.cargo/registry/src/github.com-1ecc6299db9ec823/libpijul-1.0.0-alpha.49/src/lib.rs’ at line 620 ‘’’ cause = ‘Unknown change Pair { a: ChangeId(EAAQAAAAAAAAA), b: SerializedMerkle([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 30]) }’ method = ‘Panic’ backtrace = ‘’’

0: 0x1086c8d8a - rust_begin_unwind at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:517 1: 0x108728c0b - std::panicking::begin_panic_fmt::h5b22d968204fba19 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:460 2: 0x107f8e1fb - <libpijul::RevLog<T> as core::iter::traits::iterator::Iterator>::next::h28e13b8b623be6d8 3: 0x1080b09a9 - pijul::remote::RemoteDelta<libpijul::pristine::sanakirja::GenericTxn<sanakirja::environment::muttxn::MutTxn<alloc::sync::Arcsanakirja::environment::Env,()>>>::to_remote_push::hbf56cd5d39f8dd90 4: 0x108114b7b - pijul::commands::pushpull::Push::run::{{closure}}::hcdf4c8f9466e5726 5: 0x10812e91e - pijul::run::{{closure}}::h971c68a1c2004843 6: 0x1080ff8b5 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h42c479e96e8c9834 7: 0x108039c78 - tokio::park::thread::CachedParkThread::block_on::h6cd849898fd41d0b 8: 0x10806da11 - tokio::runtime::thread_pool::ThreadPool::block_on::he04989f06837eeca 9: 0x1080d7d53 - tokio::runtime::Runtime::block_on::h98e142c4edc7d86c 10: 0x107fec113 - pijul::main::h44cfa654283d409e 11: 0x108094eb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he78f94923279d900 12: 0x10809657c - std::rt::lang_start::{{closure}}::had678611ced5fc37 13: 0x1086c98aa - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h5a1cefaf9bdbcf8a at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/core/src/ops/function.rs:259 - std::panicking::try::do_call::h23fe123372bed355 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:403 - std::panicking::try::hbf138fd866572be5 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:367 - std::panic::catch_unwind::h2519b05c86de300b at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panic.rs:129 - std::rt::lang_start_internal::{{closure}}::hcfc5ea3a8292f213 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/rt.rs:45 - std::panicking::try::do_call::he693a6070bab7561 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:403 - std::panicking::try::hfae50c0249a87399 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:367 - std::panic::catch_unwind::h4897c9a509b40c85 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panic.rs:129 - std::rt::lang_start_internal::h9fcc861d49447111 at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/rt.rs:45 14: 0x107fec209 - _main’‘’

pmeunier on October 28, 2021

I’ve never seen anything like that. If you can, I’d be extremely interested in a tarball of the resulting repository, can you send one to pe@pijul.org?

pmeunier on October 28, 2021

Hi! I believe this is caused by a recent bugfix in Sanakirja (our backend). I just fixed it there, would you mind checking again after a cargo update? Thanks!

rani.sharim on October 28, 2021

Rebuilding from source seems to solve this. Not sure what you meant by cargo update, as afaik it doesn’t update installed binaries. Reinstalling didn’t solve this.

pmeunier 2 days ago

Alright, if it’s solved I’ll close it. Since I couldn’t reproduce I don’t really know if the fix is real. Feel free to reopen if it isn’t fixed.

Testing again is very helpful if you get a chance, thanks!

pmeunier closed this discussion 2 days ago