[omniORB] in MAN_THREAD_MODEL omniORB releases references from other thread

Duncan Grisby duncan at grisby.org
Thu May 6 16:29:37 BST 2010


On Tue, 2010-05-04 at 18:17 -0500, Michael Kilburn wrote:

>                 Now you mention it, though, it does seem logical that
>                 the call to
>                 _remove_ref() is also done in on the main thread. I've
>                 checked in a
>                 change to CVS that implements that.
>         
>         Do you remember in which version of omniORB this problem was
>         fixed?

It was fixed in 4.1.4.

>         We've just discovered a small problem with this approach -- in
>         ORB's shutdown method we do not get a signle call to
>         ServantActivator's etherealize() method -- all servants active
>         in that POA leak... In fact activator itself leaks too. My
>         understanding is that when POA is teared down, it deactivates
>         everything and subsequent etherealize() calls made from other
>         thread silently fail.

Can you come up with a minimal example that shows that problem?
etherealize() certainly should be called during shutdown.

Cheers,

Duncan.

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





More information about the omniORB-list mailing list