tracking memory leaks
hi guys!
I'm just about done with my project which is to write a plug-in DLL for RapidForm. Everything works but there are some memory leaks that appear when I debug the DLL. I was just given some existing headers, LIBs and DLLs that I needed for this project so I really don't have all the source codes available to me except for the ones that I wrote. So the problem with the memory leaks is that I can't track where they're coming from. I can check my code easily since I only used a few "new" operators but I can't check the codes found in the LIBs and DLLs. It's possible that the leaks come from there. The leaks appear like the one below:
Detected memory leaks!
Dumping objects ->
First-chance exception at 0x7c597db2 in RapidForm.exe: 0xC0000005: Access violation reading location 0x2f7ac428.
#File Error#(692) : {251} normal block at 0x2FE3CB68, 95 bytes long.
Data: <e:\proj\050829re> 65 3A 5C 4B 6D 73 65 5C 30 35 30 38 32 39 72 65
First-chance exception at 0x7c597db2 in RapidForm.exe: 0xC0000005: Access violation reading location 0x2f7bfa60.
#File Error#(238) : {228} normal block at 0x2FE3A618, 32 bytes long.
Data: < z/ > C0 F2 7A 2F 00 00 00 00 00 00 00 00 00 00 00 00
First-chance exception at 0x7c597db2 in RapidForm.exe: 0xC0000005: Access violation reading location 0x2f7ac428.
#File Error#(689) : {220} normal block at 0x2FE39F88, 240 bytes long.
Data: << z/ 8 / > 3C F3 7A 2F CD CD CD CD F0 38 87 2F 00 00 00 00
First-chance exception at 0x7c597db2 in RapidForm.exe: 0xC0000005: Access violation reading location 0x2f7ac428.
#File Error#(689) : {219} normal block at 0x2FE39F48, 4 bytes long.
Data: < z/> F4 F3 7A 2F
{203} normal block at 0x2FE39D48, 24 bytes long.
Data: < ] / > E4 5D CF 2F 00 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.
I use MS Visual Studio .NET 2003 and I already added "#define _CRTDBG_MAP_ALLOC" in stdafx.h. As you can see, there's no filename regarding where the leak came from. I thought this might be because the leaks are in the LIBs or DLLs and not in my code but I tried forcing leaks of my own and the same messages came up with addition to mine, of course, but still no filename.
Is this a misconfiguration of the IDE or something? Is there a way to find out where these leaks came from using a monitor software or something?
Thanks!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement