[omniORB] Py_ServantLocator Core Dump

Duncan Grisby dgrisby@uk.research.att.com
Thu, 21 Sep 2000 12:22:27 +0100


On Wednesday 20 September, Gary Pennington wrote:

[ ... segfault when using ServantLocator with multiple clients...]

I've found the bug, and fixed it in CVS. It's also in the bugfixes
patch, and will appear in tomorrow's FTP snapshot.

The problem was a race condition on the deletion of Py_omniServant
objects -- there was a small window of opportunity for a thread to get
a reference to an object just as another thread was about to delete
it. Quite obvious once I found it.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --