We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiphread
if(m_map.find(w,task.key)) { if(w->second.iter!=m_list.end()) // TKey key = *(task.iter); m_list.splice(m_list.begin(),m_list,w->second.iter); //w.release(); }
==41355==ERROR: AddressSanitizer: SEGV on unknown address 0x000000003228 (pc 0x0001010f6ad3 bp 0x70000beff620 sp 0x70000beff520 T5) ==41355==The signal is caused by a READ memory access. #0 0x1010f6ad3 in tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex* std::__1::__cxx_atomic_load<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex>(std::__1::__cxx_atomic_base_impl<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex> const*, std::__1::memory_order) atomic:1003 #1 0x1010f62dd in std::__1::__atomic_base<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex, false>::load(std::__1::memory_order) const atomic:1607 #2 0x101177f3c in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::bucket_accessor::acquire(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >, unsigned long, bool) concurrent_hash_map.h:705 #3 0x101177e46 in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::bucket_accessor::bucket_accessor(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >, unsigned long, bool) concurrent_hash_map.h:700 #4 0x101176d12 in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::bucket_accessor::bucket_accessor(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >, unsigned long, bool) concurrent_hash_map.h:700 #5 0x101176784 in bool tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::lookup<false, int, tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::node* ()(tbb::detail::d1::tbb_allocator<tbb::detail::d2::hash_map_base<tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> >, tbb::detail::d1::spin_rw_mutex>::bucket>&, int const&, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data const)>(int const&, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data const*, tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::const_accessor*, bool, tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::node* ()(tbb::detail::d1::tbb_allocator<tbb::detail::d2::hash_map_base<tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> >, tbb::detail::d1::spin_rw_mutex>::bucket>&, int const&, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data const), tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::node*) concurrent_hash_map.h:1289 #6 0x1011761d4 in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::find(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::accessor&, int const&) concurrent_hash_map.h:1114 #7 0x101170bab in cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::performTask() LRUManualCacheBuffer.h:351 #8 0x101173e8f in decltype((std::__1::forward<cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >>(fp0)).fp()) std::__1::__invoke<void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, void>(void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::&&)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >&&) type_traits:3688 #9 0x101173d3d in void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, 2ul>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >>&, std::__1::__tuple_indices<2ul>) thread:280 #10 0x1011734be in void std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >> >(void*) thread:291 #11 0x7fff204558fb in _pthread_start+0xdf (libsystem_pthread.dylib:x86_64+0x68fb) #12 0x7fff20451442 in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x2442)
==41355==Register values: rax = 0x0000000000003228 rbx = 0x000070000beff560 rcx = 0x0000100000000000 rdx = 0x000070000beff520 rdi = 0x0000000000000002 rsi = 0x0000000000003228 rbp = 0x000070000beff620 rsp = 0x000070000beff520 r8 = 0x00000000ffffffff r9 = 0x00007ffeeeb421f8 r10 = 0x000070000beffa04 r11 = 0x0000000000000000 r12 = 0x000070000beffb40 r13 = 0x000070000beffb80 r14 = 0x00000001023d1e58 r15 = 0x7cfdba888c9e00fa AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV atomic:1003 in tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex* std::__1::__cxx_atomic_load<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex>(std::__1::__cxx_atomic_base_impl<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex> const*, std::__1::memory_order) Thread T5 created by T0 here: #0 0x1016fb58a in wrap_pthread_create+0x5a (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4258a) #1 0x101105a93 in std::__1::__libcpp_thread_create(_opaque_pthread_t**, void* ()(void), void*) __threading_support:501 #2 0x101172ff7 in std::__1::thread::thread<void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, void>(void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::&&)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >&&) thread:307 #3 0x10116ea34 in std::__1::thread::thread<void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, void>(void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::&&)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >&&) thread:299 #4 0x10116e5e5 in cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::LRUManualCacheBuffer(unsigned long, unsigned long long, unsigned long long) LRUManualCacheBuffer.h:101 #5 0x1010cf87c in cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::LRUManualCacheBuffer(unsigned long, unsigned long long, unsigned long long) LRUManualCacheBuffer.h:75 #6 0x1010d37ca in LRUMANUAL6_BufferThreadSafe_Test::TestBody() test.cpp:538 #7 0x101281c7d in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::)(), char const) gtest.cc:2402 #8 0x10120e16e in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::)(), char const) gtest.cc:2438 #9 0x10120dc0d in testing::Test::Run() gtest.cc:2474 #10 0x1012108dc in testing::TestInfo::Run() gtest.cc:2656 #11 0x101212dc9 in testing::TestCase::Run() gtest.cc:2774 #12 0x10122664f in testing::internal::UnitTestImpl::RunAllTests() gtest.cc:4649 #13 0x10128f5e5 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::)(), char const) gtest.cc:2402 #14 0x101225768 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::)(), char const) gtest.cc:2438 #15 0x1012251fe in testing::UnitTest::Run() gtest.cc:4257 #16 0x1010e1330 in RUN_ALL_TESTS() gtest.h:2233 #17 0x1010e1272 in main test.cpp:995 #18 0x7fff20470f5c in start+0x0 (libdyld.dylib:x86_64+0x15f5c)
==41355==ABORTING zsh: abort ./testGoogleTest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Multiphread
AddressSanitizer: DEADLYSIGNAL
==41355==ERROR: AddressSanitizer: SEGV on unknown address 0x000000003228 (pc 0x0001010f6ad3 bp 0x70000beff620 sp 0x70000beff520 T5)
==41355==The signal is caused by a READ memory access.
#0 0x1010f6ad3 in tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex* std::__1::__cxx_atomic_load<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex>(std::__1::__cxx_atomic_base_impl<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex> const*, std::__1::memory_order) atomic:1003
#1 0x1010f62dd in std::__1::__atomic_base<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex, false>::load(std::__1::memory_order) const atomic:1607
#2 0x101177f3c in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::bucket_accessor::acquire(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >, unsigned long, bool) concurrent_hash_map.h:705
#3 0x101177e46 in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::bucket_accessor::bucket_accessor(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >, unsigned long, bool) concurrent_hash_map.h:700
#4 0x101176d12 in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::bucket_accessor::bucket_accessor(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >, unsigned long, bool) concurrent_hash_map.h:700
#5 0x101176784 in bool tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::lookup<false, int, tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::node* ()(tbb::detail::d1::tbb_allocator<tbb::detail::d2::hash_map_base<tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> >, tbb::detail::d1::spin_rw_mutex>::bucket>&, int const&, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data const)>(int const&, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data const*, tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::const_accessor*, bool, tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::node* ()(tbb::detail::d1::tbb_allocator<tbb::detail::d2::hash_map_base<tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> >, tbb::detail::d1::spin_rw_mutex>::bucket>&, int const&, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data const), tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::node*) concurrent_hash_map.h:1289
#6 0x1011761d4 in tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::find(tbb::detail::d2::concurrent_hash_map<int, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data, tbb::detail::d1::tbb_hash_compare, tbb::detail::d1::tbb_allocator<std::__1::pair<int const, cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::Data> > >::accessor&, int const&) concurrent_hash_map.h:1114
#7 0x101170bab in cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::performTask() LRUManualCacheBuffer.h:351
#8 0x101173e8f in decltype((std::__1::forward<cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >>(fp0)).fp()) std::__1::__invoke<void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, void>(void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::&&)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >&&) type_traits:3688
#9 0x101173d3d in void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, 2ul>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >>&, std::__1::__tuple_indices<2ul>) thread:280
#10 0x1011734be in void std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >> >(void*) thread:291
#11 0x7fff204558fb in _pthread_start+0xdf (libsystem_pthread.dylib:x86_64+0x68fb)
#12 0x7fff20451442 in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x2442)
==41355==Register values:
rax = 0x0000000000003228 rbx = 0x000070000beff560 rcx = 0x0000100000000000 rdx = 0x000070000beff520
rdi = 0x0000000000000002 rsi = 0x0000000000003228 rbp = 0x000070000beff620 rsp = 0x000070000beff520
r8 = 0x00000000ffffffff r9 = 0x00007ffeeeb421f8 r10 = 0x000070000beffa04 r11 = 0x0000000000000000
r12 = 0x000070000beffb40 r13 = 0x000070000beffb80 r14 = 0x00000001023d1e58 r15 = 0x7cfdba888c9e00fa
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV atomic:1003 in tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex* std::__1::__cxx_atomic_load<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex>(std::__1::__cxx_atomic_base_impl<tbb::detail::d2::hash_map_node_basetbb::detail::d1::spin_rw_mutex> const*, std::__1::memory_order)
Thread T5 created by T0 here:
#0 0x1016fb58a in wrap_pthread_create+0x5a (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4258a)
#1 0x101105a93 in std::__1::__libcpp_thread_create(_opaque_pthread_t**, void* ()(void), void*) __threading_support:501
#2 0x101172ff7 in std::__1::thread::thread<void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, void>(void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::&&)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >&&) thread:307
#3 0x10116ea34 in std::__1::thread::thread<void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >, void>(void (cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::&&)(), cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >&&) thread:299
#4 0x10116e5e5 in cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::LRUManualCacheBuffer(unsigned long, unsigned long long, unsigned long long) LRUManualCacheBuffer.h:101
#5 0x1010cf87c in cppcache::LRUManualCacheBuffer<int, int, std::__1::hash, std::__1::equal_to >::LRUManualCacheBuffer(unsigned long, unsigned long long, unsigned long long) LRUManualCacheBuffer.h:75
#6 0x1010d37ca in LRUMANUAL6_BufferThreadSafe_Test::TestBody() test.cpp:538
#7 0x101281c7d in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::)(), char const) gtest.cc:2402
#8 0x10120e16e in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::)(), char const) gtest.cc:2438
#9 0x10120dc0d in testing::Test::Run() gtest.cc:2474
#10 0x1012108dc in testing::TestInfo::Run() gtest.cc:2656
#11 0x101212dc9 in testing::TestCase::Run() gtest.cc:2774
#12 0x10122664f in testing::internal::UnitTestImpl::RunAllTests() gtest.cc:4649
#13 0x10128f5e5 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::)(), char const) gtest.cc:2402
#14 0x101225768 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::)(), char const) gtest.cc:2438
#15 0x1012251fe in testing::UnitTest::Run() gtest.cc:4257
#16 0x1010e1330 in RUN_ALL_TESTS() gtest.h:2233
#17 0x1010e1272 in main test.cpp:995
#18 0x7fff20470f5c in start+0x0 (libdyld.dylib:x86_64+0x15f5c)
==41355==ABORTING
zsh: abort ./testGoogleTest
The text was updated successfully, but these errors were encountered: