This project has moved. For the latest updates, please go here.

crashed in doexit, VisualLeakDetector::_HeapFree called after destruction

May 9, 2011 at 6:13 AM
Edited May 9, 2011 at 6:14 AM

Find a bug maybe, wish to be fixed next version:

when doexit

first VisualLeakDetector's destructor is called so every member of VisualLeakDetector is invalid now (but not set to NULL)

then VisualLeakDetector::_HeapFree is called from ole32.dll (do not know the reason, may be there is some hook not cleared?)

in VisualLeakDetector::_HeapFree, vld.unmapblock is called. As there is no detection for this situation(vld object destructed), the function crashed because m_heapmap is already an invalid pointer.

In XP SP2 & Visual Studio 2005

Coordinator
May 10, 2011 at 9:29 AM

We fix that issue already. Wait for next release.

Developer
May 12, 2011 at 7:51 AM

I agree. We ran into that issue, and it should be fixed already.

May 12, 2011 at 12:49 PM

Wish to see the next release  : )