[omniORB] omni::giopRope::match() crash

Duncan Grisby duncan at grisby.org
Fri Apr 10 15:01:31 BST 2015


On Thu, 2015-04-09 at 09:13 +0200, Michael Teske wrote:

> with this patch it doesn't crash anymore.

Thanks for your investigation and fix. The code was protecting itself
against concurrent invocations of acquireClient, but as you say, a
thread in match() could become a victim of the changed address list.

Rather than your fix, which causes an extra unlock/relock to occur, does
this similar patch work for you?  It just pushes the unlocking down into
filterAndSortAddressList. Now, in the common case that there is only one
address to resolve, it does only one unlock/relock pair.

Cheers,

Duncan.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: giopRope.patch
Type: text/x-patch
Size: 868 bytes
Desc: not available
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20150410/e86f6ee7/attachment.bin>


More information about the omniORB-list mailing list