07-07-2012 12:25 PM
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?
Valued Contributor II
07-08-2012 01:21 PM
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.