[omniORB] omniORB4 bug: hang on shutdown with servant locator

Duncan Grisby duncan@grisby.org
Fri Nov 8 17:42:01 2002


On Wednesday 6 November, "Norrie Quinn" wrote:

> We hit the following bug when a server using omniORB4 had several calls
> in-progress during shutdown.  Once enterAdapter is called in
> omniOrbPOA::dispatch_to_sl(), the corresponding exitAdapter() doesn't always
> get called before omniOrbPOA::dispatch_to_sl() returns.  This causes the
> shutdown thread to hang waiting for all calls to complete when a busy server
> is shutdown.  The exception we saw causing this was
> omniOrbPOA::synchronise_request() throwing during the shutdown process.  I
> have included a possible fix for this below.

Thanks for pointing that out. I've checked in a different fix that
also calls postinvoke() if the invocation never happens.

Cheers,

Duncan.

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