- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
what is the version and update numbers you use?
thanks.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please send call stacks for all threads? Sure, the reproducer would be the best.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page