[omniORB] omniORB conflicts with boost shared pointer shared_ptr

Duncan Grisby duncan at grisby.org
Tue Apr 18 16:48:09 BST 2006


On Monday 17 April, "Luke" wrote:

> I come across a strange exception when I am using boost shared pointer
> with omniORB.

[...]
> The omniORB reports this:
> omniORB: throw OBJECT_NOT_EXIST from corbaOrb.cc:842
> (NO,OBJECT_NOT_EXIST_NoMatch)

This is a sign that you've tried to call shutdown() twice. Somewhere
along the line, you have accidentally copied your holder object, so
there are two of them to delete. I'd suggest declaring a private copy
constructor for your class, then the compiler will tell you where you're
copying it.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list