This project has moved and is read-only. For the latest updates, please go here.

crashed in doexit, VisualLeakDetector::_HeapFree called after destruction

May 9, 2011 at 7:13 AM
Edited May 9, 2011 at 7: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

May 10, 2011 at 10:29 AM

We fix that issue already. Wait for next release.

May 12, 2011 at 8:51 AM

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

May 12, 2011 at 1:49 PM

Wish to see the next release  : )