[omniORB] Segfault in omniOrbPOA::dispatch

Duncan Grisby duncan at grisby.org
Thu Jun 18 14:44:23 UTC 2020


On Wed, 2020-06-17 at 17:06 +0200, Jean Aunis via omniORB-list wrote:

> I'm experiencing a crash with omniORB 4.2.0. After re-compiling with
> debug flags I could trace it back to omni::omniOrbPOA::dispatch :
> 
> #0  0x00007f776e127f5c in omni::omniOrbPOA::dispatch (this=0x3aff560,
> handle=..., id=0x7f77b800ab30) at poa.cc:1712

This is the point at which the POA invokes a _dispatch() method on the
servant object that your application provided. The most likely
explanation is that you have your servant reference counting wrong, and
the servant has therefore been deleted.

I suggest that you instrument your code to check the lifetime of your
servant objects, or that you run in a memory debugger like valgrind.

[...]
> Have you already encountered this issue ? May it have been fixed in a
> later release ?

I don't think it is pertinent here, but you really ought to upgrade to
4.2.4, which is the latest on the 4.2 branch. 4.2.0 was released 6
years ago.

Duncan.

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





More information about the omniORB-list mailing list