make check does not complete on a single CPU machine. It hangs at ThreadPoolTest.GetFuture.
$ ./build/unittests/Support/SupportTests --gtest_filter=ThreadPoolTest.GetFuture
Note: Google Test filter = ThreadPoolTest.GetFuture
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ThreadPoolTest
[ RUN ] ThreadPoolTest.GetFuture
(gdb) bt
0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
Extended Description
make check does not complete on a single CPU machine. It hangs at ThreadPoolTest.GetFuture.
$ ./build/unittests/Support/SupportTests --gtest_filter=ThreadPoolTest.GetFuture Note: Google Test filter = ThreadPoolTest.GetFuture [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from ThreadPoolTest [ RUN ] ThreadPoolTest.GetFuture
(gdb) bt
0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
1 0x00007f282790dd7e in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2 0x000055cf1ae988c4 in std::__atomic_futex_unsigned<2147483648u>::_M_load_and_test_until (this=0x55cf1bb90470, assumed=0, operand=1, __equal=true,
3 0x000055cf1ae97ecb in std::__atomic_futex_unsigned<2147483648u>::_M_load_and_test
4 0x000055cf1ae96bbb in std::atomic_futex_unsigned<2147483648u>::_M_load_when_equal (mo=std::memory_order_acquire, __val=1, this=0x55cf1bb90470)
5 std::__future_base::_State_baseV2::wait (this=0x55cf1bb90460)
6 0x000055cf1ae975c4 in std::__basic_future::_M_get_result (
7 0x000055cf1ae96c5a in std::shared_future::get (this=0x7fff16a34ae0)
8 0x000055cf1ae94cea in ThreadPoolTest_GetFuture_Test::TestBody (
9 0x000055cf1afeb6d8 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (object=0x55cf1bb90780, method=&virtual testing::Test::TestBody(),
10 0x000055cf1afe77ef in testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=0x55cf1bb90780, method=&virtual testing::Test::TestBody(),
11 0x000055cf1afd5f2e in testing::Test::Run (this=0x55cf1bb90780)
12 0x000055cf1afd658a in testing::TestInfo::Run (this=0x55cf1bb873d0)
13 0x000055cf1afd6af8 in testing::TestCase::Run (this=0x55cf1bb870d0)
14 0x000055cf1afdb557 in testing::internal::UnitTestImpl::RunAllTests (
15 0x000055cf1afec565 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x55cf1bb6fd50,
16 0x000055cf1afe80fd in testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x55cf1bb6fd50,
17 0x000055cf1afda54a in testing::UnitTest::Run (
18 0x000055cf1afd127e in main (argc=1, argv=0x7fff16a35008)