Skip to content

Instantly share code, notes, and snippets.

@mexus
Created May 7, 2017 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mexus/08e2694758e4b1a2833dcbb415971c0b to your computer and use it in GitHub Desktop.
Save mexus/08e2694758e4b1a2833dcbb415971c0b to your computer and use it in GitHub Desktop.
Hellgrind output
==7492== Helgrind, a thread error detector
==7492== Copyright (C) 2007-2015, and GNU GPL'd, by OpenWorks LLP et al.
==7492== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==7492== Command: ./target/release/test-threadpool
==7492==
==7492== ---Thread-Announcement------------------------------------------
==7492==
==7492== Thread #1 is the program's root thread
==7492==
==7492== ---Thread-Announcement------------------------------------------
==7492==
==7492== Thread #2 was created
==7492== at 0x576B53E: clone (in /usr/lib/libc-2.25.so)
==7492== by 0x5250061: create_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x5251A89: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.25.so)
==7492== by 0x4C31F17: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x128A17: std::sys::imp::thread::Thread::new::h5369c6a4c47d11f1 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D8F5: threadpool::spawn_in_pool::h4abfe2bfcef93f19 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D431: threadpool::ThreadPool::new_pool::h01acb51d72d36420 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D100: threadpool::ThreadPool::new::hf682bc0ef0983a0b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x114D12: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x6217060 was first observed
==7492== at 0x4C3341A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x11D23D: threadpool::ThreadPool::new_pool::h01acb51d72d36420 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D100: threadpool::ThreadPool::new::hf682bc0ef0983a0b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x114D12: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x6217060 is in a rw- anonymous segment
==7492==
==7492== Possible data race during read of size 1 at 0x680D018 by thread #1
==7492== Locks held: none
==7492== at 0x12394D: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1156A5: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 1 by thread #2
==7492== Locks held: 1, at address 0x6217060
==7492== at 0x1238F4: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x119032: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x680d018 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x6217060 was first observed
==7492== at 0x4C3341A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x11D23D: threadpool::ThreadPool::new_pool::h01acb51d72d36420 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D100: threadpool::ThreadPool::new::hf682bc0ef0983a0b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x114D12: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x6217060 is in a rw- anonymous segment
==7492==
==7492== Possible data race during read of size 8 at 0x680D010 by thread #1
==7492== Locks held: none
==7492== at 0x11FF8F: std::thread::Thread::unpark::h19538bcb48ecab75 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x123964: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1156A5: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: 1, at address 0x6217060
==7492== at 0x1238F0: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x119032: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x680d010 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during write of size 8 at 0x6221040 by thread #2
==7492== Locks held: none
==7492== at 0x10FD5C: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous read of size 8 by thread #1
==7492== Locks held: none
==7492== at 0x1104EA: _$LT$std..sync..mpsc..shared..Packet$LT$T$GT$$GT$::try_recv::h43628d628381b4a6 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x116085: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x6221040 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 1 at 0x621F0D8 by thread #2
==7492== Locks held: none
==7492== at 0x12394D: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x10FEE9: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 1 by thread #1
==7492== Locks held: none
==7492== at 0x1238F4: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1160A1: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0d8 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 4 at 0x621F0D0 by thread #2
==7492== Locks held: none
==7492== at 0x11FF8F: std::thread::Thread::unpark::h19538bcb48ecab75 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x123964: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x10FEE9: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 4 by thread #1
==7492== Locks held: none
==7492== at 0x1238F0: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1160A1: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0d0 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 2 at 0x621F0D4 by thread #2
==7492== Locks held: none
==7492== at 0x11FF8F: std::thread::Thread::unpark::h19538bcb48ecab75 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x123964: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x10FEE9: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 2 by thread #1
==7492== Locks held: none
==7492== at 0x1238F0: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1160A1: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0d4 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 1 at 0x621F0D6 by thread #2
==7492== Locks held: none
==7492== at 0x11FF8F: std::thread::Thread::unpark::h19538bcb48ecab75 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x123964: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x10FEE9: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 1 by thread #1
==7492== Locks held: none
==7492== at 0x1238F0: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1160A1: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0d6 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 8 at 0x680E000 by thread #1
==7492== Locks held: none
==7492== at 0x1104EA: _$LT$std..sync..mpsc..shared..Packet$LT$T$GT$$GT$::try_recv::h43628d628381b4a6 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x116085: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: none
==7492== at 0x10FD5C: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x680e000 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 4 at 0x6221058 by thread #1
==7492== Locks held: none
==7492== at 0x110500: _$LT$std..sync..mpsc..shared..Packet$LT$T$GT$$GT$::try_recv::h43628d628381b4a6 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x116085: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: none
==7492== at 0x10FD52: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x6221058 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 4 at 0x6221058 by thread #1
==7492== Locks held: none
==7492== at 0x11050A: _$LT$std..sync..mpsc..shared..Packet$LT$T$GT$$GT$::try_recv::h43628d628381b4a6 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x116085: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: none
==7492== at 0x10FD52: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x6221058 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during write of size 4 at 0x6221058 by thread #1
==7492== Locks held: none
==7492== at 0x11050E: _$LT$std..sync..mpsc..shared..Packet$LT$T$GT$$GT$::try_recv::h43628d628381b4a6 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x116085: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: none
==7492== at 0x10FD52: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x6221058 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x390310 was first observed
==7492== at 0x4C2F51C: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x121189: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x390310 is 0 bytes inside data symbol "_ZN3std2io5stdio6stdout8INSTANCE17h0520680a404db59aE"
==7492==
==7492== Lock at 0x390560 was first observed
==7492== at 0x4C2F51C: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x12413C: std::sys_common::at_exit_imp::push::h2fde87c2a934882c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1211D7: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x390560 is 0 bytes inside data symbol "_ZN3std10sys_common11at_exit_imp4LOCK17h1c6721d977cab31aE"
==7492==
==7492== Possible data race during write of size 1 at 0x621F0C0 by thread #1
==7492== Locks held: 2, at addresses 0x390310 0x390560
==7492== at 0x124194: std::sys_common::at_exit_imp::push::h2fde87c2a934882c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1211D7: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous read of size 1 by thread #2
==7492== Locks held: none
==7492== at 0x10FEF6: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0c0 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x390310 was first observed
==7492== at 0x4C2F51C: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x121189: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x390310 is 0 bytes inside data symbol "_ZN3std2io5stdio6stdout8INSTANCE17h0520680a404db59aE"
==7492==
==7492== Lock at 0x390560 was first observed
==7492== at 0x4C2F51C: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x12413C: std::sys_common::at_exit_imp::push::h2fde87c2a934882c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1211D7: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x390560 is 0 bytes inside data symbol "_ZN3std10sys_common11at_exit_imp4LOCK17h1c6721d977cab31aE"
==7492==
==7492== Possible data race during write of size 2 at 0x621F0C2 by thread #1
==7492== Locks held: 2, at addresses 0x390310 0x390560
==7492== at 0x124194: std::sys_common::at_exit_imp::push::h2fde87c2a934882c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1211D7: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous read of size 2 by thread #2
==7492== Locks held: none
==7492== at 0x10FEF6: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0c2 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x390310 was first observed
==7492== at 0x4C2F51C: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x121189: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x390310 is 0 bytes inside data symbol "_ZN3std2io5stdio6stdout8INSTANCE17h0520680a404db59aE"
==7492==
==7492== Lock at 0x390560 was first observed
==7492== at 0x4C2F51C: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x12413C: std::sys_common::at_exit_imp::push::h2fde87c2a934882c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1211D7: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x390560 is 0 bytes inside data symbol "_ZN3std10sys_common11at_exit_imp4LOCK17h1c6721d977cab31aE"
==7492==
==7492== Possible data race during write of size 4 at 0x621F0C4 by thread #1
==7492== Locks held: 2, at addresses 0x390310 0x390560
==7492== at 0x124194: std::sys_common::at_exit_imp::push::h2fde87c2a934882c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1211D7: std::io::stdio::stdout::h54c00959cb5db39f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x121CFE: std::io::stdio::_print::hc09fc17ab641ac47 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1166B9: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous read of size 4 by thread #2
==7492== Locks held: none
==7492== at 0x10FEF6: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x621f0c4 is in a rw- anonymous segment
==7492==
8
==7492== ----------------------------------------------------------------
==7492==
==7492== Possible data race during read of size 8 at 0x62210B0 by thread #1
==7492== Locks held: none
==7492== at 0x112510: drop::h4c471023ff2699c2 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x10F012: _$LT$alloc..arc..Arc$LT$T$GT$$GT$::drop_slow::h5e18ee791514467d (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x112B29: drop::h82181688fc4cdc98 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11679E: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: none
==7492== at 0x10FD47: _$LT$F$u20$as$u20$threadpool..FnBox$GT$::call_box::h6ae3c8e64f08c425 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1189C3: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x62210b0 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x6217060 was first observed
==7492== at 0x4C3341A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x11D23D: threadpool::ThreadPool::new_pool::h01acb51d72d36420 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D100: threadpool::ThreadPool::new::hf682bc0ef0983a0b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x114D12: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x6217060 is in a rw- anonymous segment
==7492==
==7492== Possible data race during read of size 1 at 0x680D018 by thread #1
==7492== Locks held: none
==7492== at 0x12394D: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x112092: drop::h05ad0f41dd3aac2d (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1123DA: drop::h38488f437753d59b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1167AB: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 1 by thread #2
==7492== Locks held: 1, at address 0x6217060
==7492== at 0x1238F4: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x118F66: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x680d018 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Lock at 0x6217060 was first observed
==7492== at 0x4C3341A: pthread_mutex_init (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x11D23D: threadpool::ThreadPool::new_pool::h01acb51d72d36420 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11D100: threadpool::ThreadPool::new::hf682bc0ef0983a0b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x114D12: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492== Address 0x6217060 is in a rw- anonymous segment
==7492==
==7492== Possible data race during read of size 8 at 0x680D010 by thread #1
==7492== Locks held: none
==7492== at 0x11FF8F: std::thread::Thread::unpark::h19538bcb48ecab75 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x123964: std::sync::mpsc::blocking::SignalToken::signal::h2ccf165c20882087 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x112092: drop::h05ad0f41dd3aac2d (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1123DA: drop::h38488f437753d59b (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x1167AB: test_threadpool::main::h64934e6b5033e7d8 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x129B05: std::panicking::try::do_call::h7842cdc5d2598e69 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12A441: std::rt::lang_start::h048f4a3009fcb57f (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x569F510: (below main) (in /usr/lib/libc-2.25.so)
==7492==
==7492== This conflicts with a previous write of size 8 by thread #2
==7492== Locks held: 1, at address 0x6217060
==7492== at 0x1238F0: std::sync::mpsc::blocking::tokens::h06cc59c561497f29 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x118F66: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492== Address 0x680d010 is in a rw- anonymous segment
==7492==
==7492== ----------------------------------------------------------------
==7492==
==7492== Thread #2: Exiting thread still holds 1 lock
==7492== at 0x5257756: pthread_cond_wait@@GLIBC_2.3.2 (in /usr/lib/libpthread-2.25.so)
==7492== by 0x4C322B3: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x11FB08: std::thread::park::ha0196bee0960d314 (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x12399F: std::sync::mpsc::blocking::WaitToken::wait::hbc116f2864a5ec6e (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x119236: std::panicking::try::do_call::hf28670408eb14eeb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x131B6A: __rust_maybe_catch_panic (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x11BE60: _$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$::call_box::hf78418426275bebb (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x128D75: std::sys::imp::thread::Thread::new::thread_start::h7d88704a3caef93c (in /home/mexus/devel/fantlab/target/release/test-threadpool)
==7492== by 0x4C32116: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==7492== by 0x52512E6: start_thread (in /usr/lib/libpthread-2.25.so)
==7492== by 0x576B54E: clone (in /usr/lib/libc-2.25.so)
==7492==
==7492==
==7492== For counts of detected and suppressed errors, rerun with: -v
==7492== Use --history-level=approx or =none to gain increased speed, at
==7492== the cost of reduced accuracy of conflicting-access information
==7492== ERROR SUMMARY: 58 errors from 18 contexts (suppressed: 95 from 56)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment