Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ronag89
Beginner
43 Views

tbbmalloc - _ctor access violation

When uninitializing a thread and/or shutting down my application I sometimes get an access violation at "crtexe.c method __tmainCRTStartup()... if(has_cctor == 0) _cexit();".
The call stack only shows dlls, where tbbmalloc.dll is closes to the top.
I guess this occurs when the tbb allocator deallocates the memory pool for that specific thread. Question is what could cause this, and how can I go about debugging it?
0 Kudos
3 Replies
SKost
Valued Contributor II
43 Views

Quoting ronag89
...Question is what could cause this, and how can I go about debugging it?


You need to build a debug version of TBB libarryand you should start debugging from the 'tbb_debug.dll'.
Your test application has to be set as a host. Please take a look at Visual Studioproject settings.

43 Views

hello,
what is the version and update numbers you use?
thanks.
--Vladimir
43 Views

Could you please send call stacks for all threads? Sure, the reproducer would be the best.