- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using tbbmalloc_proxy on my project.
If I compile a templated SmartPointer class with standard allocator, everything is OK (and it is used like this since a while).
When I enable the tbb allocator replacements, it produces an unexpected "Access Violation writing location" while initializing the reference counter "count" value.
This constructor is called by an inlined templated class which handles reference counter creation, used by the templated smart pointer constructor.
My TBB version comes with 2011 tools.
Thanks for any advice.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi smaraux,
Do you have call stack available?
thanks
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My mistake, it was taking place in a complete test suite of over 50 classes, and it took me some time to conclude that TBB was not in cause. In fact, memory was messed up before the smart pointer tests, and the different memory management of TBB helped us to detect this issue !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting smaraux
the different memory management of TBB helped us to detect this issue !
Good to know this
Thank you for letting us know that the issue was adressed.
Vladimir
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