Skip to content

panicked at 'cannot sample empty range'

I ran arti in an ad-hoc test; it had a largely empty/stale cache, and I asked it to make an HS connection pretty soon after it started listening.

This happened:

thread 'tokio-runtime-worker' panicked at 'cannot sample empty range', /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:134:9
...
   4: tor_circmgr::hspool::pool::random_idx_where
             at ./crates/tor-circmgr/src/hspool/pool.rs:147:17
   5: tor_circmgr::hspool::pool::Pool::take_one_where
             at ./crates/tor-circmgr/src/hspool/pool.rs:84:24

I think this is a bug in random_idx_where.

Full log behind the cut.

rustcargo@zealot:/volatile/rustcargo/Rustup/Arti/arti$ RUST_BACKTRACE=1 rust-gdb -ex run --args target/debug/arti -l debug proxy
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from target/debug/arti...done.
Starting program: /volatile/rustcargo/Rustup/Arti/arti/target/debug/arti -l debug proxy
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff7bc7700 (LWP 3900)]
[New Thread 0x7ffff79c6700 (LWP 3901)]
[New Thread 0x7ffff77c5700 (LWP 3906)]
[New Thread 0x7ffff75c4700 (LWP 3908)]
[New Thread 0x7ffff73c3700 (LWP 3911)]
[New Thread 0x7ffff71c2700 (LWP 3913)]
[New Thread 0x7ffff6fc1700 (LWP 3914)]
[New Thread 0x7ffff6dc0700 (LWP 3915)]
2023-06-23T09:40:12.101076Z  INFO arti: Starting Arti 1.1.5 in SOCKS proxy mode on port 9150...
2023-06-23T09:40:12.101183Z DEBUG arti::process: Increased process file limit to 4096
2023-06-23T09:40:12.168514Z DEBUG tor_guardmgr::sample: Guard set loaded. n_guards=60 n_confirmed=6
2023-06-23T09:40:12.168651Z DEBUG tor_guardmgr::sample: Guard set loaded. n_guards=0 n_confirmed=0
2023-06-23T09:40:12.168708Z DEBUG tor_guardmgr::sample: Guard set loaded. n_guards=0 n_confirmed=0
2023-06-23T09:40:12.177051Z DEBUG tor_guardmgr::sample: Updated primary guards. old=[] new=[GuardId(RelayIds { ed_identity: Some(Ed25519Identity { j6XotyHUiSOC66nH5Bq8M/FTWcjVXG0MdPvOxfdEh2g }), rsa_identity: Some(RsaIdentity { $e8965a79fb2f335194141e8968755524840c44b6 }) }), GuardId(RelayIds { ed_identity: Some(Ed25519Identity { 6lORxW93KRbhHFPNG0g+oBkXZbRnpwBzyfDcta7ed/M }), rsa_identity: Some(RsaIdentity { $f0c9c07d1b7c6fc8547f52cac1015b4a79e2ac1a }) }), GuardId(RelayIds { ed_identity: Some(Ed25519Identity { jIjMIq4vWLguTzYqVnxZnMg84AY0qdC+oeFKiYfD6Rk }), rsa_identity: Some(RsaIdentity { $a511f574066cdc228c79ed366007644995136bd8 }) })]
2023-06-23T09:40:12.215819Z DEBUG arti_client::status: 0%: connecting to the internet; not downloading
2023-06-23T09:40:12.215909Z DEBUG arti_client::status: 0%: connecting to the internet; not downloading
2023-06-23T09:40:12.215953Z DEBUG arti_client::status: 0%: connecting to the internet; not downloading
[New Thread 0x7ffff6bbf700 (LWP 3930)]
[New Thread 0x7ffff69be700 (LWP 3934)]
2023-06-23T09:40:12.233178Z DEBUG arti_client::client: It appears we have the lock on our state files.
2023-06-23T09:40:12.233686Z DEBUG arti::reload_cfg: Entering FS event loop
2023-06-23T09:40:13.233939Z DEBUG arti::reload_cfg: Config reload event Rescan: reloading configuration.
[New Thread 0x7ffff6473700 (LWP 4045)]
[Thread 0x7ffff6bbf700 (LWP 3930) exited]
2023-06-23T09:40:13.257395Z  INFO arti::reload_cfg: Successfully reloaded configuration.
2023-06-23T09:40:16.572340Z DEBUG arti_client::status: 19%: connecting to the internet; directory is fetching authority certificates (0/8)
2023-06-23T09:40:17.146896Z DEBUG arti_client::status: 27%: connecting to the internet; directory is fetching authority certificates (8/8)
2023-06-23T09:40:29.572929Z DEBUG tor_dirmgr::state: Consensus now usable, with 0 microdescriptors missing. The current consensus is fresh until 2023-06-21 10:00:00.0 +00:00:00, and valid until 2023-06-21 12:00:00.0 +00:00:00. I've picked 2023-06-21 11:33:21.656102441 +00:00:00 as the earliest time to replace it.
2023-06-23T09:40:29.592755Z DEBUG arti_client::status: 77%: connecting to the internet; directory is fetching microdescriptors (6862/6862)
2023-06-23T09:40:29.592912Z  INFO tor_dirmgr: Marked consensus usable.
2023-06-23T09:40:29.593033Z DEBUG tor_circmgr: Checking preemptive circuit predictions.
2023-06-23T09:40:29.593148Z DEBUG tor_circmgr::usage: preemptive usage Preemptive { port: Some(TargetPort { ipv6: false, port: 443 }), circs: 2 } matches 0 active circuits
2023-06-23T09:40:29.730529Z  INFO tor_dirmgr: Loaded a good directory from cache.
2023-06-23T09:40:29.730659Z  INFO arti: Sufficiently bootstrapped; system SOCKS now functional.
2023-06-23T09:40:29.730885Z  INFO arti::socks: Listening on 127.0.0.1:9150.
2023-06-23T09:40:29.730954Z  INFO arti::socks: Listening on [::1]:9150.
2023-06-23T09:40:31.145448Z DEBUG tor_circmgr::usage: preemptive usage Preemptive { port: Some(TargetPort { ipv6: false, port: 80 }), circs: 2 } matches 0 active circuits
2023-06-23T09:40:31.145624Z DEBUG tor_circmgr::usage: preemptive usage Preemptive { port: None, circs: 2 } matches 0 active circuits
2023-06-23T09:40:31.146102Z DEBUG tor_chanmgr::factory: Attempting to open a new channel to [37.120.171.230:9001+ ed25519:j6XotyHUiSOC66nH5Bq8M/FTWcjVXG0MdPvOxfdEh2g $e8965a79fb2f335194141e8968755524840c44b6]
2023-06-23T09:40:31.147741Z DEBUG tor_chanmgr::transport::default: Connecting to 37.120.171.230:9001
2023-06-23T09:40:31.182161Z DEBUG arti_client::status: 84%: handshaking with Tor relays; directory is fetching microdescriptors (6862/6862)
2023-06-23T09:40:31.228331Z DEBUG tor_proto::channel::handshake: Chan 0: starting Tor handshake with Direct([37.120.171.230:9001])
2023-06-23T09:40:31.314624Z DEBUG tor_proto::channel::handshake: Chan 0: Completed handshake with j6XotyHUiSOC66nH5Bq8M/FTWcjVXG0MdPvOxfdEh2g [$e8965a79fb2f335194141e8968755524840c44b6]
2023-06-23T09:40:31.314919Z DEBUG arti_client::status: 92%: connecting successfully; directory is fetching microdescriptors (6862/6862)
2023-06-23T09:40:31.321281Z DEBUG tor_proto::channel::reactor: UniqId(0): Running reactor
2023-06-23T09:40:31.322189Z DEBUG tor_proto::circuit::reactor: Circ 0.0: Extending to hop 1 with CREATE2
2023-06-23T09:40:31.402176Z DEBUG tor_proto::circuit::reactor: Circ 0.0: Handshake complete; circuit created.
2023-06-23T09:40:31.402987Z DEBUG tor_proto::circuit::reactor: Circ 0.0: Extending circuit to hop 2 with [EncodedLinkSpec { lstype: LinkSpecType(ORPORT_V4), body: [167, 235, 112, 134, 35, 41] }, EncodedLinkSpec { lstype: LinkSpecType(RSAID), body: [176, 176, 88, 140, 86, 10, 63, 35, 4, 24, 97, 42, 237, 243, 134, 68, 157, 184, 28, 126] }, EncodedLinkSpec { lstype: LinkSpecType(ED25519ID), body: [26, 95, 71, 199, 120, 36, 148, 77, 230, 173, 112, 26, 191, 39, 111, 243, 214, 222, 245, 3, 118, 128, 125, 207, 18, 167, 14, 175, 163, 180, 137, 86] }, EncodedLinkSpec { lstype: LinkSpecType(ORPORT_V6), body: [42, 1, 4, 248, 34, 0, 20, 220, 1, 32, 0, 0, 0, 0, 1, 1, 35, 41] }]
2023-06-23T09:40:31.442355Z DEBUG tor_proto::circuit::reactor: Circ 0.0: Handshake complete; circuit extended.
2023-06-23T09:40:31.443068Z DEBUG tor_proto::circuit::reactor: Circ 0.0: Extending circuit to hop 3 with [EncodedLinkSpec { lstype: LinkSpecType(ORPORT_V4), body: [171, 25, 193, 77, 0, 81] }, EncodedLinkSpec { lstype: LinkSpecType(RSAID), body: [85, 199, 225, 0, 51, 240, 226, 229, 241, 210, 131, 133, 48, 207, 185, 176, 77, 79, 59, 21] }, EncodedLinkSpec { lstype: LinkSpecType(ED25519ID), body: [144, 214, 83, 195, 230, 187, 239, 44, 97, 52, 29, 114, 222, 97, 204, 11, 48, 122, 215, 77, 28, 17, 228, 190, 34, 159, 48, 220, 36, 152, 94, 140] }, EncodedLinkSpec { lstype: LinkSpecType(ORPORT_V6), body: [32, 1, 6, 124, 40, 156, 0, 4, 0, 0, 0, 0, 0, 0, 0, 119, 0, 81] }]
2023-06-23T09:40:31.529225Z DEBUG tor_proto::circuit::reactor: Circ 0.0: Handshake complete; circuit extended.
2023-06-23T09:40:31.529905Z DEBUG tor_circmgr: Preeemptive circuit was created for Preemptive { port: Some(TargetPort { ipv6: false, port: 443 }), circs: 2 }
2023-06-23T09:40:31.529971Z DEBUG tor_circmgr: Preeemptive circuit was created for Preemptive { port: Some(TargetPort { ipv6: false, port: 80 }), circs: 2 }
2023-06-23T09:40:31.529992Z DEBUG tor_circmgr: Preeemptive circuit was created for Preemptive { port: None, circs: 2 }
2023-06-23T09:40:31.531982Z  INFO tor_guardmgr::guard: We have found that guard [scrubbed] is usable.
2023-06-23T09:40:31.534549Z DEBUG arti_client::status: 92%: connecting successfully; directory is fetching microdescriptors (6862/6862)
2023-06-23T09:40:33.342313Z DEBUG arti::socks: Got a socks request: CONNECT [scrubbed]:443
2023-06-23T09:40:33.342654Z DEBUG arti_client::client: It appears we have the lock on our state files.
2023-06-23T09:40:33.342728Z DEBUG tor_dirmgr: Attempted to bootstrap twice; ignoring.
thread 'tokio-runtime-worker' panicked at 'cannot sample empty range', /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:134:9
stack backtrace:
   0: rust_begin_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:578:5
   1: core::panicking::panic_fmt
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panicking.rs:67:14
   2: core::panicking::panic
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panicking.rs:117:5
   3: rand::rng::Rng::gen_range
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/rng.rs:134:9
   4: tor_circmgr::hspool::pool::random_idx_where
             at ./crates/tor-circmgr/src/hspool/pool.rs:147:17
   5: tor_circmgr::hspool::pool::Pool::take_one_where
             at ./crates/tor-circmgr/src/hspool/pool.rs:84:24
   6: tor_circmgr::hspool::HsCircPool<R>::take_or_launch_stub_circuit::{{closure}}
             at ./crates/tor-circmgr/src/hspool.rs:235:37
   7: tor_circmgr::hspool::HsCircPool<R>::get_or_launch_specific::{{closure}}
             at ./crates/tor-circmgr/src/hspool.rs:181:13
   8: <tor_circmgr::hspool::HsCircPool<R> as tor_hsclient::connect::MockableCircPool<R>>::get_or_launch_specific::{{closure}}
             at ./crates/tor-hsclient/src/connect.rs:1247:71
   9: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/future/future.rs:125:9
  10: tor_hsclient::connect::Context<R,M>::descriptor_fetch_attempt::{{closure}}
             at ./crates/tor-hsclient/src/connect.rs:527:13
  11: <tor_rtcompat::timer::Timeout<T,S> as core::future::future::Future>::poll
             at ./crates/tor-rtcompat/src/timer.rs:105:33
  12: tor_hsclient::connect::Context<R,M>::descriptor_ensure::{{closure}}
             at ./crates/tor-hsclient/src/connect.rs:466:17
  13: tor_hsclient::connect::Context<R,M>::connect::{{closure}}
             at ./crates/tor-hsclient/src/connect.rs:391:58
  14: tor_hsclient::connect::connect::{{closure}}
             at ./crates/tor-hsclient/src/connect.rs:142:5
  15: <tor_hsclient::connect::Data as tor_hsclient::state::MockableConnectorData>::connect::{{closure}}
             at ./crates/tor-hsclient/src/connect.rs:1294:60
  16: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/future/future.rs:125:9
  17: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:296:9
  18: <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:42
  19: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  20: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  21: __rust_try
  22: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  23: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  24: <futures_util::future::future::catch_unwind::CatchUnwind<Fut> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.28/src/future/future/catch_unwind.rs:36:9
  25: tor_hsclient::state::obtain_circuit_or_continuation_info::{{closure}}
             at ./crates/tor-hsclient/src/state.rs:300:21
  26: <futures_task::future_obj::LocalFutureObj<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-task-0.3.28/src/future_obj.rs:84:18
  27: <futures_task::future_obj::FutureObj<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-task-0.3.28/src/future_obj.rs:127:9
  28: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:223:17
  29: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/loom/std/unsafe_cell.rs:14:9
  30: tokio::runtime::task::core::Core<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:212:13
  31: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:476:19
  32: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  33: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  34: __rust_try
  35: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  36: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  37: tokio::runtime::task::harness::poll_future
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:464:18
  38: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:198:27
  39: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:152:15
  40: tokio::runtime::task::raw::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:255:5
  41: tokio::runtime::task::raw::RawTask::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:200:18
  42: tokio::runtime::task::LocalNotified<S>::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/mod.rs:394:9
  43: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:487:21
  44: tokio::runtime::coop::with_budget
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/coop.rs:107:5
  45: tokio::runtime::coop::budget
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/coop.rs:73:5
  46: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:463:9
  47: tokio::runtime::scheduler::multi_thread::worker::Context::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:426:24
  48: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:406:17
  49: tokio::macros::scoped_tls::ScopedKey<T>::set
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/macros/scoped_tls.rs:61:9
  50: tokio::runtime::scheduler::multi_thread::worker::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:403:5
  51: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:365:45
  52: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/task.rs:42:21
  53: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:223:17
  54: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/loom/std/unsafe_cell.rs:14:9
  55: tokio::runtime::task::core::Core<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:212:13
  56: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:476:19
  57: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  58: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  59: __rust_try
  60: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  61: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  62: tokio::runtime::task::harness::poll_future
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:464:18
  63: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:198:27
  64: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:152:15
  65: tokio::runtime::task::raw::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:255:5
  66: tokio::runtime::task::raw::RawTask::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:200:18
  67: tokio::runtime::task::UnownedTask<S>::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/mod.rs:431:9
  68: tokio::runtime::blocking::pool::Task::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:159:9
  69: tokio::runtime::blocking::pool::Inner::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:513:17
  70: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:471:13
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2023-06-23T09:40:33.966058Z DEBUG tor_dirmgr::state: Consensus now usable, with 0 microdescriptors missing. The current consensus is fresh until 2023-06-21 10:00:00.0 +00:00:00, and valid until 2023-06-21 12:00:00.0 +00:00:00. I've picked 2023-06-21 11:46:08.341062981 +00:00:00 as the earliest time to replace it.
2023-06-23T09:40:33.966395Z  INFO tor_dirmgr: Marked consensus usable.
2023-06-23T09:40:33.966533Z DEBUG arti_client::status: 42%: connecting successfully; directory is fetching authority certificates (8/8)
thread 'tokio-runtime-worker' panicked at 'lock poisoned: PoisonError { .. }', /volatile/rustcargo/Rustup/Arti/arti/crates/tor-circmgr/src/hspool.rs:265:43
stack backtrace:
   0: rust_begin_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:578:5
   1: core::panicking::panic_fmt
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panicking.rs:67:14
   2: core::result::unwrap_failed
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/result.rs:1687:5
   3: core::result::Result<T,E>::expect
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/result.rs:1046:23
   4: tor_circmgr::hspool::HsCircPool<R>::remove_closed
             at ./crates/tor-circmgr/src/hspool.rs:265:25
   5: tor_circmgr::hspool::remove_unusable_circuits::{{closure}}
             at ./crates/tor-circmgr/src/hspool.rs:453:9
   6: <futures_task::future_obj::LocalFutureObj<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-task-0.3.28/src/future_obj.rs:84:18
   7: <futures_task::future_obj::FutureObj<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-task-0.3.28/src/future_obj.rs:127:9
   8: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:223:17
   9: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/loom/std/unsafe_cell.rs:14:9
  10: tokio::runtime::task::core::Core<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:212:13
  11: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:476:19
  12: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  13: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  14: __rust_try
  15: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  16: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  17: tokio::runtime::task::harness::poll_future
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:464:18
  18: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:198:27
  19: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:152:15
  20: tokio::runtime::task::raw::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:255:5
  21: tokio::runtime::task::raw::RawTask::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:200:18
  22: tokio::runtime::task::LocalNotified<S>::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/mod.rs:394:9
  23: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:464:13
  24: tokio::runtime::coop::with_budget
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/coop.rs:107:5
  25: tokio::runtime::coop::budget
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/coop.rs:73:5
  26: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:463:9
  27: tokio::runtime::scheduler::multi_thread::worker::Context::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:433:24
  28: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:406:17
  29: tokio::macros::scoped_tls::ScopedKey<T>::set
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/macros/scoped_tls.rs:61:9
  30: tokio::runtime::scheduler::multi_thread::worker::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:403:5
  31: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:365:45
  32: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/task.rs:42:21
  33: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:223:17
  34: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/loom/std/unsafe_cell.rs:14:9
  35: tokio::runtime::task::core::Core<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:212:13
  36: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:476:19
  37: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  38: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  39: __rust_try
  40: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  41: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  42: tokio::runtime::task::harness::poll_future
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:464:18
  43: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:198:27
  44: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:152:15
  45: tokio::runtime::task::raw::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:255:5
  46: tokio::runtime::task::raw::2023-06-23T09:40:33.977675Z  INFO tor_dirmgr: Directory is complete. attempt=1
RawTask::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:200:18
  47: tokio::runtime::task::UnownedTask<S>::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/mod.rs:431:9
  48: tokio::runtime2023-06-23T09:40:33.977872Z  INFO tor_dirmgr::bootstrap: 1: Downloading a consensus. attempt=2
::blocking::pool::Task::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:159:9
  49: tokio::runtime::blocking::pool::Inner::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:513:17
  50: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:471:13
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2023-06-23T09:40:33.993659Z DEBUG tor_chanmgr::factory: Attempting to open a new channel to [212.227.206.229:443+ ed25519:jIjMIq4vWLguTzYqVnxZnMg84AY0qdC+oeFKiYfD6Rk $a511f574066cdc228c79ed366007644995136bd8]
2023-06-23T09:40:33.993744Z DEBUG tor_chanmgr::factory: Attempting to open a new channel to [217.160.9.229:443+ ed25519:6lORxW93KRbhHFPNG0g+oBkXZbRnpwBzyfDcta7ed/M $f0c9c07d1b7c6fc8547f52cac1015b4a79e2ac1a]
2023-06-23T09:40:33.995186Z DEBUG tor_chanmgr::transport::default: Connecting to 217.160.9.229:443
2023-06-23T09:40:33.995387Z DEBUG tor_chanmgr::transport::default: Connecting to 212.227.206.229:443
2023-06-23T09:40:34.077810Z DEBUG tor_proto::channel::handshake: Chan 1: starting Tor handshake with Direct([217.160.9.229:443])
2023-06-23T09:40:34.079920Z DEBUG tor_proto::channel::handshake: Chan 2: starting Tor handshake with Direct([212.227.206.229:443])
2023-06-23T09:40:34.150376Z DEBUG tor_proto::channel::handshake: Chan 1: Completed handshake with 6lORxW93KRbhHFPNG0g+oBkXZbRnpwBzyfDcta7ed/M [$f0c9c07d1b7c6fc8547f52cac1015b4a79e2ac1a]
2023-06-23T09:40:34.150780Z DEBUG tor_proto::channel::reactor: UniqId(1): Running reactor
2023-06-23T09:40:34.151040Z DEBUG tor_proto::circuit::reactor: Circ 1.0: Extending to hop 1 with CREATE_FAST
2023-06-23T09:40:34.165601Z DEBUG tor_proto::channel::handshake: Chan 2: Completed handshake with jIjMIq4vWLguTzYqVnxZnMg84AY0qdC+oeFKiYfD6Rk [$a511f574066cdc228c79ed366007644995136bd8]
2023-06-23T09:40:34.166017Z DEBUG tor_proto::channel::reactor: UniqId(2): Running reactor
2023-06-23T09:40:34.166364Z DEBUG tor_proto::circuit::reactor: Circ 2.0: Extending to hop 1 with CREATE_FAST
2023-06-23T09:40:34.166396Z DEBUG tor_proto::circuit::reactor: Circ 2.1: Extending to hop 1 with CREATE_FAST
2023-06-23T09:40:34.240857Z DEBUG tor_proto::circuit::reactor: Circ 1.0: Handshake complete; circuit created.
2023-06-23T09:40:34.242312Z  INFO tor_guardmgr::guard: We have found that guard [scrubbed] is usable.
2023-06-23T09:40:34.244674Z DEBUG arti_client::status: 42%: connecting successfully; directory is fetching authority certificates (8/8)
2023-06-23T09:40:34.257901Z DEBUG tor_proto::circuit::reactor: Circ 2.0: Handshake complete; circuit created.
2023-06-23T09:40:34.257901Z DEBUG tor_proto::circuit::reactor: Circ 2.1: Handshake complete; circuit created.
2023-06-23T09:40:34.259342Z  INFO tor_guardmgr::guard: We have found that guard [scrubbed] is usable.
2023-06-23T09:40:34.264839Z DEBUG arti_client::status: 42%: connecting successfully; directory is fetching authority certificates (8/8)
2023-06-23T09:40:38.678079Z DEBUG tor_dirmgr::state: Consensus now usable, with 798 microdescriptors missing. The current consensus is fresh until 2023-06-23 10:00:00.0 +00:00:00, and valid until 2023-06-23 12:00:00.0 +00:00:00. I've picked 2023-06-23 11:23:14.307427231 +00:00:00 as the earliest time to replace it.
2023-06-23T09:40:38.704470Z DEBUG tor_dirmgr: Got a new NetDir, but it doesn't have enough guards yet.
2023-06-23T09:40:38.704546Z  INFO tor_dirmgr::bootstrap: 1: Downloading microdescriptors (we are missing 772). attempt=2
2023-06-23T09:40:38.706377Z DEBUG arti_client::status: 42%: connecting successfully; directory is fetching authority certificates (8/8); next directory is fetching microdescriptors (6052/6824)
2023-06-23T09:40:39.219068Z DEBUG tor_hsclient::state: HS connection failure: duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion: error: internal error (bug) at /volatile/rustcargo/Rustup/Arti/arti/crates/tor-hsclient/src/state.rs:303:29: hidden service connector task panicked!
Captured(   0: tor_error::internal::ie_backtrace::capture
             at crates/tor-error/src/internal.rs:21:18
   1: tor_error::internal::Bug::new_inner
             at crates/tor-error/src/internal.rs:105:24
   2: tor_error::internal::Bug::new
             at crates/tor-error/src/internal.rs:94:9
   3: tor_hsclient::state::obtain_circuit_or_continuation_info::{{closure}}::{{closure}}
             at crates/tor-hsclient/src/state.rs:303:29
   4: core::result::Result<T,E>::unwrap_or_else
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/result.rs:1464:23
   5: tor_hsclient::state::obtain_circuit_or_continuation_info::{{closure}}
             at crates/tor-hsclient/src/state.rs:298:17
   6: <futures_task::future_obj::LocalFutureObj<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-task-0.3.28/src/future_obj.rs:84:18
   7: <futures_task::future_obj::FutureObj<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-task-0.3.28/src/future_obj.rs:127:9
   8: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:223:17
   9: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/loom/std/unsafe_cell.rs:14:9
  10: tokio::runtime::task::core::Core<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:212:13
  11: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:476:19
  12: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  13: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  14: __rust_try
  15: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  16: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  17: tokio::runtime::task::harness::poll_future
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:464:18
  18: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:198:27
  19: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:152:15
  20: tokio::runtime::task::raw::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:255:5
  21: tokio::runtime::task::raw::RawTask::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:200:18
  22: tokio::runtime::task::LocalNotified<S>::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/mod.rs:394:9
  23: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:487:21
  24: tokio::runtime::coop::with_budget
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/coop.rs:107:5
      tokio::runtime::coop::budget
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/coop.rs:73:5
      tokio::runtime::scheduler::multi_thread::worker::Context::run_task
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:463:9
  25: tokio::runtime::scheduler::multi_thread::worker::Context::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:426:24
  26: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:406:17
  27: tokio::macros::scoped_tls::ScopedKey<T>::set
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/macros/scoped_tls.rs:61:9
  28: tokio::runtime::scheduler::multi_thread::worker::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:403:5
  29: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/scheduler/multi_thread/worker.rs:365:45
  30: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/task.rs:42:21
  31: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:223:17
  32: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/loom/std/unsafe_cell.rs:14:9
  33: tokio::runtime::task::core::Core<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/core.rs:212:13
  34: tokio::runtime::task::harness::poll_future::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:476:19
  35: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  36: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  37: __rust_try
  38: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  39: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  40: tokio::runtime::task::harness::poll_future
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:464:18
  41: tokio::runtime::task::harness::Harness<T,S>::poll_inner
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:198:27
  42: tokio::runtime::task::harness::Harness<T,S>::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/harness.rs:152:15
  43: tokio::runtime::task::raw::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:255:5
  44: tokio::runtime::task::raw::RawTask::poll
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/raw.rs:200:18
  45: tokio::runtime::task::UnownedTask<S>::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/task/mod.rs:431:9
  46: tokio::runtime::blocking::pool::Task::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:159:9
  47: tokio::runtime::blocking::pool::Inner::run
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:513:17
  48: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}
             at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.2/src/runtime/blocking/pool.rs:471:13
  49: std::sys_common::backtrace::__rust_begin_short_backtrace
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/sys_common/backtrace.rs:134:18
  50: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/thread/mod.rs:526:17
  51: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panic/unwind_safe.rs:271:9
  52: std::panicking::try::do_call
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:485:40
  53: __rust_try
  54: std::panicking::try
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:449:19
  55: std::panic::catch_unwind
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panic.rs:140:14
  56: std::thread::Builder::spawn_unchecked_::{{closure}}
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/thread/mod.rs:525:30
  57: core::ops::function::FnOnce::call_once{{vtable.shim}}
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/ops/function.rs:250:5
  58: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/alloc/src/boxed.rs:1973:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/alloc/src/boxed.rs:1973:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/sys/unix/thread.rs:108:17
  59: start_thread
             at /build/glibc-6iIyft/glibc-2.28/nptl/pthread_create.c:486:8
  60: clone
             at /build/glibc-6iIyft/glibc-2.28/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
)
2023-06-23T09:40:39.224602Z  WARN arti::socks: connection exited with error: error: internal error (bug)
2023-06-23T09:40:40.003970Z  INFO tor_dirmgr: Marked consensus usable.
2023-06-23T09:40:40.004122Z DEBUG arti_client::status: 42%: connecting successfully; directory is fetching authority certificates (8/8); next directory is fetching microdescriptors (6824/6824)
2023-06-23T09:40:40.022897Z  INFO tor_dirmgr: Directory is complete. attempt=2
^C
Thread 1 "arti" received signal SIGINT, Interrupt.
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38      ../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or directory.
(gdb)