Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

malloc compliance test failure

Kevin_Farnham
Beginner
643 Views
A TBB build on a system that has an Intel Q6600 quad-core processor, 2.4 GHz overclocked to 2.8 GHz, running Fedora, reported a failure in the "malloc compliance test." Has anyone else seen this? What are the implications of this one test failing during a TBB build from source?
0 Kudos
1 Reply
Alexey-Kukanov
Employee
642 Views

Kevin,

Thank you for spotting the problem. Basically, the test checks if the implementation of TBB scalable memory allocator complies with the requirements to memory allocation routines specified in the Single UNIX specification Version 3 (www.unix.org). Even if it fails, you still can use TBB on that platform. In case some instability appears in other tests and/or your applications, you might try to use TBB with the standard glibc memory allocator. For this, you need to make libtbbmalloc.so unaccessible for system loader (e.g. by renaming it or keeping it away of pathes in LD_LIBRARY_PATH).

In order to reproduce the issue and catch bugs behind, I would like to know more details of the platform where the test failed. Can you please tell me the version of Fedora and the version of g++ used?

Thanks.

0 Kudos
Reply