oneTBB: The test_limiter_node test is hanging indefinitely on CMAKE_BUILD_TYPE=Release (gcc-9, gcc-8)

Commit: https://github.com/oneapi-src/oneTBB/commit/2dba2072869a189b9fdab3ffa431d3ea49059a19

With CMAKE_BUILD_TYPE=relwithdebinfo the test_limiter_node test work fine:

42: Test command: /home/phprus/tmp/4/6/tbb/oneTBB-2dba2072869a189b9fdab3ffa431d3ea49059a19/build/gcc8/gnu_8.2_cxx11_64_relwithdebinfo/test_limiter_node "--force-colors=1"
42: Test timeout computed to be: 9.99988e+06
42: [doctest] doctest version is "2.3.5"
42: [doctest] run with "--help" for options
42: ===============================================================================
42: [doctest] test cases:      6 |      6 passed |      0 failed |      0 skipped
42: [doctest] assertions: 217212 | 217212 passed |      0 failed |
42: [doctest] Status: SUCCESS!
 42/129 Test  #42: test_limiter_node ........................   Passed    0.33 sec

With CMAKE_BUILD_TYPE=Release and gcc-9, gcc-8 the test_limiter_node test is hanging indefinitely:

42: Test command: /home/phprus/tmp/4/6/tbb/oneTBB-2dba2072869a189b9fdab3ffa431d3ea49059a19/build/gcc9/gnu_9.3_cxx11_64_release/test_limiter_node "--force-colors=1"
42: Test timeout computed to be: 9.99988e+06
42: [doctest] doctest version is "2.3.5"
42: [doctest] run with "--help" for options
42: ===============================================================================
42: /home/phprus/tmp/4/6/tbb/oneTBB-2dba2072869a189b9fdab3ffa431d3ea49059a19/test/tbb/test_limiter_node.cpp:515:
42: TEST CASE:  Message is released if successor does not accept
42:
42: /home/phprus/tmp/4/6/tbb/oneTBB-2dba2072869a189b9fdab3ffa431d3ea49059a19/test/tbb/test_limiter_node.cpp:515: FATAL ERROR: test case CRASHED: SIGTERM - Termination request signal
42:
42: ===============================================================================
42: [doctest] test cases:      4 |      3 passed |      1 failed |      2 skipped
42: [doctest] assertions: 217181 | 217181 passed |      0 failed |
42: [doctest] Status: FAILURE!
 42/129 Test  #42: test_limiter_node ........................***Exception: Child terminated  8.75 sec

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26 (23 by maintainers)

Most upvoted comments

@anton-potapov, Yes, we can close this issue. 12 hours of tests run passed without errors.

@phprus , thank you. We will apply the fix.

After

-#if __GNUC__ == 7
+#if defined(__GNUC__) && __GNUC__ <= 8

100% tests passed, 0 tests failed out of 131

We could reproduce test_limiter_node failure with gcc 9.3. However, it cannot be reproduced with gcc 10.2. Currently, it is not clear what is going wrong, e.g. specifying make_edge as noinline fixes the segfault. We will continue the investigation.