Leaked refs. How to debug?

Jules Colding <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Organization OMC Denmark ApS
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.