-
Object dump - CDynLinkLibrary object....
I have some memory leaks in an app I am debugging, the debugger is
outputting the following...
dllmodul.cpp(106) : {57} client block at 0x01D31850, subtype 0, 64 bytes
long.
a CDynLinkLibrary object at $01D31850, 64 bytes long
{52} client block at 0x01D31A00, subtype 0, 64 bytes long.
a CDynLinkLibrary object at $01D31A00, 64 bytes long
{50} client block at 0x01D31B20, subtype 0, 64 bytes long.
a CDynLinkLibrary object at $01D31B20, 64 bytes long
{45} client block at 0x01D31CA0, subtype 0, 64 bytes long.
a CDynLinkLibrary object at $01D31CA0, 64 bytes long
Is there any way I can find out which Dll's are leaving this junk? Does
anyone know what the values for subtype represent? As you can see all of the
objects are 64 bytes long - does this imply anything?
Thanks for your thoughts,
Jan
-
Re: Object dump - CDynLinkLibrary object....
>> dllmodul.cpp(106)
This means that the source file is dllmodul.cpp and the memory being leaked
was allocated at line 106. Look there.
>> {57} client block at 0x01D31850, subtype 0, 64 bytes
{57} means that this was the 57'th request for memory that the Microsoft
heap manager received. You can put a breakpoint to stop when request number
57 is made. Use _CrtSetBreakAlloc() as early as possible within your code.
Alternatively, use something like bounds checker.
Steve
"Jan Sears" <jan.sears@aspentech.com> wrote in message
news:3a59d4c2@news.devx.com...
> I have some memory leaks in an app I am debugging, the debugger is
> outputting the following...
>
> dllmodul.cpp(106) : {57} client block at 0x01D31850, subtype 0, 64 bytes
> long.
> a CDynLinkLibrary object at $01D31850, 64 bytes long
> {52} client block at 0x01D31A00, subtype 0, 64 bytes long.
> a CDynLinkLibrary object at $01D31A00, 64 bytes long
> {50} client block at 0x01D31B20, subtype 0, 64 bytes long.
> a CDynLinkLibrary object at $01D31B20, 64 bytes long
> {45} client block at 0x01D31CA0, subtype 0, 64 bytes long.
> a CDynLinkLibrary object at $01D31CA0, 64 bytes long
>
> Is there any way I can find out which Dll's are leaving this junk? Does
> anyone know what the values for subtype represent? As you can see all of
the
> objects are 64 bytes long - does this imply anything?
>
> Thanks for your thoughts,
>
> Jan
>
>
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|