Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-14-2005
ehero's Avatar
ehero ehero is offline
Registered User
 
 
Join Date: Mar 2005
Location: Beijing, China
Posts: 9
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?
Attached Files
File Type: zip server.zip (22.2 KB, 42 views)
__________________
I'm ehero.
I love database and middleware.
Reply With Quote
  #2 (permalink)  
Old 07-14-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

Please see this thread for more information on these messages.

Take care,
- Mark
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
About memory leak of Servant Program ehero Help Center 1 07-13-2005 12:08 AM
Does it mean that there are memory leak problems in my program? yrh79 Help Center 3 04-28-2005 12:08 PM
maybe memory leak in Linux dragzhb Help Center 6 10-08-2004 02:37 AM
Memory leak when using ice with MFC? _orchid_ Help Center 9 12-01-2003 07:02 PM
With MFC, memory leak? alwayscy1 Help Center 4 11-05-2003 09:48 PM


All times are GMT -4. The time now is 10:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.