Debugging question

C

chuayongquan

I have a memory leak in my program. Now how do I read the following
messages:

Info: AfxDllCanUnloadNow returning S_OK
Detected memory leaks!
Dumping objects ->
{14831} normal block at 0x0118F5C0, 424 bytes long.
Data: <<?xml version="1> 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22
31
C:\Projects\vld\vldutil.cpp(658) : {13120} client block at 0x0118EF28,
subtype bf42, 132 bytes long.
an invalid object at $0118EF28, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {13118} client block at 0x01193368,
subtype bf42, 132 bytes long.
an invalid object at $01193368, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {13116} client block at 0x01193248,
subtype bf42, 132 bytes long.
an invalid object at $01193248, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {13114} client block at 0x01193138,
subtype bf42, 132 bytes long.
an invalid object at $01193138, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {13112} client block at 0x01193028,
subtype bf42, 132 bytes long.
an invalid object at $01193028, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {13110} client block at 0x01193B50,
subtype bf42, 132 bytes long.
an invalid object at $01193B50, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {13108} client block at 0x011939F0,
subtype bf42, 132 bytes long.
an invalid object at $011939F0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12996} client block at 0x01193928,
subtype bf42, 132 bytes long.
an invalid object at $01193928, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12994} client block at 0x01193860,
subtype bf42, 132 bytes long.
an invalid object at $01193860, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12992} client block at 0x011927D8,
subtype bf42, 132 bytes long.
an invalid object at $011927D8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12990} client block at 0x01192710,
subtype bf42, 132 bytes long.
an invalid object at $01192710, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12988} client block at 0x01192648,
subtype bf42, 132 bytes long.
an invalid object at $01192648, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12986} client block at 0x0119BC80,
subtype bf42, 132 bytes long.
an invalid object at $0119BC80, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12984} client block at 0x0119BB20,
subtype bf42, 132 bytes long.
an invalid object at $0119BB20, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12982} client block at 0x011A5000,
subtype bf42, 132 bytes long.
an invalid object at $011A5000, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12980} client block at 0x011A4F38,
subtype bf42, 132 bytes long.
an invalid object at $011A4F38, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12978} client block at 0x01192AC0,
subtype bf42, 132 bytes long.
an invalid object at $01192AC0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12976} client block at 0x011929F8,
subtype bf42, 132 bytes long.
an invalid object at $011929F8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12974} client block at 0x0118E468,
subtype bf42, 132 bytes long.
an invalid object at $0118E468, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12941} client block at 0x010E9270,
subtype bf42, 132 bytes long.
an invalid object at $010E9270, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12939} client block at 0x010EF650,
subtype bf42, 132 bytes long.
an invalid object at $010EF650, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12933} client block at 0x010EFE10,
subtype bf42, 132 bytes long.
an invalid object at $010EFE10, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12924} client block at 0x01197570,
subtype bf42, 132 bytes long.
an invalid object at $01197570, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12922} client block at 0x010E8830,
subtype bf42, 132 bytes long.
an invalid object at $010E8830, 132 bytes long
{12246} normal block at 0x0118E878, 420 bytes long.
Data: <<?xml version="1> 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22
31
C:\Projects\vld\vldutil.cpp(658) : {12044} client block at 0x011A4E70,
subtype bf42, 132 bytes long.
an invalid object at $011A4E70, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12042} client block at 0x011A4DA8,
subtype bf42, 132 bytes long.
an invalid object at $011A4DA8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12040} client block at 0x010EFD48,
subtype bf42, 132 bytes long.
an invalid object at $010EFD48, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12038} client block at 0x010EFC38,
subtype bf42, 132 bytes long.
an invalid object at $010EFC38, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12036} client block at 0x010EFB70,
subtype bf42, 132 bytes long.
an invalid object at $010EFB70, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12034} client block at 0x010EFAA8,
subtype bf42, 132 bytes long.
an invalid object at $010EFAA8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12032} client block at 0x010EF988,
subtype bf42, 132 bytes long.
an invalid object at $010EF988, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12030} client block at 0x010EF868,
subtype bf42, 132 bytes long.
an invalid object at $010EF868, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12028} client block at 0x010EF748,
subtype bf42, 132 bytes long.
an invalid object at $010EF748, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12015} client block at 0x010EF588,
subtype bf42, 132 bytes long.
an invalid object at $010EF588, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12005} client block at 0x010EF478,
subtype bf42, 132 bytes long.
an invalid object at $010EF478, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12003} client block at 0x010EF368,
subtype bf42, 132 bytes long.
an invalid object at $010EF368, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {12001} client block at 0x010EF258,
subtype bf42, 132 bytes long.
an invalid object at $010EF258, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11999} client block at 0x010EF148,
subtype bf42, 132 bytes long.
an invalid object at $010EF148, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11997} client block at 0x010EF028,
subtype bf42, 132 bytes long.
an invalid object at $010EF028, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11995} client block at 0x010EEF08,
subtype bf42, 132 bytes long.
an invalid object at $010EEF08, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11993} client block at 0x010EEDE8,
subtype bf42, 132 bytes long.
an invalid object at $010EEDE8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11991} client block at 0x010EECC8,
subtype bf42, 132 bytes long.
an invalid object at $010EECC8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11989} client block at 0x010EEBB8,
subtype bf42, 132 bytes long.
an invalid object at $010EEBB8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11987} client block at 0x010EEAA8,
subtype bf42, 132 bytes long.
an invalid object at $010EEAA8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11985} client block at 0x010EE998,
subtype bf42, 132 bytes long.
an invalid object at $010EE998, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11983} client block at 0x010EE888,
subtype bf42, 132 bytes long.
an invalid object at $010EE888, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11981} client block at 0x010EE7C0,
subtype bf42, 132 bytes long.
an invalid object at $010EE7C0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11979} client block at 0x011974A8,
subtype bf42, 132 bytes long.
an invalid object at $011974A8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11977} client block at 0x01197388,
subtype bf42, 132 bytes long.
an invalid object at $01197388, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11975} client block at 0x01197268,
subtype bf42, 132 bytes long.
an invalid object at $01197268, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11973} client block at 0x011971A0,
subtype bf42, 132 bytes long.
an invalid object at $011971A0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11968} client block at 0x01197080,
subtype bf42, 132 bytes long.
an invalid object at $01197080, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11959} client block at 0x01196F70,
subtype bf42, 132 bytes long.
an invalid object at $01196F70, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11957} client block at 0x01196E40,
subtype bf42, 132 bytes long.
an invalid object at $01196E40, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11955} client block at 0x011A9D78,
subtype bf42, 132 bytes long.
an invalid object at $011A9D78, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11953} client block at 0x011A9C68,
subtype bf42, 132 bytes long.
an invalid object at $011A9C68, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11951} client block at 0x011A9B48,
subtype bf42, 132 bytes long.
an invalid object at $011A9B48, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11949} client block at 0x011A9A28,
subtype bf42, 132 bytes long.
an invalid object at $011A9A28, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11947} client block at 0x011A98F8,
subtype bf42, 132 bytes long.
an invalid object at $011A98F8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11945} client block at 0x011A97E8,
subtype bf42, 132 bytes long.
an invalid object at $011A97E8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11943} client block at 0x011A96B8,
subtype bf42, 132 bytes long.
an invalid object at $011A96B8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11941} client block at 0x0119B2C0,
subtype bf42, 132 bytes long.
an invalid object at $0119B2C0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11910} client block at 0x010E5A60,
subtype bf42, 132 bytes long.
an invalid object at $010E5A60, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11908} client block at 0x010E5950,
subtype bf42, 132 bytes long.
an invalid object at $010E5950, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11906} client block at 0x010E5830,
subtype bf42, 132 bytes long.
an invalid object at $010E5830, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11904} client block at 0x010E5720,
subtype bf42, 132 bytes long.
an invalid object at $010E5720, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11902} client block at 0x010E5610,
subtype bf42, 132 bytes long.
an invalid object at $010E5610, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11900} client block at 0x010E99B0,
subtype bf42, 132 bytes long.
an invalid object at $010E99B0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11898} client block at 0x010E9850,
subtype bf42, 132 bytes long.
an invalid object at $010E9850, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11786} client block at 0x010E9710,
subtype bf42, 132 bytes long.
an invalid object at $010E9710, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11784} client block at 0x010E9600,
subtype bf42, 132 bytes long.
an invalid object at $010E9600, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11782} client block at 0x010E94A0,
subtype bf42, 132 bytes long.
an invalid object at $010E94A0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11780} client block at 0x0118E028,
subtype bf42, 132 bytes long.
an invalid object at $0118E028, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11778} client block at 0x0118DF18,
subtype bf42, 132 bytes long.
an invalid object at $0118DF18, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11776} client block at 0x0118DE50,
subtype bf42, 132 bytes long.
an invalid object at $0118DE50, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11774} client block at 0x0118DCF0,
subtype bf42, 132 bytes long.
an invalid object at $0118DCF0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11772} client block at 0x0119D938,
subtype bf42, 132 bytes long.
an invalid object at $0119D938, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11770} client block at 0x010EA990,
subtype bf42, 132 bytes long.
an invalid object at $010EA990, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11768} client block at 0x010EA8C8,
subtype bf42, 132 bytes long.
an invalid object at $010EA8C8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11766} client block at 0x0119D6D0,
subtype bf42, 132 bytes long.
an invalid object at $0119D6D0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11733} client block at 0x0119D818,
subtype bf42, 132 bytes long.
an invalid object at $0119D818, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11731} client block at 0x01197640,
subtype bf42, 132 bytes long.
an invalid object at $01197640, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11727} client block at 0x011982A8,
subtype bf42, 132 bytes long.
an invalid object at $011982A8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11718} client block at 0x01197FD0,
subtype bf42, 132 bytes long.
an invalid object at $01197FD0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11716} client block at 0x0118AE78,
subtype bf42, 132 bytes long.
an invalid object at $0118AE78, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11684} client block at 0x0118AD68,
subtype bf42, 132 bytes long.
an invalid object at $0118AD68, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11682} client block at 0x0118AC48,
subtype bf42, 132 bytes long.
an invalid object at $0118AC48, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11675} client block at 0x0118EE18,
subtype bf42, 132 bytes long.
an invalid object at $0118EE18, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11641} client block at 0x0118ED50,
subtype bf42, 132 bytes long.
an invalid object at $0118ED50, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11633} client block at 0x0118EC30,
subtype bf42, 132 bytes long.
an invalid object at $0118EC30, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11631} client block at 0x0118EB68,
subtype bf42, 132 bytes long.
an invalid object at $0118EB68, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11603} client block at 0x011A9158,
subtype bf42, 132 bytes long.
an invalid object at $011A9158, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11519} client block at 0x011A9048,
subtype bf42, 132 bytes long.
an invalid object at $011A9048, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11511} client block at 0x011A8F80,
subtype bf42, 132 bytes long.
an invalid object at $011A8F80, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11509} client block at 0x011979E8,
subtype bf42, 132 bytes long.
an invalid object at $011979E8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11371} client block at 0x01197920,
subtype bf42, 132 bytes long.
an invalid object at $01197920, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11369} client block at 0x01197858,
subtype bf42, 132 bytes long.
an invalid object at $01197858, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11360} client block at 0x01197790,
subtype bf42, 132 bytes long.
an invalid object at $01197790, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11358} client block at 0x01194050,
subtype bf42, 132 bytes long.
an invalid object at $01194050, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11356} client block at 0x01193F88,
subtype bf42, 132 bytes long.
an invalid object at $01193F88, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11354} client block at 0x01193E48,
subtype bf42, 132 bytes long.
an invalid object at $01193E48, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11319} client block at 0x010EA0E8,
subtype bf42, 132 bytes long.
an invalid object at $010EA0E8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11317} client block at 0x010EA020,
subtype bf42, 132 bytes long.
an invalid object at $010EA020, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11315} client block at 0x010E9F58,
subtype bf42, 132 bytes long.
an invalid object at $010E9F58, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11309} client block at 0x010EAD78,
subtype bf42, 132 bytes long.
an invalid object at $010EAD78, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11300} client block at 0x011A48A8,
subtype bf42, 132 bytes long.
an invalid object at $011A48A8, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11298} client block at 0x011A47E0,
subtype bf42, 132 bytes long.
an invalid object at $011A47E0, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11296} client block at 0x011A4718,
subtype bf42, 132 bytes long.
an invalid object at $011A4718, 132 bytes long
C:\Projects\vld\vldutil.cpp(658) : {11237} The thread 0x2B8 has exited
with code -1073741819 (0xC0000005).
The thread 0xEF0 has exited with code -1073741819 (0xC0000005).
The thread 0xD60 has exited with code -1073741819 (0xC0000005).
The thread 0xFCC has exited with code -1073741819 (0xC0000005).
The thread 0x3A4 has exited with code -1073741819 (0xC0000005).
The thread 0xAFC has exited with code -1073741819 (0xC0000005).
The thread 0x8BC has exited with code -1073741819 (0xC0000005).
The thread 0xAB0 has exited with code -1073741819 (0xC0000005).


Can anyone help. Thx...
 
B

bart.kowalski

(snipped error messages)

Debugger questions are OT here. This group is for language questions.
Try posting in a newsgroup specific to your debugger.


Bart.
 
K

Karl Heinz Buchegger

I have a memory leak in my program. Now how do I read the following
messages:

Your question is off-topic.
Please direct questions like that to a newgroup which discusses VC

However
Info: AfxDllCanUnloadNow returning S_OK
Detected memory leaks!
Dumping objects ->
{14831} normal block at 0x0118F5C0, 424 bytes long.
Data: <<?xml version="1> 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22
31
C:\Projects\vld\vldutil.cpp(658) : {13120} client block at 0x0118EF28,
subtype bf42, 132 bytes long.
an invalid object at $0118EF28, 132 bytes long

The allocation was done in file vldutil.cpp at line 658
The allocation had the sequential allocation number 13120 and was 132
bytes long

So look up that line, figure out what got allocated and deduce why it wasn't
deleted
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top