The sound distributed version control system

#365 [PANIC] pijul debug run

Closed on February 26, 2021
tankf33der on February 26, 2021

latest alpha and backend.

$ cd pijul
$ RUST_BACKTRACE=1 pijul debug
# a lot of output
thread 'main' panicked at 'page not found: 0xa000 (total length 0x65f000)', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sanakirja-1.1.2/src/debug.rs:202:9
stack backtrace:
   0: rust_begin_unwind
   1: std::panicking::begin_panic_fmt
   2: sanakirja::debug::check_free
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sanakirja-1.1.2/src/debug.rs:202
   3: libpijul::pristine::sanakirja::GenericTxn<sanakirja::environment::Txn<alloc::sync::Arc<sanakirja::environment::Env>>>::check_database
             at ./libpijul/src/pristine/sanakirja.rs:293
   4: pijul::commands::debug::Debug::run::{{closure}}
             at ./pijul/src/commands/debug.rs:47
   5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /builddir/rustc-1.48.0-src/library/core/src/future/mod.rs:80
   6: pijul::run::{{closure}}
             at ./pijul/src/main.rs:205
   7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /builddir/rustc-1.48.0-src/library/core/src/future/mod.rs:80
   8: pijul::main::{{closure}}
             at ./pijul/src/main.rs:137
   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /builddir/rustc-1.48.0-src/library/core/src/future/mod.rs:80
  10: tokio::park::thread::CachedParkThread::block_on::{{closure}}
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/park/thread.rs:263
  11: tokio::coop::with_budget::{{closure}}
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/coop.rs:121
  12: std::thread::local::LocalKey<T>::try_with
             at /builddir/rustc-1.48.0-src/library/std/src/thread/local.rs:272
  13: std::thread::local::LocalKey<T>::with
             at /builddir/rustc-1.48.0-src/library/std/src/thread/local.rs:248
  14: tokio::coop::with_budget
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/coop.rs:114
  15: tokio::coop::budget
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/coop.rs:98
  16: tokio::park::thread::CachedParkThread::block_on
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/park/thread.rs:263
  17: tokio::runtime::enter::Enter::block_on
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/runtime/enter.rs:151
  18: tokio::runtime::thread_pool::ThreadPool::block_on
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/runtime/thread_pool/mod.rs:71
  19: tokio::runtime::Runtime::block_on
             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/runtime/mod.rs:452
  20: pijul::main
             at ./pijul/src/main.rs:130
  21: core::ops::function::FnOnce::call_once
             at /builddir/rustc-1.48.0-src/library/core/src/ops/function.rs:227
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
$
pmeunier on February 26, 2021

I can reproduce. I bet you deleted a channel in that repository.

tankf33der on February 26, 2021

Yea, but i dont remember history.

pmeunier added a change on February 26, 2021
TZ42DX3BML5C3O5Z6OBVNBCHSIIHT6AOJPD6ICOLOP4LPYFXQN2QC
main
pmeunier on February 26, 2021

Fixed, thanks!

pmeunier closed this discussion on February 26, 2021