Archived

This forum has been archived. Please start a new discussion on GitHub.

About memory leak in MFC program with Ice2.1.2

I've test a MFC program with Ice2.1.2.
To simplify the problem I modified the %ICE_HOME%/demo/ice/MFC/server program source code which lists in the attachment.

When I press 'F5' to run the program in the DEBUG mode, a lot of leak report happens. It look just as follows,

Detected memory leaks!
Dumping objects ->
{224} normal block at 0x003B95C8, 32 bytes long.
Data: <setServerProcess> 73 65 74 53 65 72 76 65 72 50 72 6F 63 65 73 73
{223} normal block at 0x003B9568, 32 bytes long.
Data: <setAdapterDirect> 73 65 74 41 64 61 70 74 65 72 44 69 72 65 63 74
{222} normal block at 0x003B9508, 32 bytes long.
Data: <::Ice::LocatorRe> 3A 3A 49 63 65 3A 3A 4C 6F 63 61 74 6F 72 52 65
{221} normal block at 0x003B93D8, 32 bytes long.
Data: <setServerProcess> 73 65 74 53 65 72 76 65 72 50 72 6F 63 65 73 73
{220} normal block at 0x003B9378, 32 bytes long.
Data: <setAdapterDirect> 73 65 74 41 64 61 70 74 65 72 44 69 72 65 63 74
{219} normal block at 0x003B94A8, 32 bytes long.
Data: <::Ice::ServerNot> 3A 3A 49 63 65 3A 3A 53 65 72 76 65 72 4E 6F 74
{218} normal block at 0x003B9438, 52 bytes long.
Data: < u; ; u; > F0 75 3B 00 A8 92 3B 00 F0 75 3B 00 CD CD CD CD
{215} normal block at 0x003B9248, 12 bytes long.
Data: < > 04 CE 13 10 02 00 00 00 00 CD CD CD
{214} normal block at 0x003B91E8, 32 bytes long.
Data: <Ice::ServerNotFo> 49 63 65 3A 3A 53 65 72 76 65 72 4E 6F 74 46 6F
{213} normal block at 0x003B9318, 32 bytes long.
Data: <::Ice::ObjectNot> 3A 3A 49 63 65 3A 3A 4F 62 6A 65 63 74 4E 6F 74
{212} normal block at 0x003B92A8, 52 bytes long.
Data: < u; P ; 8 ; > F0 75 3B 00 50 8F 3B 00 38 94 3B 00 CD CD CD CD
{209} normal block at 0x003B9088, 12 bytes long.
Data: < > D8 CD 13 10 02 00 00 00 00 CD CD CD
{208} normal block at 0x003B9028, 32 bytes long.
Data: <Ice::ObjectNotFo> 49 63 65 3A 3A 4F 62 6A 65 63 74 4E 6F 74 46 6F
....................................
Data: <IceUtil::CtrlCHa> 49 63 65 55 74 69 6C 3A 3A 43 74 72 6C 43 48 61
Object dump complete.

Can some one help me?

Comments

  • mes
    mes California
    Hi,

    Please see this thread for more information on these messages.

    Take care,
    - Mark