-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
Describe the bug
Thread sanitizer reports data race, while executing test_partition:
13/38 Testing: test_partition
13/38 Test: test_partition
Command: "/some/path/CXXGraph/build/test/test_exe" "--gtest_filter=PartitionTest*"
Directory: /some/path/CXXGraph/build/test
"test_partition" start time: Oct 11 13:36 CEST
Output:
----------------------------------------------------------
Running Test for CXXGraph Version 4.1.0
Note: Google Test filter = PartitionTest*
[==========] Running 9 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 9 tests from PartitionTest
[ RUN ] PartitionTest.test_1
[ OK ] PartitionTest.test_1 (5 ms)
[ RUN ] PartitionTest.test_2
[ OK ] PartitionTest.test_2 (1699 ms)
[ RUN ] PartitionTest.test_3
[ OK ] PartitionTest.test_3 (4 ms)
[ RUN ] PartitionTest.test_4
[ OK ] PartitionTest.test_4 (1453 ms)
[ RUN ] PartitionTest.test_5
[ OK ] PartitionTest.test_5 (7 ms)
[ RUN ] PartitionTest.test_6
[ OK ] PartitionTest.test_6 (1527 ms)
[ RUN ] PartitionTest.test_7
==================
WARNING: ThreadSanitizer: data race (pid=54553)
Read of size 8 at 0x721800218158 by thread T35:
#0 CXXGraph::Partitioning::EBV<int>::performStep(std::shared_ptr<CXXGraph::Edge<int> const>, std::shared_ptr<CXXGraph::Partitioning::PartitionState<int> >) /some/path/CXXGraph/include/CXXGraph/Partitioning/EBV.hpp:72 (test_exe+0x36cdcc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#1 CXXGraph::Partitioning::PartitionerThread<int>::run() /some/path/CXXGraph/include/CXXGraph/Partitioning/PartitionerThread.hpp:65 (test_exe+0x36b9b6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#2 void std::__invoke_impl<void, void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(std::__invoke_memfun_deref, void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:74 (test_exe+0x37984a) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 std::__invoke_result<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>::type std::__invoke<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:96 (test_exe+0x377313) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 void std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/13/bits/std_thread.h:292 (test_exe+0x374de2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::operator()() /usr/include/c++/13/bits/std_thread.h:299 (test_exe+0x372ed6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> > >::_M_run() /usr/include/c++/13/bits/std_thread.h:244 (test_exe+0x36b5fa) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 <null> <null> (libstdc++.so.6+0xecdb3) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
Previous write of size 8 at 0x721800218158 by thread T34:
#0 CXXGraph::Partitioning::EBV<int>::performStep(std::shared_ptr<CXXGraph::Edge<int> const>, std::shared_ptr<CXXGraph::Partitioning::PartitionState<int> >) /some/path/CXXGraph/include/CXXGraph/Partitioning/EBV.hpp:72 (test_exe+0x36cdee) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#1 CXXGraph::Partitioning::PartitionerThread<int>::run() /some/path/CXXGraph/include/CXXGraph/Partitioning/PartitionerThread.hpp:65 (test_exe+0x36b9b6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#2 void std::__invoke_impl<void, void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(std::__invoke_memfun_deref, void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:74 (test_exe+0x37984a) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 std::__invoke_result<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>::type std::__invoke<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:96 (test_exe+0x377313) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 void std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/13/bits/std_thread.h:292 (test_exe+0x374de2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::operator()() /usr/include/c++/13/bits/std_thread.h:299 (test_exe+0x372ed6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> > >::_M_run() /usr/include/c++/13/bits/std_thread.h:244 (test_exe+0x36b5fa) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 <null> <null> (libstdc++.so.6+0xecdb3) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
Location is heap block of size 96 at 0x721800218100 allocated by main thread:
#0 operator new(unsigned long) ../../../../src/libsanitizer/tsan/tsan_new_delete.cpp:64 (libtsan.so.2+0xa6fae) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
#1 std::__new_allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) /usr/include/c++/13/bits/new_allocator.h:151 (test_exe+0x366faf) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#2 std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) /usr/include/c++/13/bits/alloc_traits.h:482 (test_exe+0x361f41) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >&) /usr/include/c++/13/bits/allocated_ptr.h:98 (test_exe+0x361f41)
#4 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, CXXGraph::Partitioning::Globals&>(CXXGraph::Partitioning::EBV<int>*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr_base.h:969 (test_exe+0x35ec29) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 std::__shared_ptr<CXXGraph::Partitioning::EBV<int>, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>, CXXGraph::Partitioning::Globals&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr_base.h:1712 (test_exe+0x35b7eb) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 std::shared_ptr<CXXGraph::Partitioning::EBV<int> >::shared_ptr<std::allocator<void>, CXXGraph::Partitioning::Globals&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr.h:464 (test_exe+0x357b7e) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 std::shared_ptr<std::enable_if<!std::is_array<CXXGraph::Partitioning::EBV<int> >::value, CXXGraph::Partitioning::EBV<int> >::type> std::make_shared<CXXGraph::Partitioning::EBV<int>, CXXGraph::Partitioning::Globals&>(CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr.h:1010 (test_exe+0x354258) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#8 CXXGraph::Partitioning::Partitioner<int>::Partitioner(std::shared_ptr<std::unordered_set<std::shared_ptr<CXXGraph::Edge<int> const>, CXXGraph::edgeHash<int>, std::equal_to<std::shared_ptr<CXXGraph::Edge<int> const> >, std::allocator<std::shared_ptr<CXXGraph::Edge<int> const> > > const>, CXXGraph::Partitioning::Globals&) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:96 (test_exe+0x351685) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#9 CXXGraph::Partitioning::Partitioner<int>::partitionGraph(CXXGraph::Graph<int> const&, CXXGraph::Partitioning::E_PartitionAlgorithm, unsigned int, double, double, double, unsigned int) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:228 (test_exe+0x34ff16) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#10 PartitionTest_test_7_Test::TestBody() /some/path/CXXGraph/test/PartitionTest.cpp:279 (test_exe+0x34b544) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#11 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x495af2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#12 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48ad46) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#13 testing::Test::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2746 (test_exe+0x457e23) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#14 testing::TestInfo::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2892 (test_exe+0x458c15) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#15 testing::TestSuite::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:3070 (test_exe+0x4599cc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#16 testing::internal::UnitTestImpl::RunAllTests() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:6062 (test_exe+0x46d383) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#17 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x49733b) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#18 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48c8a8) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#19 testing::UnitTest::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:5602 (test_exe+0x46ad96) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#20 RUN_ALL_TESTS() /some/path/CXXGraph/build/_deps/googletest-src/googletest/include/gtest/gtest.h:2337 (test_exe+0x41bcd3) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#21 main /some/path/CXXGraph/test/main.cpp:53 (test_exe+0x41bc75) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
Thread T35 (tid=54628, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xeceb0) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
#2 CXXGraph::Partitioning::Partitioner<int>::startCoordinated() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:190 (test_exe+0x354fb4) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 CXXGraph::Partitioning::Partitioner<int>::performCoordinatedPartition() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:213 (test_exe+0x351c68) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 CXXGraph::Partitioning::Partitioner<int>::partitionGraph(CXXGraph::Graph<int> const&, CXXGraph::Partitioning::E_PartitionAlgorithm, unsigned int, double, double, double, unsigned int) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:229 (test_exe+0x34ff3e) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 PartitionTest_test_7_Test::TestBody() /some/path/CXXGraph/test/PartitionTest.cpp:279 (test_exe+0x34b544) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x495af2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48ad46) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#8 testing::Test::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2746 (test_exe+0x457e23) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#9 testing::TestInfo::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2892 (test_exe+0x458c15) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#10 testing::TestSuite::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:3070 (test_exe+0x4599cc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#11 testing::internal::UnitTestImpl::RunAllTests() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:6062 (test_exe+0x46d383) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#12 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x49733b) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#13 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48c8a8) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#14 testing::UnitTest::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:5602 (test_exe+0x46ad96) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#15 RUN_ALL_TESTS() /some/path/CXXGraph/build/_deps/googletest-src/googletest/include/gtest/gtest.h:2337 (test_exe+0x41bcd3) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#16 main /some/path/CXXGraph/test/main.cpp:53 (test_exe+0x41bc75) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
Thread T34 (tid=54627, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xeceb0) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
#2 CXXGraph::Partitioning::Partitioner<int>::startCoordinated() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:190 (test_exe+0x354fb4) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 CXXGraph::Partitioning::Partitioner<int>::performCoordinatedPartition() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:213 (test_exe+0x351c68) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 CXXGraph::Partitioning::Partitioner<int>::partitionGraph(CXXGraph::Graph<int> const&, CXXGraph::Partitioning::E_PartitionAlgorithm, unsigned int, double, double, double, unsigned int) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:229 (test_exe+0x34ff3e) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 PartitionTest_test_7_Test::TestBody() /some/path/CXXGraph/test/PartitionTest.cpp:279 (test_exe+0x34b544) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x495af2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48ad46) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#8 testing::Test::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2746 (test_exe+0x457e23) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#9 testing::TestInfo::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2892 (test_exe+0x458c15) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#10 testing::TestSuite::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:3070 (test_exe+0x4599cc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#11 testing::internal::UnitTestImpl::RunAllTests() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:6062 (test_exe+0x46d383) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#12 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x49733b) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#13 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48c8a8) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#14 testing::UnitTest::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:5602 (test_exe+0x46ad96) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#15 RUN_ALL_TESTS() /some/path/CXXGraph/build/_deps/googletest-src/googletest/include/gtest/gtest.h:2337 (test_exe+0x41bcd3) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#16 main /some/path/CXXGraph/test/main.cpp:53 (test_exe+0x41bc75) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
SUMMARY: ThreadSanitizer: data race /some/path/CXXGraph/include/CXXGraph/Partitioning/EBV.hpp:72 in CXXGraph::Partitioning::EBV<int>::performStep(std::shared_ptr<CXXGraph::Edge<int> const>, std::shared_ptr<CXXGraph::Partitioning::PartitionState<int> >)
==================
==================
WARNING: ThreadSanitizer: data race (pid=54553)
Write of size 8 at 0x721800218158 by thread T36:
#0 CXXGraph::Partitioning::EBV<int>::performStep(std::shared_ptr<CXXGraph::Edge<int> const>, std::shared_ptr<CXXGraph::Partitioning::PartitionState<int> >) /some/path/CXXGraph/include/CXXGraph/Partitioning/EBV.hpp:72 (test_exe+0x36cdee) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#1 CXXGraph::Partitioning::PartitionerThread<int>::run() /some/path/CXXGraph/include/CXXGraph/Partitioning/PartitionerThread.hpp:65 (test_exe+0x36b9b6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#2 void std::__invoke_impl<void, void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(std::__invoke_memfun_deref, void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:74 (test_exe+0x37984a) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 std::__invoke_result<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>::type std::__invoke<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:96 (test_exe+0x377313) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 void std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/13/bits/std_thread.h:292 (test_exe+0x374de2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::operator()() /usr/include/c++/13/bits/std_thread.h:299 (test_exe+0x372ed6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> > >::_M_run() /usr/include/c++/13/bits/std_thread.h:244 (test_exe+0x36b5fa) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 <null> <null> (libstdc++.so.6+0xecdb3) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
Previous write of size 8 at 0x721800218158 by thread T35:
#0 CXXGraph::Partitioning::EBV<int>::performStep(std::shared_ptr<CXXGraph::Edge<int> const>, std::shared_ptr<CXXGraph::Partitioning::PartitionState<int> >) /some/path/CXXGraph/include/CXXGraph/Partitioning/EBV.hpp:72 (test_exe+0x36cdee) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#1 CXXGraph::Partitioning::PartitionerThread<int>::run() /some/path/CXXGraph/include/CXXGraph/Partitioning/PartitionerThread.hpp:65 (test_exe+0x36b9b6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#2 void std::__invoke_impl<void, void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(std::__invoke_memfun_deref, void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:74 (test_exe+0x37984a) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 std::__invoke_result<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>::type std::__invoke<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*>(void (CXXGraph::Runnable::*&&)(), CXXGraph::Runnable*&&) /usr/include/c++/13/bits/invoke.h:96 (test_exe+0x377313) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 void std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/include/c++/13/bits/std_thread.h:292 (test_exe+0x374de2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> >::operator()() /usr/include/c++/13/bits/std_thread.h:299 (test_exe+0x372ed6) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (CXXGraph::Runnable::*)(), CXXGraph::Runnable*> > >::_M_run() /usr/include/c++/13/bits/std_thread.h:244 (test_exe+0x36b5fa) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 <null> <null> (libstdc++.so.6+0xecdb3) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
Location is heap block of size 96 at 0x721800218100 allocated by main thread:
#0 operator new(unsigned long) ../../../../src/libsanitizer/tsan/tsan_new_delete.cpp:64 (libtsan.so.2+0xa6fae) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
#1 std::__new_allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) /usr/include/c++/13/bits/new_allocator.h:151 (test_exe+0x366faf) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#2 std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) /usr/include/c++/13/bits/alloc_traits.h:482 (test_exe+0x361f41) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >&) /usr/include/c++/13/bits/allocated_ptr.h:98 (test_exe+0x361f41)
#4 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<CXXGraph::Partitioning::EBV<int>, std::allocator<void>, CXXGraph::Partitioning::Globals&>(CXXGraph::Partitioning::EBV<int>*&, std::_Sp_alloc_shared_tag<std::allocator<void> >, CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr_base.h:969 (test_exe+0x35ec29) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 std::__shared_ptr<CXXGraph::Partitioning::EBV<int>, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>, CXXGraph::Partitioning::Globals&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr_base.h:1712 (test_exe+0x35b7eb) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 std::shared_ptr<CXXGraph::Partitioning::EBV<int> >::shared_ptr<std::allocator<void>, CXXGraph::Partitioning::Globals&>(std::_Sp_alloc_shared_tag<std::allocator<void> >, CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr.h:464 (test_exe+0x357b7e) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 std::shared_ptr<std::enable_if<!std::is_array<CXXGraph::Partitioning::EBV<int> >::value, CXXGraph::Partitioning::EBV<int> >::type> std::make_shared<CXXGraph::Partitioning::EBV<int>, CXXGraph::Partitioning::Globals&>(CXXGraph::Partitioning::Globals&) /usr/include/c++/13/bits/shared_ptr.h:1010 (test_exe+0x354258) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#8 CXXGraph::Partitioning::Partitioner<int>::Partitioner(std::shared_ptr<std::unordered_set<std::shared_ptr<CXXGraph::Edge<int> const>, CXXGraph::edgeHash<int>, std::equal_to<std::shared_ptr<CXXGraph::Edge<int> const> >, std::allocator<std::shared_ptr<CXXGraph::Edge<int> const> > > const>, CXXGraph::Partitioning::Globals&) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:96 (test_exe+0x351685) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#9 CXXGraph::Partitioning::Partitioner<int>::partitionGraph(CXXGraph::Graph<int> const&, CXXGraph::Partitioning::E_PartitionAlgorithm, unsigned int, double, double, double, unsigned int) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:228 (test_exe+0x34ff16) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#10 PartitionTest_test_7_Test::TestBody() /some/path/CXXGraph/test/PartitionTest.cpp:279 (test_exe+0x34b544) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#11 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x495af2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#12 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48ad46) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#13 testing::Test::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2746 (test_exe+0x457e23) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#14 testing::TestInfo::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2892 (test_exe+0x458c15) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#15 testing::TestSuite::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:3070 (test_exe+0x4599cc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#16 testing::internal::UnitTestImpl::RunAllTests() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:6062 (test_exe+0x46d383) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#17 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x49733b) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#18 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48c8a8) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#19 testing::UnitTest::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:5602 (test_exe+0x46ad96) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#20 RUN_ALL_TESTS() /some/path/CXXGraph/build/_deps/googletest-src/googletest/include/gtest/gtest.h:2337 (test_exe+0x41bcd3) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#21 main /some/path/CXXGraph/test/main.cpp:53 (test_exe+0x41bc75) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
Thread T36 (tid=54629, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xeceb0) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
#2 CXXGraph::Partitioning::Partitioner<int>::startCoordinated() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:190 (test_exe+0x354fb4) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 CXXGraph::Partitioning::Partitioner<int>::performCoordinatedPartition() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:213 (test_exe+0x351c68) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 CXXGraph::Partitioning::Partitioner<int>::partitionGraph(CXXGraph::Graph<int> const&, CXXGraph::Partitioning::E_PartitionAlgorithm, unsigned int, double, double, double, unsigned int) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:229 (test_exe+0x34ff3e) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 PartitionTest_test_7_Test::TestBody() /some/path/CXXGraph/test/PartitionTest.cpp:279 (test_exe+0x34b544) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x495af2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48ad46) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#8 testing::Test::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2746 (test_exe+0x457e23) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#9 testing::TestInfo::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2892 (test_exe+0x458c15) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#10 testing::TestSuite::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:3070 (test_exe+0x4599cc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#11 testing::internal::UnitTestImpl::RunAllTests() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:6062 (test_exe+0x46d383) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#12 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x49733b) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#13 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48c8a8) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#14 testing::UnitTest::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:5602 (test_exe+0x46ad96) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#15 RUN_ALL_TESTS() /some/path/CXXGraph/build/_deps/googletest-src/googletest/include/gtest/gtest.h:2337 (test_exe+0x41bcd3) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#16 main /some/path/CXXGraph/test/main.cpp:53 (test_exe+0x41bc75) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
Thread T35 (tid=54628, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
#1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xeceb0) (BuildId: ca77dae775ec87540acd7218fa990c40d1c94ab1)
#2 CXXGraph::Partitioning::Partitioner<int>::startCoordinated() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:190 (test_exe+0x354fb4) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#3 CXXGraph::Partitioning::Partitioner<int>::performCoordinatedPartition() /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:213 (test_exe+0x351c68) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#4 CXXGraph::Partitioning::Partitioner<int>::partitionGraph(CXXGraph::Graph<int> const&, CXXGraph::Partitioning::E_PartitionAlgorithm, unsigned int, double, double, double, unsigned int) /some/path/CXXGraph/include/CXXGraph/Partitioning/Partitioner.hpp:229 (test_exe+0x34ff3e) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#5 PartitionTest_test_7_Test::TestBody() /some/path/CXXGraph/test/PartitionTest.cpp:279 (test_exe+0x34b544) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#6 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x495af2) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#7 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48ad46) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#8 testing::Test::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2746 (test_exe+0x457e23) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#9 testing::TestInfo::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2892 (test_exe+0x458c15) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#10 testing::TestSuite::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:3070 (test_exe+0x4599cc) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#11 testing::internal::UnitTestImpl::RunAllTests() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:6062 (test_exe+0x46d383) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#12 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2671 (test_exe+0x49733b) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#13 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:2707 (test_exe+0x48c8a8) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#14 testing::UnitTest::Run() /some/path/CXXGraph/build/_deps/googletest-src/googletest/src/gtest.cc:5602 (test_exe+0x46ad96) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#15 RUN_ALL_TESTS() /some/path/CXXGraph/build/_deps/googletest-src/googletest/include/gtest/gtest.h:2337 (test_exe+0x41bcd3) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
#16 main /some/path/CXXGraph/test/main.cpp:53 (test_exe+0x41bc75) (BuildId: e253073282139b722d0e93deba0e5b280b8a2c89)
SUMMARY: ThreadSanitizer: data race /some/path/CXXGraph/include/CXXGraph/Partitioning/EBV.hpp:72 in CXXGraph::Partitioning::EBV<int>::performStep(std::shared_ptr<CXXGraph::Edge<int> const>, std::shared_ptr<CXXGraph::Partitioning::PartitionState<int> >)
==================
[ OK ] PartitionTest.test_7 (388 ms)
[ RUN ] PartitionTest.test_8
[ OK ] PartitionTest.test_8 (5114 ms)
[ RUN ] PartitionTest.test_9
[ OK ] PartitionTest.test_9 (1423 ms)
[----------] 9 tests from PartitionTest (11625 ms total)
[----------] Global test environment tear-down
[==========] 9 tests from 1 test suite ran. (11625 ms total)
[ PASSED ] 9 tests.
ThreadSanitizer: reported 2 warnings
<end of output>
Test time = 13.77 sec
----------------------------------------------------------
Test Failed.
"test_partition" end time: Oct 11 13:37 CEST
"test_partition" time elapsed: 00:00:13
----------------------------------------------------------
To Reproduce
Run test_partition with thread sanitizer (cf. #550 )
Expected behavior
Thread sanitizer should not report any errors.
Metadata
Metadata
Assignees
Labels
No labels