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

tbbmalloc proxy failing for Windows 10 x64

Hendrik
Beginner
4,185 Views

Hi, I noticed an almost identical behaviour as described in this thread: https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/667792?language=en-us&https=1

TBB is tbb-2018_U5, compiled with MS VS2017.

I include <tbb/tbbmalloc_proxy.h> as the first thing in my main.cpp file and on startup tbb complains about an unknown prologue for function _aligned_msize.

The Version of my system32/ucrtbase.dll reads 10.0.16299.522.

Digging in a little I was able to extract a bytecode and add it to the know_bytecodes array, but I am wondering if this is really required or if I miss somthing/using tbb not right. Its hard to imagine that I am the only one having this issue. :)

I tried changing the target Windows SDK Version (default is 10.0.16299 for me) and target Platform Toolset (default Visual Studio 2017 (v141)) with no effect.

 

 

 

0 Kudos
6 Replies
Alexei_K_Intel
Employee
4,185 Views

Hi,

Thank you for the report. It is a know issue and we have a fix for it; however, due to our release process it will take some time to integrate it in one of future releases. Sorry for inconveniences.

Regards,
Alex

0 Kudos
Hendrik
Beginner
4,185 Views

Hi Alex, thanks for the response.

Out of curiosity, will the fix include a more robust way to validate the version of ucrtbase.dll (or better, if the function in known or not)? Or do I need to expect this behaviour whenever ucrtbase.dll (or some of the functions) are updated?

Since you didn't comment on my "extract a bytecode and add it to the know_bytecodes array", can I assume it is rather safe to do so (until the next release) or should I refrain from that?

Best,
   Hendrik

0 Kudos
Nicolas_G_3
Beginner
4,185 Views

Hi,

Any update on this issue? This is a major problem for us, do you know when will the fix be released or if any workaround exists? I was expecting to see the solution with the release of IntelComposer 2019 but I just tried and it still does not work.

We noticed the problem on several Windows 10 versions: 1703 and 1709 for now.

Thanks,

Nico

 

0 Kudos
Alexey-Kukanov
Employee
4,185 Views

Hi NIkolas,

Unfortunately at the time TBB 2019 was already in code freeze and we could not put the fix in.

The fix will be available in the next update to TBB 2019 and also in another (presumably last) update to TBB 2018. Unfortunately, since TBB is released as part of Intel(R) Parallel Studio which has a lot of other components, I cannot say when this will happen. An open source TBB update at https://github.com/01org/tbb is expected to be available next week, also with the fix.

0 Kudos
Nicolas_G_3
Beginner
4,185 Views

Hi Alex,

Thanks a lot for these useful information.

Nicolas

 

0 Kudos
Alexey-Kukanov
Employee
4,185 Views

The standalone update is now on GitHub: https://github.com/01org/tbb/releases/tag/2019_U1.

0 Kudos
Reply