- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am using tbb2.1. When I am trying to "clear" the queue, I am getting an assertion saying that "Assertion my_rep->array.head_page==tp failed on line 653 of file ../src/tbb/concurrent_queue.cpp. Detailed description : at most one page should remain."
I am using debug libraries i.e. tbb_debug & tbbmalloc_debug.
Code :
I am using tbb2.1. When I am trying to "clear" the queue, I am getting an assertion saying that "Assertion my_rep->array.head_page==tp failed on line 653 of file ../src/tbb/concurrent_queue.cpp. Detailed description : at most one page should remain."
I am using debug libraries i.e. tbb_debug & tbbmalloc_debug.
Code :
tbb::concurrent_queueThanks in advance.iq;
iq.push(2);
iq.push(3);
iq.clear(); //Asserts here.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for spotting another issue. Unfortunately, I am not able to reproduce this issue.
Could you wait for the next development release and re-test it and let us know the outcome?
thanks a lot

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page