[omniORB] CORBA::Any::NP_marshalDataOnly assertion failure

Duncan Grisby duncan at grisby.org
Mon Nov 26 16:18:16 GMT 2007


On Tuesday 20 November, "Peter S. Housel" wrote:

[...]
> omniORB: Assertion failed.  This indicates a bug in the application
> using omniORB, or maybe in omniORB itself.
> 
> file: /home/housel/sourceforge/omniorb/omni/src/lib/omniORB/dynamic/any.cc
>  line: 433
>  info: kind == CORBA::tk_void || kind == CORBA::tk_null
> terminate called after throwing an instance of 'omniORB::fatalException'
> Abort (core dumped)
> 
> The code in NP_marshalDataOnly seems to be asserting that only tk_null
> and tk_void should be without a pd_data or pd_mbuf field, but this seems
> to also be the case for nil object references.

That's a silly bug. The code just before the assertion that's triggering
should accept tk_objref to cope with nil object references. I've fixed
it in CVS.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list