New issue
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
The test_limiter_node test is hanging indefinitely on CMAKE_BUILD_TYPE=Release (gcc-9, gcc-8) #342
Comments
Microsoft Visual Studio 2017:
|
Release build with CXXFLAGS="-fno-ipa-cp-clone" (gcc 8, 9):
gcc-7:
|
Thank you for the findings. We build the libraries with As for |
RelWithDebInfo (-O2) + CXXFLAGS="-fipa-cp-clone" => fail (gcc 7,8,9). Always (Release or RelWithDebInfo). |
Perhaps related -- Today I changed from my join-token based limiter to I made a single code change to I encountered this issue in Windows 64-bit, Debug and Release compiles via Microsoft VS2019 v16.8.4 Community with oneapi-tbb-2021.1.1 Is there an issue in the specializations of |
@diablodale , at first glance, the issues are different because the discussed issue is caused by optimization level of gcc compiler. However, in your case you experiencing issues even in debug with Microsoft Compiler. @aleksei-fedotov , can you please look at the issue related to |
@aleksei-fedotov I can open a separate issue at your request. |
Current master https://github.com/oneapi-src/oneTBB/tree/4523a7615eaed49c4ed75654b349ca41b92c6381 gcc7 + Release + -DTBB_STRICT=OFF:
gcc8 + Release + -DTBB_STRICT=OFF:
gcc9 + Release + -DTBB_STRICT=OFF:
|
Current master 9e15720 and release https://github.com/oneapi-src/oneTBB/releases/tag/v2021.2.0 RelWithDebInfo + gcc-7 (7.5.0) + openSUSE 15.2 + glibc-2.26-lp152.26.6.1.x86_64:
|
Release 2021.2.0 Debian 9 + gcc-6.3 + RelWithDebInfo:
Debian 9 + gcc-6.3 + Release:
|
openSUSE 15.2 + gcc-10 + Release: |
gcc-7 + Release (-O3) or RelWithDebInfo (-O2) + The following tests FAILED: Release and RelWithDebInfo:
|
if tbb libraries build with -O2 and tests build with -O3 (gcc-7):
@alexey-katranov RelWithDebInfo - not a solution, because an error in header files. Code using oneTBB cannot use -O3. |
We could reproduce |
Commit https://github.com/oneapi-src/oneTBB/tree/6caecf9630a66fa08512eda86086aa25a4764504
Unexpected failure: conformance_global_control + gcc-8. In previous versions, this test ran successfully in gcc-8 (failure in gcc-7). |
It seems similar to the issue with gcc-7. Can you try to extend the workaround in exception.cpp:51 for gcc-8? |
After
|
@phprus , thank you. We will apply the fix. |
@aleksei-fedotov I did not get a reply from you. I can open a separate issue at your request for the issue above I reported. Is that what you want? |
@diablodale , thank you for the reminder, it seems your issue was lost because of the first issue. I think it makes sense to open a new issue to avoid confusion with the current issue. |
@diablodale, for some reason issue had been missing from my radars, sorry about that. Regarding the comment, you said you used default As far as I understand from the description you provided, Please let me know how these tests differ from your use case or simply provide concrete reproducer of the issue. |
Commit 4a23d00 oneTBB/test/tbb/test_limiter_node.cpp Line 358 in 4a23d00
@alexey-katranov, GCC-10 from openSUSE Leap 15.2 is also affected :(
|
@alexey-katranov ping
If this error is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82081, then it is fixed in GCC versions 8.4/9.2/10. |
The oneTBB/test/tbb/test_limiter_node.cpp Line 448 in 40a9a10
oneTBB/test/tbb/test_limiter_node.cpp Line 460 in 40a9a10
Without this changes test |
@anton-potapov, Yes, we can close this issue. 12 hours of tests run passed without errors. |
Commit: 2dba207
With CMAKE_BUILD_TYPE=relwithdebinfo the test_limiter_node test work fine:
With CMAKE_BUILD_TYPE=Release and gcc-9, gcc-8 the test_limiter_node test is hanging indefinitely:
The text was updated successfully, but these errors were encountered: