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
Hi. We've encountered a scary bug with TBB on the following code snippet:
tbb::concurrent_vector<int> v; v.resize(382); while (v.size() < 737) { v.emplace_back(); } v.resize(27); while (v.size() < 40) { v.emplace_back(); }
The problem is that the emplace_back() goes into an infinite loop at this line: https://github.com/oneapi-src/oneTBB/blob/ec39c5463d5fbfe01150bcd8cbfe60b5e064d693/include/oneapi/tbb/concurrent_vector.h#L575
emplace_back()
This happens with both oneTBB 2021.4.0 and 2021.5.0. The problem can be reproduced on godbolt: https://godbolt.org/z/rsed7sYP7
I can reproduce the issue on both clang, gcc and msvc.
The text was updated successfully, but these errors were encountered:
I can reproduce it. At a first glance, it looks like a bug in a segment table of concurrent_vector.
Sorry, something went wrong.
@jdumas Could you please recheck your case with current master? And if it fails, please reopen the issue.
Successfully merging a pull request may close this issue.
Hi. We've encountered a scary bug with TBB on the following code snippet:
The problem is that the
emplace_back()
goes into an infinite loop at this line:https://github.com/oneapi-src/oneTBB/blob/ec39c5463d5fbfe01150bcd8cbfe60b5e064d693/include/oneapi/tbb/concurrent_vector.h#L575
This happens with both oneTBB 2021.4.0 and 2021.5.0. The problem can be reproduced on godbolt:
https://godbolt.org/z/rsed7sYP7
I can reproduce the issue on both clang, gcc and msvc.
The text was updated successfully, but these errors were encountered: