[omniORB] Memory leak checkers compatible with omni

Duncan Grisby duncan at grisby.org
Thu Nov 25 14:56:17 GMT 2004


On Wednesday 10 November, Dmitry Samersoff wrote:

> 3. It reports lots of leaks in typecodes
> 208 bytes in 3 blocks are definitely lost in loss record 13 of 22
> ....
>     by 0x405A81EF: omni::TypeCode_alias::NP_unmarshalComplexParams
>     by 0x405B37ED: omni::TypeCode_marshaller::unmarshal
>     by 0x405A2263: CORBA::TypeCode::unmarshalTypeCode(cdrStream&)
>     by 0x405B51E7: CORBA::TypeCode_member::operator<<=(cdrStream&)
>     by 0x40553816: CORBA::Any::operator<<=(cdrStream&)
>     by 0x8088CF3: _0RL_cd_AFBEE869D0B7BC7D_e4000000::unmarshalArguments
> ....
> 
> I can't understand is it true memory leaks or just reports ...

This really does look like a leak. Hopefully it's due to a leak in your
application code, rather than a bug in omniORB itself. The thing leaked
is a TypeCode passed in as an argument (possibly inside an Any). Can you
provide a small example program that exhibits the leak?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list