[omniORB] Memory leaks reported in MVC 6.0 (second attempt at sen
ding)
Tucknott, Matthew
Matthew.Tucknott@uk.thalesgroup.com
Fri Feb 14 08:43:02 2003
Hi,
I have an SDI MFC based server that activates a simple CORBA object. The
interface does not do much and has no state. When I run it in debug mode and
exit the application a plethora of memory leaks is reported. I do all the
Omni initialisation in the View class and call destroy in its destructor. I
have even removed the creation of the object so just have
// CORBA Stuff
ofstream out("c:/temp/ior.txt");
int iNull(0);
m_orb = CORBA::ORB_init(iNull, NULL);
m_obj = m_orb->resolve_initial_references("RootPOA");
m_poa = PortableServer::POA::_narrow(m_obj);
and
m_orb->destroy
in the destructor
but I still get the following leakes ( I have only included a few of them)
Detected memory leaks!
The thread 0x6CC has exited with code 0 (0x0).
Dumping objects ->
{2486} normal block at 0x0044B8C0, 4 bytes long.
Data: < D > 08 BB 44 00
{2485} normal block at 0x0044BB08, 8 bytes long.
Data: < g > DC D5 E0 67 00 00 00 00
{2388} normal block at 0x0044EF40, 4 bytes long.
Data: < D > D8 EE 44 00
{2387} normal block at 0x0044EF98, 13 bytes long.
Data: <172.26.81.62 > 31 37 32 2E 32 36 2E 38 31 2E 36 32 00
I assume that I have either got my setting wrong or MVC 6 is wrong. I have
had a look on the net but can only find reference to calling destroy.
Thanks
Matt
Thales Defence Information Systems DISCLAIMER: The information in this
message is confidential and may be legally privileged. It is intended solely
for the addressee. Access to this message by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, or
distribution of the message, or any action or omission taken by you in
reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error. Thank you.
_______________________________________________
omniORB-list mailing list
omniORB-list@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Thales Defence Information Systems DISCLAIMER: The information in this
message is confidential and may be legally privileged. It is intended solely
for the addressee. Access to this message by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, or
distribution of the message, or any action or omission taken by you in
reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error. Thank you.