Re: ORBit-2.4.0 errors...



<dahaverk@rockwellcollins.com> writes:

> Hello,
> 
> I've encountered the following error when I try to run a server with
> ORBit2.
> 
> **At g_assert(objid->_length 13 == 12 ...)  // I added this right before the failing assert.
> 
> ** ERROR **: file poa.c: line 738 (ORBit_POA_create_object): assertion failed: (objid->_length == sizeof (CORBA_unsigned_long) + ORBIT_RAND_DATA_LEN)
> aborting...
> Abort
> __________________
> 
> While I could fix this by "+1" on the Right hand side of the assert...  Is
> there something else I might break by doing so?   For some reason this
> seems like an error I've encounterd before with strings (with a commercial
> ORB)...   But I don't recall the fix.

This is POA object id assignment policy matter, so you have to use
PortableServer::POA::create_POA or
PortableServer::POA::activate_object so you can use SYSTEM_ID.

Everything else is some kind of a bug?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]