- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I saw a core dump due to such assertion failure. I start having this failure after integrate some third party libraries into my system. I suspect that third-party library is using some native thread. But still it does not make sense to crash tbb.
I'm using Tbb on fedora20 x86-64.
Assertion block->checkFreePrecond(object) failed on line 2396 of file ../../src/tbbmalloc/frontend.cpp
Detailed description: Possible double free or heap corruption.
My question is: what does this failure mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Vladimir, @Alexandr, Thanks for your suggestions.
I'm able to track down the problem. It's not related to tbb, though the runtime reported error on tbb assertion. Other libraries cause this problem.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Lucan,
Do you have a backtrace to understand where this second scalable_free() is called from?
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This might be related to this forum thread https://software.intel.com/en-us/forums/topic/520693.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vladimir,
Thanks for the suggestion.
Here's my super simple example which's having this assertion failure.
#include <iostream> #include "tbb/task_scheduler_init.h" int main() { tbb::task_scheduler_init t; std::cout << "Hello World!!!" << std::endl; return 0; }
build script:
g++ src/*.cc -g -pthread -L"tbb43_20140724oss/lib/intel64/gcc4.4/" -L"aap/lib/" -ltbb_debug -ltbbmalloc_debug -ltbbmalloc_proxy_debug -laapapi1 -laapapi2 -I"tbb43_20140724oss/include/" -o execute
Note:
aap is my third-party library, I linked with aapapi1 and aapapi2. In the example, I only initialize tbb and did not even use aap.
backtrace:(please see attached file, if I paste the bt here, my submission will trigger the system spam filter. I uploaded a screenshot)
Vladimir Polin (Intel) wrote:
This might be related to this forum thread https://software.intel.com/en-us/forums/topic/520693.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Vladimir, @Alexandr, Thanks for your suggestions.
I'm able to track down the problem. It's not related to tbb, though the runtime reported error on tbb assertion. Other libraries cause this problem.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page