The sound distributed version control system

#440 [TAG, CRASH] tag checkout

Opened by tankf33der on May 19, 2021
tankf33der on May 19, 2021
$ pijul init p1
$ cd p1
$ touch a
$ pijul add a
$ pijul record -am"."
$ pijul tag create -m"1"
5JC36DV6KCND2L7NYDEU55YLE5TMZPMHR6WSJ5U2LNQW3BCYGNKAC
$ echo "2" >> a
$ pijul record -am"."
$ pijul tag create -m"2"
KUIVCDR4T6NM2Z7Q5KVTFQYQ4HLR5NDBUTNGAYRDE7MDKYXPQ5LAC
$ echo "3" >> a
$ pijul record -am"."
$ pijul tag create -m"3"
KSTKKGA4RHLORIQLJU44QKQWCVONHRK6DL32FFQJCLS7OMZR2A2AC
$ pijul tag checkout KSTKKGA4RHLORIQLJU44QKQWCVONHRK6DL32FFQJCLS7OMZR2A2AC --to-channel mike1
# CRASH
$
tankf33der on May 19, 2021
$ cat /tmp/report-1c2a6b99-cf9a-4875-ace0-63142234d632.toml
name = 'pijul'
operating_system = 'unix:Unknown'
crate_version = '1.0.0-alpha.48'
explanation = '''
Panic occurred in file 'libpijul/src/tag.rs' at line 116
'''
cause = 'called `Option::unwrap()` on a `None` value'
method = 'Panic'
backtrace = '''

   0: 0x55c1dec9a26d - core::panicking::panic::hfbe00deb325a44ca
   1: 0x55c1dea38c95 - libpijul::tag::restore_channel::haf324b9052a362ea
   2: 0x55c1de7088cc - pijul::commands::tag::Tag::run::{{closure}}::hd9ec66f38ea7d55a
   3: 0x55c1de724bb4 - pijul::run::{{closure}}::ha1ea51f16776c5b9
   4: 0x55c1de6ce21b - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h90cb0338c8e486ed
   5: 0x55c1de505b6f - tokio::park::thread::CachedParkThread::block_on::hcaabf9b3a8b81a34
   6: 0x55c1de505cbd - tokio::runtime::thread_pool::ThreadPool::block_on::h6c149a50c53d5541
   7: 0x55c1de747b70 - tokio::runtime::Runtime::block_on::h7eb43aa9d588d93b
   8: 0x55c1de66d8f6 - pijul::main::hfcb5285b98dbfc20
   9: 0x55c1de647fc3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h739a9e94a132b67d
  10: 0x55c1de648f59 - std::rt::lang_start::{{closure}}::hbdb4c4b1881035b5
  11: 0x55c1dec774d7 - std::rt::lang_start_internal::h0c3fae9f987cf9c0
  12: 0x55c1de66d9b2 - main
  13: 0x7f818f516e0a - __libc_start_main
                at /builddir/glibc-2.32/csu/../csu/libc-start.c:314
  14: 0x55c1de4c72ba - _start
                at /builddir/glibc-2.32/csu/../sysdeps/x86_64/start.S:120
  15:        0x0 - <unresolved>'''
$