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

Memory leak internal to Visual Leak Detector

Feb 26, 2014 at 4:52 PM
I'm getting this report from vld:
No memory leaks detected.
Visual Leak Detector is now exiting.
ERROR: Visual Leak Detector: Detected a memory leak internal to Visual Leak Detector!!
---------- Block 165 at 0x013D3970: 20 bytes ----------
Call Stack:
c:\users\bojan\desktop\vld\vld.cpp (1643): Full call stack not available.
6D 00 73 00    63 00 74 00    66 00 2E 00    64 00 6C 00     m.s.c.t. f...d.l.
6C 00 00 00                                                  l....... ........

My project contains static lib and win32 app whitch uses this lib.
In Win32 app main function i call static function from lib. In this static function i make window and draw some stuff with directX-
Im using latest vld v2.4, Visual Studio 2012 and windows 8.
Does anybody know how to solve this?
Mar 28, 2014 at 1:57 AM
I'm getting a similar error, it seems to leak strings of all of my loaded dll files, which is irritating. It would also be nice to have an option to disable internal memory leak reporting so I can ignore it until it is fixed.
Mar 31, 2014 at 6:33 PM
Can you reproduce with vld "basics test"? Can you provide sample that reproduce this leak?
Apr 1, 2014 at 12:43 PM
Edited Apr 1, 2014 at 12:45 PM
I was unable to reproduce this on new project so i strip down problematic one. You can download it with this link: source.rar

Through the process of stripping down my code i have figured out what causes this problem (in my opinion). Function call CoInitializeEx (GameEngine.cpp in my project). When i comment this functin call i don't get internal memory leak. But this isn't always the case. When i comment CoInitializeEx on my not stripped project i still have the problem.
Apr 6, 2014 at 9:51 PM
Thank you for project. Bug should be fixed in next version
Marked as answer by Tanq on 4/7/2014 at 4:08 AM
Apr 7, 2014 at 12:08 PM
Cool. New version eliminate all vld problems in my project. Thanks.