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

Commented Unassigned: visual leak detector crash in MFC activeX project [10566]

$
0
0
I have created MFC activeX project. I set debuggin using Internet explorer / Run acivex control embedding with IE. Now i have include vld.h in ocx.h header file. when i build the project it will start loading this visual detector but before activex registration ,there is an error dialog with message regsvr32.exe crash and the message dilog display the crash in OLEFAULT32.dll as a faulting module.
How can i use visual leak detector with MFC active X control project.

Comments: I tried it with version 2.4 RC2 and I can reproduce the problem. Here is my stack trace: kernel32.dll!IsBadReadPtr() > vld_x86.dll!03c51e40() [Frames below may be incorrect and/or missing, no symbols loaded for vld_x86.dll] vld_x86.dll!03c3d034() vld_x86.dll!03c34a45() mfc90.dll!CAfxStringMgr::Allocate(int 0x00000001, int 0x00000001) C++ mfc90.dll!ATL::CSimpleStringT<char,1>::Fork(int 0x00000001) C++ mfc90.dll!ATL::CSimpleStringT<char,1>::PrepareWrite2(int 0x00000001) C++ mfc90.dll!ATL::CSimpleStringT<char,1>::PrepareWrite(int 0x00000001) C++ mfc90.dll!ATL::CSimpleStringT<char,1>::AppendChar(char 'x') C++ mfc90.dll!ATL::CSimpleStringT<char,1>::operator+=(char 'x') C++ mfc90.dll!ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > >::operator+=(char 'x') C++ I installed 2.4 RC2 and hooked it up to an AX control. Anyways, the installer didn't add PDB's for the vld_x86.dll. So the stack resolution is not so great. But I didn't have this problem with the earlier version 2.3

Viewing all articles
Browse latest Browse all 704

Trending Articles



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