Quantcast
Channel: Visual Leak Detector for Visual C++ 2008-2015
Viewing all articles
Browse latest Browse all 704

New Post: Crash in VisualLeakDetector::reportLeaks

$
0
0
Hello, I looked forward when I saw new version and integrate it immediately. Unfortunately my application crashes in reportLeaks. I tried to also compile library from sources but without success to solve the crash. I setup exactly the same compiler options to compile VLD as I use for my project. The crash is there only when I link my debug project with release version of VLD. If I link to debug version of VLD, then it seems to work.

My project consist from several DLLs and single EXE - the EXE and some of the DLLs use MFC library, some DLLs are just ordinary DLL without MFC.

Environment: Visual Studio 2013 Update 5

The crash callstack:
>   vld_x64.dll!VisualLeakDetector::reportLeaks(heapinfo_t * heapinfo, bool & firstLeak, Set<blockinfo_t *> & aggregatedLeaks, unsigned long threadId) Line 1834    C++
    vld_x64.dll!VisualLeakDetector::ReportLeaks() Line 2393 C++
    vld_x64.dll!VisualLeakDetector::~VisualLeakDetector() Line 626  C++
    [External Code] 
    vld_x64.dll!DllEntryPoint(HINSTANCE__ * hinstDLL, unsigned long fdwReason, void * lpReserved) Line 281  C++
    [External Code] 
Also 32bit version seems to work - I have crashes only when compiled with 64bit and when I close the application.

Viewing all articles
Browse latest Browse all 704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>