in MFC dialog project Detected memory leaks!

dzwdzw Member
i use win2000 with sp4 ,vc6 and Ice1.4.0 ,I make a new MFC dialog project,
in the stdafx.h I include "Ice/Ice.h", link with iced.lib and iceutild.lib ,build Ok
but I run it as debug when I close the dialog ,vc report "Detected memory leaks! "

Detected memory leaks!
Dumping objects ->
{77} normal block at 0x00475768, 16 bytes long.
Data: < WG hWG > 18 57 47 00 68 57 47 00 00 00 00 00 00 00 00 00
{75} normal block at 0x00475A90, 1808 bytes long.
Data: <0123456789ABCDEF> 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46
{74} normal block at 0x00472FE0, 28 bytes long.
Data: < w > A0 0A FD 77 FF FF FF FF 00 00 00 00 00 00 00 00
{69} normal block at 0x004759F8, 88 bytes long.
Data: < G* h & $ZG > EC 47 2A 00 68 18 26 10 24 5A 47 00 CD CD CD CD
{68} normal block at 0x00475960, 88 bytes long.
Data: < G* h & YG > EC 47 2A 00 68 18 26 10 8C 59 47 00 CD CD CD CD
{67} normal block at 0x004758C8, 88 bytes long.
Data: < G* H & XG > EC 47 2A 00 48 18 26 10 F4 58 47 00 CD CD CD CD
{66} normal block at 0x00475830, 88 bytes long.
Data: < G* ( & \XG > B0 47 2A 00 28 18 26 10 5C 58 47 00 CD CD CD CD
{64} normal block at 0x00475410, 792 bytes long.
Data: <September > 53 65 70 74 65 6D 62 65 72 00 CD CD CD CD CD CD
{63} normal block at 0x00475208, 448 bytes long.
Data: <Thu mbe Wed mbe > 54 68 75 00 6D 62 65 00 57 65 64 00 6D 62 65 00
{62} normal block at 0x00474C90, 1328 bytes long.
Data: <%a %b %e %H:%M:%> 25 61 20 25 62 20 25 65 20 25 48 3A 25 4D 3A 25
{61} normal block at 0x00474AF8, 344 bytes long.
Data: <PM Wed M:% > 50 4D 00 CD CD CD CD CD 57 65 64 00 4D 3A 25 00
{60} normal block at 0x00474970, 320 bytes long.
Data: <C Sun > 43 00 CD CD CD CD CD CD 53 75 6E 00 CD CD CD CD
{55} normal block at 0x00472E80, 33 bytes long.
Data: < C > 00 43 00 CD CD CD CD CD CD CD CD CD CD CD CD CD
{54} normal block at 0x00472E18, 40 bytes long.
Data: < |L > 14 7C 4C 10 16 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.

I only include "ice.h" and linked iced.lib and iceutild.lib !!!

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Yes, we are aware of this issue (see this previous thread). It is caused by static std::string objects whose memory is not released before the memory leak checker displays its output. We realize that this output is annoying, but we don't have any good solutions at the moment (aside from "just ignore it" :) ).

    Take care,
    - Mark
  • dzwdzw Member
    okCI will read it. thanks!:)
Sign In or Register to comment.