Orbacus 4.1.3 memory leak? who cares?
Zhai <[email protected]> Thu, 17 Nov 2005 15:46:29 +0800 (CST)
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
Hi,
we run an application, a server and a client, the
client invlkes a *.dll dynamic library. we purified
the client and run, purify reported:
1.[I] Starting Purify'd
D:\OB-4.1.3\ob\demo\hello\clien_dll_poa\Debug\clien_dll_poa.exe
at 2005-11-12 17:10:52
[I] Loading Purify'd C:\WINDOWS\system32\MSVCIRTD.dll
at 0x00380000 (preferred 0x102a0000)
[I] Loading Purify'd C:\WINDOWS\system32\WS2HELP.dll
at 0x003e0000 (preferred 0x71a10000)
[I] Loading Purify'd C:\WINDOWS\system32\MSVCRTD.dll
at 0x01400000 (preferred 0x10200000)
[I] Loading Purify'd Purify.rsc at 0x028c0000
(preferred 0x10000000)
[I] Loading Purify'd
D:\users\ems\open2000e\dll\hello_dll.dll at 0x10000000
[I] Loading pureWQ.dll at 0x3e000000
[I] Loading PURERT.DLL at 0x3f000000
[I] Loading Purify'd C:\WINDOWS\system32\WSOCK32.dll
at 0x51a40000
[I] Loading Purify'd C:\WINDOWS\system32\MSVCRT.dll
at 0x57be0000
[I] Loading Purify'd C:\WINDOWS\system32\ADVAPI32.dll
at 0x67da0000
[I] Loading Purify'd C:\WINDOWS\system32\RPCRT4.dll
at 0x67e50000
[I] Loading Purify'd C:\WINDOWS\system32\KERNEL32.dll
at 0x6c800000
[I] Loading Purify'd C:\WINDOWS\system32\NTDLL.dll at
0x6c920000
[I] Loading Purify'd C:\WINDOWS\system32\WS2_32.dll
at 0x71a20000
[I] Loading C:\WINDOWS\system32\ADVAPI32.dll at
0x77da0000
[I] Loading C:\WINDOWS\system32\RPCRT4.dll at
0x77e50000
[I] Loading kernel32.dll at 0x7c800000
[I] Loading ntdll.dll at 0x7c920000
[I] Starting main
[W] PAR: Both Debug and non-Debug versions of CRT are
active; This may cause CRT heap operations to fail.
{1 occurrence}
2.[I] Summary of new memory leaks... {21 bytes, 1
block}
[I] MPK: Potential memory leak of 21 bytes from 1
block allocated in main [graph_get.exe]
Offset 0x00000008 referenced by
0x02eb48b0, a location in a C++ new block
Distribution of potentially leaked blocks
Allocation location
malloc [dbgheap.c:129]
_CRTIMP void * __cdecl malloc (
size_t nSize
)
=> {
void *res =
_nh_malloc_dbg(nSize, _newmode, _NORMAL_BLOCK, NULL,
0);
return res;
main
[d:\graph_get\test_open.cpp:87]
CODB_NET ::
GRAPH_REAL_RSP_var lp_graph_real_rsp;
=> kk =
api_net.GraphGetData(graph_real_req,lp_graph_real_rsp);
if(kk < 0)
{
printf("
invoke remote rtdbms GraphGetData error\n");
mainCRTStartup [crtexe.c:338]
[I] Summary of new memory leaks... {0 bytes, 0
blocks}
3.bytes leaks: 0+1256 to 0+122789, and etc.
More, we observe the client end using "task
manager", the two entries "memory used" and "vitural
memory size" varies from 10536K, 50240K to 64748K,
112300K to 80444K, 112488K.
from above, does the client leak memories?
NOTES:
1. Orbacus 4.1.3, VC 6.0, STL4VC
2. jtcd.lib, jtc201d.dll, obd.lib, ob413d.dll, i.e.
debug dynamic lib
3. when jtcd.lib and obd.lib are compiled,
OLD_IOSTREAM_CURRENT is set to "no"
Regards
___________________________________________________________
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html