tbbmalloc - _ctor access violation

tbbmalloc - _ctor access violation

Аватар пользователя ronag89

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?

4 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Sergey Kostrov
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.

Аватар пользователя Vladimir Polin (Intel)

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

Аватар пользователя Alexandr Konovalov (Intel)

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

Зарегистрируйтесь, чтобы оставить комментарий.