Closed fggarcia closed 4 years ago
If you're able, it would be hugely helpful to have a minimal reproduction case.
@robjtede i do this example project. I write it in a few minutes. Sorry for ugly code. README how to run. https://www.github.com/fggarcia/actix-example
thread sanitizer for this example project
WARNING: ThreadSanitizer: data race (pid=240921)
Write of size 8 at 0x7b14000002d0 by thread T1:
#0 free /rustc/llvm/src/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:708:3 (actix-example+0x99d48)
#1 alloc::alloc::dealloc::h69cae1c969dff8b7 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:92:14 (actix-example+0x698e38)
#2 _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..AllocRef$GT$::dealloc::he647163e296231fb /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:225:22 (actix-example+0x69fd67)
#3 _$LT$alloc..sync..Weak$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h70afb5cc8a558b18 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/sync.rs:1910:22 (actix-example+0x7208b5)
#4 core::ptr::drop_in_place::h1992226425b3c9f6 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x6fcd3b)
#5 core::mem::drop::h3f36ac209fde3a82 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/mem/mod.rs:901:24 (actix-example+0x68486f)
#6 alloc::sync::Arc$LT$T$GT$::drop_slow::h93df97ee137ea748 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/sync.rs:937:9 (actix-example+0x7164ab)
#7 _$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h85b425d9896098cb /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/sync.rs:1454:13 (actix-example+0x71fd1e)
#8 core::ptr::drop_in_place::hd9a2abcced33bc11 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x70941b)
#9 core::ptr::drop_in_place::h56d18e7f72b2a44d /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x7008c9)
#10 futures_channel::mpsc::UnboundedReceiver$LT$T$GT$::next_message::ha461d0c01ca1bf19 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-channel-0.3.5/src/mpsc/mod.rs:1164:21 (actix-example+0x69150c)
#11 _$LT$futures_channel..mpsc..UnboundedReceiver$LT$T$GT$$u20$as$u20$futures_core..stream..Stream$GT$::poll_next::ha1083ae0596213be /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-channel-0.3.5/src/mpsc/mod.rs:1195:15 (actix-example+0x6a1b04)
#12 _$LT$actix_server..worker..Worker$u20$as$u20$core..future..future..Future$GT$::poll::h1862ba8d20a78920 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/worker.rs:323:13 (actix-example+0x6aff54)
#13 actix_server::worker::Worker::start::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hb83e815da9712ba1 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/worker.rs:217:21 (actix-example+0x6adc49)
#14 _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb36ed2c02d6a8928 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:79:19 (actix-example+0x67d3c2)
#15 tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::h109fb67483e8907b /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/core.rs:173:17 (actix-example+0x6bfd9c)
#16 tokio::loom::std::unsafe_cell::UnsafeCell$LT$T$GT$::with_mut::h1e9709613fefee8e /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/loom/std/unsafe_cell.rs:14:9 (actix-example+0x71b6bd)
#17 tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::hf0bfaddcd66220dc /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/core.rs:158:13 (actix-example+0x6bfac9)
#18 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::h1c63b9d874513754 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/harness.rs:107:27 (actix-example+0x730f53)
#19 core::ops::function::FnOnce::call_once::hb31fd957beee9cac /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (actix-example+0x6fb01e)
#20 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h377a3ca6e17b100a /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:308:9 (actix-example+0x73789a)
#21 std::panicking::try::do_call::hb47cd91ff91dd80d /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:381:40 (actix-example+0x746b0f)
#22 __rust_try <null> (actix-example+0x74c6cb)
#23 std::panicking::try::hc9b0be25fa040632 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:345:19 (actix-example+0x745654)
#24 std::panic::catch_unwind::h04489bc0fe8c0e81 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:382:14 (actix-example+0x73b28a)
#25 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::h5e38d72431cb8ac8 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/harness.rs:89:19 (actix-example+0x72ee18)
#26 tokio::runtime::task::raw::poll::hea693da461fc9a4c /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/raw.rs:104:5 (actix-example+0x6a82da)
#27 tokio::runtime::task::raw::RawTask::poll::h4f7822353a2a5f12 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/raw.rs:66:18 (actix-example+0x1204487)
#28 tokio::runtime::task::Notified$LT$S$GT$::run::h08b26b8cd4ac515a /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/mod.rs:169:9 (actix-example+0x1212063)
#29 tokio::task::local::LocalSet::tick::_$u7b$$u7b$closure$u7d$$u7d$::h19a84f01f1b9bcbc /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:408:54 (actix-example+0x119292b)
#30 tokio::coop::with_budget::_$u7b$$u7b$closure$u7d$$u7d$::h349d2a4d854f6fbf /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:127:9 (actix-example+0x11a0447)
#31 std::thread::local::LocalKey$LT$T$GT$::try_with::h3c9c65cf69601fae /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:271:16 (actix-example+0x1231d11)
#32 std::thread::local::LocalKey$LT$T$GT$::with::hb111c14e2ef22253 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:247:9 (actix-example+0x12305f8)
#33 tokio::coop::with_budget::hcba36361e5ee6dae /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:120:5 (actix-example+0x1192831)
#34 tokio::coop::budget::h9f95fe1d9d2e21c2 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:96:5 (actix-example+0x1192831)
#35 tokio::task::local::LocalSet::tick::h25112a5436770ec1 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:408:31 (actix-example+0x1192831)
#36 _$LT$tokio..task..local..RunUntil$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::h24b115baf16a3174 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:532:16 (actix-example+0x992f62)
#37 tokio::macros::scoped_tls::ScopedKey$LT$T$GT$::set::he16a8e2c9ef8ffd8 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/macros/scoped_tls.rs:63:9 (actix-example+0x96f372)
#38 tokio::task::local::LocalSet::with::hdb1f74a0f4d9b0a8 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:442:9 (actix-example+0x99052f)
#39 _$LT$tokio..task..local..RunUntil$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h19d851d17a6085d3 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:518:9 (actix-example+0x992aad)
#40 tokio::task::local::LocalSet::run_until::_$u7b$$u7b$closure$u7d$$u7d$::hb4bb575deb5cbc40 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:392:9 (actix-example+0x990d0d)
#41 _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h7b6f233361ec3984 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:79:19 (actix-example+0x982e4c)
#42 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hcab1838565cdc83a /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:131:58 (actix-example+0x9bf522)
#43 tokio::coop::with_budget::_$u7b$$u7b$closure$u7d$$u7d$::hecfc84386485089d /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:127:9 (actix-example+0x9b4e16)
#44 std::thread::local::LocalKey$LT$T$GT$::try_with::haeedc23c9ba9916b /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:271:16 (actix-example+0x9bac25)
#45 std::thread::local::LocalKey$LT$T$GT$::with::hdff183565f5e66e9 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:247:9 (actix-example+0x9b7858)
#46 tokio::coop::with_budget::hb1289aacf0fdbc70 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:120:5 (actix-example+0x9bea9e)
#47 tokio::coop::budget::h3159eac2c1189257 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:96:5 (actix-example+0x9bea9e)
#48 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::_$u7b$$u7b$closure$u7d$$u7d$::h8c8cf13d09207ad5 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:131:35 (actix-example+0x9bea9e)
#49 tokio::runtime::basic_scheduler::enter::_$u7b$$u7b$closure$u7d$$u7d$::h592d5774b8b6c308 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:213:29 (actix-example+0x9c025c)
#50 tokio::macros::scoped_tls::ScopedKey$LT$T$GT$::set::h5b592c65128c38db /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/macros/scoped_tls.rs:63:9 (actix-example+0x96efb2)
#51 tokio::runtime::basic_scheduler::enter::h09ea135beb3f9bad /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:213:5 (actix-example+0x9bfb5e)
#52 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::h1b08d9bf174f919d /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:123:9 (actix-example+0x9bdc48)
#53 tokio::runtime::Runtime::block_on::_$u7b$$u7b$closure$u7d$$u7d$::ha18013a046612fdb /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/mod.rs:444:34 (actix-example+0x9915b1)
#54 tokio::runtime::context::enter::h49bf1a9d06052fec /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/context.rs:72:5 (actix-example+0x991853)
#55 tokio::runtime::handle::Handle::enter::h069484fdd3da80d9 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/handle.rs:76:9 (actix-example+0x9b5799)
#56 tokio::runtime::Runtime::block_on::h3a42c23cae5ae0d2 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/mod.rs:441:9 (actix-example+0x990f9a)
#57 tokio::task::local::LocalSet::block_on::h25bffda46d46c7bd /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:353:9 (actix-example+0x9905e0)
#58 actix_rt::runtime::Runtime::block_on::hac1dc57f167e7173 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.1/src/runtime.rs:89:9 (actix-example+0x993cb0)
#59 actix_rt::arbiter::Arbiter::new::_$u7b$$u7b$closure$u7d$$u7d$::h35723da5b6c0bed2 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.1/src/arbiter.rs:137:31 (actix-example+0x98829a)
#60 std::sys_common::backtrace::__rust_begin_short_backtrace::he70c5b889c9fd28d /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18 (actix-example+0x9a7bb6)
#61 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3e7450a2a5b207d8 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:461:17 (actix-example+0x97269a)
#62 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hce7c66005d5a3961 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:308:9 (actix-example+0x9a79da)
#63 std::panicking::try::do_call::h23ec0dddce90fddb /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:381:40 (actix-example+0x9c4639)
#64 __rust_try <null> (actix-example+0x9c823b)
#65 std::panicking::try::h20d77b644e16dfb2 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:345:19 (actix-example+0x9c34d7)
#66 std::panic::catch_unwind::h8a39ae2305d5dd83 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:382:14 (actix-example+0x9a7e0a)
#67 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h99627e846098ec13 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:460:30 (actix-example+0x972436)
#68 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h97885c1d6431dbf6 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (actix-example+0x9ac67b)
#69 _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h462e787c72080422 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/alloc/src/boxed.rs:1042:9 (actix-example+0x13cf7f9)
#70 _$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::hd438caf7b24ea9a1 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/alloc/src/boxed.rs:1042:9 (actix-example+0x13cf7f9)
#71 std::sys::unix::thread::Thread::new::thread_start::h653bd369f002a164 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/sys/unix/thread.rs:87:17 (actix-example+0x13cf7f9)
Previous atomic write of size 8 at 0x7b14000002d0 by main thread:
#0 __tsan_atomic64_fetch_sub /rustc/llvm/src/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp:647:3 (actix-example+0xde391)
#1 core::sync::atomic::atomic_sub::hfc48c5fe4a3ccbcd /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:2282:24 (actix-example+0x1302f75)
#2 core::sync::atomic::AtomicUsize::fetch_sub::h1b9916612cbfda2d /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:1633:30 (actix-example+0x710d79)
#3 _$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h85b425d9896098cb /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/sync.rs:1419:12 (actix-example+0x71fcdd)
#4 core::ptr::drop_in_place::hd9a2abcced33bc11 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x70941b)
#5 core::ptr::drop_in_place::hc528c4235fbc5421 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x7077b2)
#6 core::ptr::drop_in_place::h266cec611682b9e6 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x6fd9b9)
#7 core::ptr::drop_in_place::hcb5b3d85ad190fad /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x707e0b)
#8 core::ptr::drop_in_place::hf8766700a3faa88a /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x70aec9)
#9 core::ptr::drop_in_place::h1f80eaa070e4d525 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x6fd1ff)
#10 core::ptr::drop_in_place::hbed43214e847830f /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x706eda)
#11 _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::ha9f099bf3862ec8b /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec.rs:2635:13 (actix-example+0x65a91b)
#12 core::ptr::drop_in_place::h3405047174d259f8 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x6fe83b)
#13 core::ptr::drop_in_place::h44e488df05aa2a58 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x6ffd2f)
#14 core::ptr::drop_in_place::ha825c4ed05637a49 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x705867)
#15 tokio::runtime::task::core::Core$LT$T$C$S$GT$::drop_future_or_output::_$u7b$$u7b$closure$u7d$$u7d$::h292c09c5f942b468 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/core.rs:192:22 (actix-example+0x6bea9d)
#16 tokio::loom::std::unsafe_cell::UnsafeCell$LT$T$GT$::with_mut::h9705f731ccda033f /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/loom/std/unsafe_cell.rs:14:9 (actix-example+0x71daf9)
#17 tokio::runtime::task::core::Core$LT$T$C$S$GT$::drop_future_or_output::h8bb24447ee199524 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/core.rs:190:9 (actix-example+0x6be8af)
#18 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::cancel_task::_$u7b$$u7b$closure$u7d$$u7d$::h2f301d66542db5b0 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/harness.rs:293:13 (actix-example+0x7237ef)
#19 core::ops::function::FnOnce::call_once::heccca5564d6aca6d /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (actix-example+0x6fb3bf)
#20 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h1fddaff041357ca8 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:308:9 (actix-example+0x73772b)
#21 std::panicking::try::do_call::h518088f3edb62332 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:381:40 (actix-example+0x74610e)
#22 __rust_try <null> (actix-example+0x74c6cb)
#23 std::panicking::try::hff219df880d95c52 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:345:19 (actix-example+0x745c5c)
#24 std::panic::catch_unwind::h4cdfd4c07c12237f /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:382:14 (actix-example+0x73b3cb)
#25 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::cancel_task::h6a2208cd5e3642a8 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/harness.rs:292:19 (actix-example+0x722615)
#26 tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::shutdown::h499f6eeee1e86b36 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/harness.rs:285:9 (actix-example+0x7368d0)
#27 tokio::runtime::task::raw::shutdown::h260155a3a9955ff2 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/raw.rs:130:5 (actix-example+0x6a98ca)
#28 tokio::runtime::task::raw::RawTask::shutdown::h240f9122227e339d /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/raw.rs:90:18 (actix-example+0x12047df)
#29 tokio::runtime::task::Task$LT$S$GT$::shutdown::h7c5ea5cc05a344ba /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/task/mod.rs:162:9 (actix-example+0x1211f68)
#30 _$LT$tokio..task..local..LocalSet$u20$as$u20$core..ops..drop..Drop$GT$::drop::_$u7b$$u7b$closure$u7d$$u7d$::h4341da9fbe3590ba /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:494:17 (actix-example+0x11932e7)
#31 tokio::macros::scoped_tls::ScopedKey$LT$T$GT$::set::h585e9326d31b3531 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/macros/scoped_tls.rs:63:9 (actix-example+0x119ecbc)
#32 tokio::task::local::LocalSet::with::hb616ba85a40aa8d6 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:442:9 (actix-example+0x1192fef)
#33 _$LT$tokio..task..local..LocalSet$u20$as$u20$core..ops..drop..Drop$GT$::drop::h159305115a3a2ef2 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:484:9 (actix-example+0x1193078)
#34 core::ptr::drop_in_place::hb5cea8441e56dd54 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x9b105b)
#35 core::ptr::drop_in_place::hb4bd5bdbf7e39bc7 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x9b0f9b)
#36 core::ptr::drop_in_place::h0e5d2f8f45d80b8d /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:175:1 (actix-example+0x25767b)
#37 actix_example::main::h244ba57a5a1a7a29 /home/fede/IdeaProjects/actix-example/src/main.rs:36:17 (actix-example+0x1e42ee)
#38 core::ops::function::FnOnce::call_once::hf6b2bfb9d1ac6ec4 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (actix-example+0x255933)
#39 std::sys_common::backtrace::__rust_begin_short_backtrace::h970e95cc59f2f480 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18 (actix-example+0x1e3dd9)
#40 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h5377ab51faec4a74 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:66:18 (actix-example+0x2ad749)
#41 core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h009d20b8a620bf60 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/core/src/ops/function.rs:259:13 (actix-example+0x13cbe00)
#42 std::panicking::try::do_call::h09431c39e2107c90 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/panicking.rs:381:40 (actix-example+0x13cbe00)
#43 std::panicking::try::he27cf60b958af343 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/panicking.rs:345:19 (actix-example+0x13cbe00)
#44 std::panic::catch_unwind::h7b646b0041dc5591 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/panic.rs:382:14 (actix-example+0x13cbe00)
#45 std::rt::lang_start_internal::hdad6c98af1e4747e /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/rt.rs:51:25 (actix-example+0x13cbe00)
#46 main <null> (actix-example+0x1e4387)
Thread T1 'actix-rt:worker' (tid=246478, running) created by main thread at:
#0 pthread_create /rustc/llvm/src/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:966:3 (actix-example+0x9acab)
#1 std::sys::unix::thread::Thread::new::h3c425fbab019e079 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/sys/unix/thread.rs:66:19 (actix-example+0x13cf52c)
#2 std::thread::Builder::spawn::hfa2465037bc6ff33 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:376:18 (actix-example+0x97275a)
#3 actix_rt::arbiter::Arbiter::new::h813c8d3996f55a9a /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.1/src/arbiter.rs:112:22 (actix-example+0x9878c8)
#4 actix_server::worker::Worker::start::hac32f54933f94542 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/worker.rs:173:9 (actix-example+0x6ac0ea)
#5 actix_server::builder::ServerBuilder::start_worker::h2e8ca60ec1c2722c /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/builder.rs:304:9 (actix-example+0x6c67de)
#6 actix_server::builder::ServerBuilder::run::_$u7b$$u7b$closure$u7d$$u7d$::ha559a247cbd0a591 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/builder.rs:268:34 (actix-example+0x6c63cb)
#7 core::iter::adapters::map_fold::_$u7b$$u7b$closure$u7d$$u7d$::h86807781d01dbf7f /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/mod.rs:895:28 (actix-example+0x67853f)
#8 core::iter::traits::iterator::Iterator::fold::h5164f648220111e7 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1988:21 (actix-example+0x742065)
#9 _$LT$core..iter..adapters..Map$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::fold::hfbdd17e4c678b747 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/mod.rs:935:9 (actix-example+0x67dfbf)
#10 core::iter::traits::iterator::Iterator::for_each::h8ad066a4fe7a9029 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:645:9 (actix-example+0x6766f2)
#11 _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$I$GT$$GT$::spec_extend::hd3d9fe938b07e5fb /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec.rs:2377:17 (actix-example+0x65cfb7)
#12 _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecFromIterNested$LT$T$C$I$GT$$GT$::from_iter::h406e8847fe36baf1 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec.rs:2149:9 (actix-example+0x663623)
#13 _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecFromIter$LT$T$C$I$GT$$GT$::from_iter::he2fbec51dbe151f6 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec.rs:2159:9 (actix-example+0x65f2c6)
#14 _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..iter..traits..collect..FromIterator$LT$T$GT$$GT$::from_iter::h90ad434d98c55636 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec.rs:1998:9 (actix-example+0x66427d)
#15 core::iter::traits::iterator::Iterator::collect::h9e3fe36df624410c /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1637:9 (actix-example+0x676246)
#16 actix_server::builder::ServerBuilder::run::h229290ef723821b9 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/builder.rs:266:27 (actix-example+0x6c5c9a)
#17 actix_server::builder::ServerBuilder::start::h9b4664ce13be6162 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-server-1.0.4/src/builder.rs:255:9 (actix-example+0x6c58fa)
#18 actix_web::server::HttpServer$LT$F$C$I$C$S$C$B$GT$::run::h161450ca74a1084f /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-web-3.0.2/src/server.rs:556:9 (actix-example+0x1c1291)
#19 actix_example::main::_$u7b$$u7b$closure$u7d$$u7d$::hcde0a939aa3e44df /home/fede/IdeaProjects/actix-example/src/main.rs:66:5 (actix-example+0x1d1ca6)
#20 _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h6fe0ee3648155ec7 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:79:19 (actix-example+0x2fa0a8)
#21 _$LT$tokio..task..local..RunUntil$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hee07648fc5c8a0f0 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:528:65 (actix-example+0x137aca)
#22 tokio::coop::with_budget::_$u7b$$u7b$closure$u7d$$u7d$::h2987fcb7c058d253 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:127:9 (actix-example+0x15bbb4)
#23 std::thread::local::LocalKey$LT$T$GT$::try_with::h452c0ff41e6a3d7e /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:271:16 (actix-example+0x174bd3)
#24 std::thread::local::LocalKey$LT$T$GT$::with::h1f124c113e6f1183 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:247:9 (actix-example+0x172986)
#25 tokio::coop::with_budget::h13fe2281a2b1fe3e /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:120:5 (actix-example+0x137884)
#26 tokio::coop::budget::h9246948f532cf2cd /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:96:5 (actix-example+0x137884)
#27 _$LT$tokio..task..local..RunUntil$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::hdd1714242c3b6bca /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:528:42 (actix-example+0x137884)
#28 tokio::macros::scoped_tls::ScopedKey$LT$T$GT$::set::hf0ce7055f05644da /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/macros/scoped_tls.rs:63:9 (actix-example+0x23d2bc)
#29 tokio::task::local::LocalSet::with::h6da20df80e802a54 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:442:9 (actix-example+0x136edd)
#30 _$LT$tokio..task..local..RunUntil$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hea054030e8e34529 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:518:9 (actix-example+0x1375c7)
#31 tokio::task::local::LocalSet::run_until::_$u7b$$u7b$closure$u7d$$u7d$::hbea4b0bd9079ee5c /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:392:9 (actix-example+0x13731d)
#32 _$LT$core..future..from_generator..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hd1755221e7af20b9 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/mod.rs:79:19 (actix-example+0x2fcc48)
#33 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h1e81ed746bac1bed /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:131:58 (actix-example+0x36cffc)
#34 tokio::coop::with_budget::_$u7b$$u7b$closure$u7d$$u7d$::h616d931032a1514e /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:127:9 (actix-example+0x15bd84)
#35 std::thread::local::LocalKey$LT$T$GT$::try_with::hf6bb0876f12cf001 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:271:16 (actix-example+0x176bd3)
#36 std::thread::local::LocalKey$LT$T$GT$::with::hd87df1e196f0949c /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:247:9 (actix-example+0x1737b6)
#37 tokio::coop::with_budget::h859262687bbe7664 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:120:5 (actix-example+0x36c7c1)
#38 tokio::coop::budget::h7554ead224117bb9 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/coop.rs:96:5 (actix-example+0x36c7c1)
#39 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::_$u7b$$u7b$closure$u7d$$u7d$::h9be3ad14cbec0dca /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:131:35 (actix-example+0x36c7c1)
#40 tokio::runtime::basic_scheduler::enter::_$u7b$$u7b$closure$u7d$$u7d$::h59b954527a929e53 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:213:29 (actix-example+0x36d76c)
#41 tokio::macros::scoped_tls::ScopedKey$LT$T$GT$::set::h160af5b3492ef4d3 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/macros/scoped_tls.rs:63:9 (actix-example+0x23d0cc)
#42 tokio::runtime::basic_scheduler::enter::hcb1f6554e5294c5b /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:213:5 (actix-example+0x36d575)
#43 tokio::runtime::basic_scheduler::BasicScheduler$LT$P$GT$::block_on::hbbcee9f80d79c2e8 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/basic_scheduler.rs:123:9 (actix-example+0x36c44f)
#44 tokio::runtime::Runtime::block_on::_$u7b$$u7b$closure$u7d$$u7d$::hf3cec2882643dd39 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/mod.rs:444:34 (actix-example+0x35bb25)
#45 tokio::runtime::context::enter::hce29e2101fe55ea0 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/context.rs:72:5 (actix-example+0x1b145d)
#46 tokio::runtime::handle::Handle::enter::h032e0cda58408c79 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/handle.rs:76:9 (actix-example+0x171fb7)
#47 tokio::runtime::Runtime::block_on::h6c336eff70280e78 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/runtime/mod.rs:441:9 (actix-example+0x35b888)
#48 tokio::task::local::LocalSet::block_on::h4ff6781ef742ece3 /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/task/local.rs:353:9 (actix-example+0x136fbc)
#49 actix_rt::runtime::Runtime::block_on::h3f7e781cd48f76dc /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.1/src/runtime.rs:89:9 (actix-example+0x1f01ed)
#50 actix_rt::builder::SystemRunner::block_on::hf3f631b83c19b0ca /home/fede/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.1/src/builder.rs:187:19 (actix-example+0x2ab89d)
#51 actix_example::main::h244ba57a5a1a7a29 /home/fede/IdeaProjects/actix-example/src/main.rs:36:1 (actix-example+0x1e42d4)
#52 core::ops::function::FnOnce::call_once::hf6b2bfb9d1ac6ec4 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5 (actix-example+0x255933)
#53 std::sys_common::backtrace::__rust_begin_short_backtrace::h970e95cc59f2f480 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18 (actix-example+0x1e3dd9)
#54 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h5377ab51faec4a74 /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:66:18 (actix-example+0x2ad749)
#55 core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h009d20b8a620bf60 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/core/src/ops/function.rs:259:13 (actix-example+0x13cbe00)
#56 std::panicking::try::do_call::h09431c39e2107c90 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/panicking.rs:381:40 (actix-example+0x13cbe00)
#57 std::panicking::try::he27cf60b958af343 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/panicking.rs:345:19 (actix-example+0x13cbe00)
#58 std::panic::catch_unwind::h7b646b0041dc5591 /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/panic.rs:382:14 (actix-example+0x13cbe00)
#59 std::rt::lang_start_internal::hdad6c98af1e4747e /rustc/6af1bdda54abc9e919fc1137411dfc4311e05649/library/std/src/rt.rs:51:25 (actix-example+0x13cbe00)
#60 main <null> (actix-example+0x1e4387)
SUMMARY: ThreadSanitizer: data race /home/fede/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:92:14 in alloc::alloc::dealloc::h69cae1c969dff8b7
==================
ThreadSanitizer: reported 17 warnings
doing a research.... I find that the problem is bb8 used into cdrs. I will close the issue. Thank you so much @robjtede. Sorry for open a issue in actix
No problem @fggarcia feel free to drop some helpful details here if you like to help any wanderers from the future :)
Hi. I have an app that after some times, some workers hang. (in example below, only one worker on performance test).
I try to understand what it is happening. Not all instances have the same problem at the same time.
I run the app with flag RUSTFLAGS="-Zsanitizer=thread" and a thread data race has occurred. This the Sanitizer output.
Probably thre is an issue in my code.