Leaked refs. How to debug?



Hi,

I am getting:

** (process:30027): WARNING **: ORB: a total of 2 refs to ORB objects were leaked
  1 refs to 'Object (type '')'
  1 refs to 'ORB'
  1 refs to 'Object (type '')'


from my client/server application at exit. I have looked a million times
and I am rather sure that no objects are ref'ed more than they are
unref'ed.

I have tried to Object_release() the orb just before the ORB_destroy()
to see what would happen. I got:

** (process:30015): WARNING **: CORBA_ORB_destroy: ORB unreffed but not _destroy'd

So I am reasonably sure that I am releasing the orb as I should. Any way
I can get more information of the remaining refs? Ref'ed line or address
would be great. 

BTW, I have ORBIT2_DEBUG=all and this is with CVS HEAD.


Thanks,
  jules



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]