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

Edited Issue: Visual Leak Detector Crashes after loading [9099]

$
0
0
Hello,
I am new on VLD and I have started to use it (version 2.2) on Windows XP Service Pack 2.

We develop third part application to a CAD software (AutoCAD) from AutoDESK company (acad.exe built using VS2008)
It means that we create applications to customize AutoCAD and these applications are dll's loaded on AutoCAD memory space.

But, during the loading of our library, I get a crash in the application (stack overflow) and in the Visual Studio output debug I get the following information:
'acad.exe': Loaded 'C:\Data\ITLPlus\Win32\Debug\ITLPlusHDesk.arx', Symbols loaded.
'acad.exe': Loaded 'C:\Data\ITLPlus\Win32\Debug\GDCLibrary.dll', Symbols loaded.
'acad.exe': Loaded 'C:\Program Files\Visual Leak Detector\bin\Win32\vld_x86.dll', Binary was not built with debug information.
'acad.exe': Loaded 'C:\Program Files\Autodesk\AutoCAD Map 3D 2012\dbghelp.dll'
Visual Leak Detector Version 2.2 installed.
First-chance exception at 0x7c90e8ee in acad.exe: 0xC00000FD: Stack overflow.
Unhandled exception at 0x7c90e8ee in acad.exe: 0xC00000FD: Stack overflow.
First-chance exception at 0x7c90e8e5 in acad.exe: 0xC0000005: Access violation writing location 0x0f4f0ff0.
Unhandled exception at 0x7c90e8e5 in acad.exe: 0xC0000005: Access violation writing location 0x0f4f0ff0.
The program '[6020] acad.exe: Native' has exited with code 0 (0x0).

After that I have compiled VLD on Visual Studio 2008, but still the same problem.
I have debugged my application and I noticed that I get crash in the function void* vldnew (size_t size, const char *file, int line) present in vldheap.cpp.
This crash is during the call of the function RtlAllocateHeap(). (see image attached for information on the "Call Stack" windows in VStudio


Viewing all articles
Browse latest Browse all 704

Trending Articles



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