Created
November 8, 2018 22:42
-
-
Save stepancheg/ae6e6541eb525a1b9750ba7738f78e27 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: ThreadSanitizer: data race (pid=28298) | |
Read of size 8 at 0x7b2000009030 by thread T32: | |
#0 _$LT$futures_channel..mpsc..queue..Queue$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6ca263cc39fadd8c queue.rs:172 (mpsc-22c621302f3d0cb3:x86_64+0x100038970) | |
#1 core::ptr::drop_in_place::h2deddc3643535d3f ptr.rs:194 (mpsc-22c621302f3d0cb3:x86_64+0x10001f8a8) | |
#2 core::ptr::drop_in_place::hb8c0f16a42964511 ptr.rs:194 (mpsc-22c621302f3d0cb3:x86_64+0x10002306c) | |
#3 _$LT$alloc..sync..Arc$LT$T$GT$$GT$::drop_slow::h79802a659643aa5c sync.rs:541 (mpsc-22c621302f3d0cb3:x86_64+0x100086670) | |
#4 _$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::ha9c0b5652212e54d sync.rs:994 (mpsc-22c621302f3d0cb3:x86_64+0x100087c6f) | |
#5 core::ptr::drop_in_place::hb76255f19666d440 ptr.rs:194 (mpsc-22c621302f3d0cb3:x86_64+0x100023018) | |
#6 core::ptr::drop_in_place::h2041ea1c39dc0817 ptr.rs:194 (mpsc-22c621302f3d0cb3:x86_64+0x10001ef5a) | |
#7 mpsc::send_one_two_three::_$u7b$$u7b$closure$u7d$$u7d$::h8ea3eba616aa8ece mpsc.rs:365 (mpsc-22c621302f3d0cb3:x86_64+0x100026aad) | |
#8 _$LT$std..future..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::hb45b6939c5d4a4ab future.rs:46 (mpsc-22c621302f3d0cb3:x86_64+0x1000022fb) | |
#9 std::future::set_task_waker::h63a04d8e82fd2977 future.rs:77 (mpsc-22c621302f3d0cb3:x86_64+0x100001b4c) | |
#10 _$LT$std..future..GenFuture$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::ha3a6ef8b4507adf7 future.rs:46 (mpsc-22c621302f3d0cb3:x86_64+0x100002160) | |
#11 futures_executor::local_pool::LocalPool::run_until::_$u7b$$u7b$closure$u7d$$u7d$::h56d211ece20806bb local_pool.rs:150 (mpsc-22c621302f3d0cb3:x86_64+0x10005474e) | |
#12 futures_executor::local_pool::run_executor::_$u7b$$u7b$closure$u7d$$u7d$::h3e0b2752745f67ba local_pool.rs:73 (mpsc-22c621302f3d0cb3:x86_64+0x10004f25c) | |
#13 _$LT$std..thread..local..LocalKey$LT$T$GT$$GT$::try_with::h7c24208bbb4bccca local.rs:309 (mpsc-22c621302f3d0cb3:x86_64+0x10006ce98) | |
#14 _$LT$std..thread..local..LocalKey$LT$T$GT$$GT$::with::h8f4577ed12026b27 local.rs:255 (mpsc-22c621302f3d0cb3:x86_64+0x10006a798) | |
#15 futures_executor::local_pool::run_executor::hf8c4946018c22a72 local_pool.rs:69 (mpsc-22c621302f3d0cb3:x86_64+0x10004ea97) | |
#16 futures_executor::local_pool::LocalPool::run_until::h815830240af8a38d local_pool.rs:147 (mpsc-22c621302f3d0cb3:x86_64+0x100052b6a) | |
#17 futures_executor::local_pool::block_on::h07039935adc9e7c7 local_pool.rs:212 (mpsc-22c621302f3d0cb3:x86_64+0x100050e21) | |
#18 mpsc::stress_drop_sender::list::_$u7b$$u7b$closure$u7d$$u7d$::h5e8b2fc2bba4de3b mpsc.rs:350 (mpsc-22c621302f3d0cb3:x86_64+0x10002a501) | |
#19 std::sys_common::backtrace::__rust_begin_short_backtrace::h29c63bc238be48ec backtrace.rs:136 (mpsc-22c621302f3d0cb3:x86_64+0x10005fcbd) | |
#20 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h9323daa96b9c894d mod.rs:477 (mpsc-22c621302f3d0cb3:x86_64+0x10003411d) | |
#21 _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h8e64658e0dcd81f5 panic.rs:319 (mpsc-22c621302f3d0cb3:x86_64+0x10001716d) | |
#22 std::panicking::try::do_call::hf9594249a46df6e3 panicking.rs:310 (mpsc-22c621302f3d0cb3:x86_64+0x1000194f9) | |
#23 __rust_maybe_catch_panic lib.rs:102 (mpsc-22c621302f3d0cb3:x86_64+0x10010c50e) | |
#24 std::panic::catch_unwind::hd62396991c4c0f62 panic.rs:398 (mpsc-22c621302f3d0cb3:x86_64+0x10001795d) | |
#25 std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::h023e43c6add8735c mod.rs:476 (mpsc-22c621302f3d0cb3:x86_64+0x1000317cf) | |
#26 _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hc59c345a5f61df98 boxed.rs:672 (mpsc-22c621302f3d0cb3:x86_64+0x100035675) | |
#27 std::sys::unix::thread::Thread::new::thread_start::h15b7a6e0aac618fa thread.rs:24 (mpsc-22c621302f3d0cb3:x86_64+0x10010099b) | |
Previous write of size 8 at 0x7b2000009030 by thread T10: | |
#0 _$LT$futures_channel..mpsc..queue..Queue$LT$T$GT$$GT$::pop::h03f80c519296de24 queue.rs:130 (mpsc-22c621302f3d0cb3:x86_64+0x100036d57) | |
#1 _$LT$futures_channel..mpsc..queue..Queue$LT$T$GT$$GT$::pop_spin::h4a865fd0bfae177b queue.rs:147 (mpsc-22c621302f3d0cb3:x86_64+0x1000381e3) | |
#2 _$LT$futures_channel..mpsc..Receiver$LT$T$GT$$GT$::next_message::h5f6a3613d803e381 mod.rs:812 (mpsc-22c621302f3d0cb3:x86_64+0x1000798c9) | |
#3 _$LT$futures_channel..mpsc..Receiver$LT$T$GT$$u20$as$u20$futures_core..stream..Stream$GT$::poll_next::h4a418dda87323175 mod.rs:885 (mpsc-22c621302f3d0cb3:x86_64+0x10007eaae) | |
#4 _$LT$futures_util..stream..collect..Collect$LT$St$C$$u20$C$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h9e0d9addaf100cb4 collect.rs:52 (mpsc-22c621302f3d0cb3:x86_64+0x10001242a) | |
#5 futures_executor::local_pool::LocalPool::run_until::_$u7b$$u7b$closure$u7d$$u7d$::hb5dc0690c8902fc6 local_pool.rs:150 (mpsc-22c621302f3d0cb3:x86_64+0x100055583) | |
#6 futures_executor::local_pool::run_executor::_$u7b$$u7b$closure$u7d$$u7d$::hf1976c84fdb7146a local_pool.rs:73 (mpsc-22c621302f3d0cb3:x86_64+0x10005076c) | |
#7 _$LT$std..thread..local..LocalKey$LT$T$GT$$GT$::try_with::h2c8c4a8303e506ef local.rs:309 (mpsc-22c621302f3d0cb3:x86_64+0x10006ba69) | |
#8 _$LT$std..thread..local..LocalKey$LT$T$GT$$GT$::with::h2c3fa3836c60af03 local.rs:255 (mpsc-22c621302f3d0cb3:x86_64+0x10006a187) | |
#9 futures_executor::local_pool::run_executor::h8bd4e0ecfa45142e local_pool.rs:69 (mpsc-22c621302f3d0cb3:x86_64+0x10004e079) | |
#10 futures_executor::local_pool::LocalPool::run_until::h82127601b0383610 local_pool.rs:147 (mpsc-22c621302f3d0cb3:x86_64+0x100052ccb) | |
#11 futures_executor::local_pool::block_on::h6e4f0ec8e53d7d5b local_pool.rs:212 (mpsc-22c621302f3d0cb3:x86_64+0x100051bad) | |
#12 mpsc::stress_drop_sender::h4ac1fa08be1f6688 mpsc.rs:356 (mpsc-22c621302f3d0cb3:x86_64+0x100005fa3) | |
#13 mpsc::stress_drop_sender::_$u7b$$u7b$closure$u7d$$u7d$::h376bf5b3843ca9b8 mpsc.rs:346 (mpsc-22c621302f3d0cb3:x86_64+0x10002a474) | |
#14 core::ops::function::FnOnce::call_once::h8e9ca4673bb0b78b function.rs:238 (mpsc-22c621302f3d0cb3:x86_64+0x10001dcc9) | |
#15 _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hcbc28dd46afbca04 boxed.rs:672 (mpsc-22c621302f3d0cb3:x86_64+0x100099041) | |
Location is heap block of size 120 at 0x7b2000009000 allocated by thread T10: | |
#0 malloc <null>:11070784 (lib__rustc__clang_rt.tsan_osx_dynamic.dylib:x86_64+0x2b99a) | |
#1 alloc::alloc::alloc::hb6dc79bde73db39f alloc.rs:78 (mpsc-22c621302f3d0cb3:x86_64+0x10002af4a) | |
#2 alloc::alloc::exchange_malloc::hb7587dd32611e18f alloc.rs:188 (mpsc-22c621302f3d0cb3:x86_64+0x10002ae73) | |
#3 _$LT$alloc..sync..Arc$LT$T$GT$$GT$::new::h9317fc7ebd69ec1b sync.rs:299 (mpsc-22c621302f3d0cb3:x86_64+0x100084794) | |
#4 futures_channel::mpsc::channel2::hf74052e94472d1e9 mod.rs:391 (mpsc-22c621302f3d0cb3:x86_64+0x10007168a) | |
#5 futures_channel::mpsc::channel::h4813459c771e983b mod.rs:372 (mpsc-22c621302f3d0cb3:x86_64+0x1000701b2) | |
#6 mpsc::stress_drop_sender::list::h68476712fcb8f751 mpsc.rs:348 (mpsc-22c621302f3d0cb3:x86_64+0x1000062b5) | |
#7 mpsc::stress_drop_sender::h4ac1fa08be1f6688 mpsc.rs:356 (mpsc-22c621302f3d0cb3:x86_64+0x100005f6e) | |
#8 mpsc::stress_drop_sender::_$u7b$$u7b$closure$u7d$$u7d$::h376bf5b3843ca9b8 mpsc.rs:346 (mpsc-22c621302f3d0cb3:x86_64+0x10002a474) | |
#9 core::ops::function::FnOnce::call_once::h8e9ca4673bb0b78b function.rs:238 (mpsc-22c621302f3d0cb3:x86_64+0x10001dcc9) | |
#10 _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hcbc28dd46afbca04 boxed.rs:672 (mpsc-22c621302f3d0cb3:x86_64+0x100099041) | |
Thread T32 (tid=87252167, running) created by thread T10 at: | |
#0 pthread_create <null>:11070832 (lib__rustc__clang_rt.tsan_osx_dynamic.dylib:x86_64+0x922d) | |
#1 std::sys::unix::thread::Thread::new::h16cc37770e45cfce thread.rs:78 (mpsc-22c621302f3d0cb3:x86_64+0x10010066c) | |
#2 std::thread::Builder::spawn::h8a71c8aceac07789 mod.rs:390 (mpsc-22c621302f3d0cb3:x86_64+0x100034844) | |
#3 std::thread::spawn::h36fb34e455da6093 mod.rs:604 (mpsc-22c621302f3d0cb3:x86_64+0x10002bb32) | |
#4 mpsc::stress_drop_sender::list::h68476712fcb8f751 mpsc.rs:349 (mpsc-22c621302f3d0cb3:x86_64+0x10000636b) | |
#5 mpsc::stress_drop_sender::h4ac1fa08be1f6688 mpsc.rs:356 (mpsc-22c621302f3d0cb3:x86_64+0x100005f6e) | |
#6 mpsc::stress_drop_sender::_$u7b$$u7b$closure$u7d$$u7d$::h376bf5b3843ca9b8 mpsc.rs:346 (mpsc-22c621302f3d0cb3:x86_64+0x10002a474) | |
#7 core::ops::function::FnOnce::call_once::h8e9ca4673bb0b78b function.rs:238 (mpsc-22c621302f3d0cb3:x86_64+0x10001dcc9) | |
#8 _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hcbc28dd46afbca04 boxed.rs:672 (mpsc-22c621302f3d0cb3:x86_64+0x100099041) | |
Thread T10 (tid=87235914, running) created by main thread at: | |
#0 pthread_create <null>:11070832 (lib__rustc__clang_rt.tsan_osx_dynamic.dylib:x86_64+0x922d) | |
#1 std::sys::unix::thread::Thread::new::h16cc37770e45cfce thread.rs:78 (mpsc-22c621302f3d0cb3:x86_64+0x10010066c) | |
#2 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::he0b5781cfccd2523 rt.rs:74 (mpsc-22c621302f3d0cb3:x86_64+0x10004d0c5) | |
#3 std::panicking::try::do_call::h0da535cda11e1451 panicking.rs:310 (mpsc-22c621302f3d0cb3:x86_64+0x1000fe4d7) | |
#4 main <null>:11070832 (mpsc-22c621302f3d0cb3:x86_64+0x100008af0) | |
SUMMARY: ThreadSanitizer: data race queue.rs:172 in _$LT$futures_channel..mpsc..queue..Queue$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6ca263cc39fadd8c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment