[omniORB] typecode.cc
Alex Tingle
alex.omniorb at firetree.net
Fri Aug 6 13:55:30 BST 2004
Hi Luca,
On Fri, 6 Aug 2004 11:27:14 +0200
Luca.Tricerri at marconiselenia.com wrote:
> omniORB: Assertion failed. This indicates a bug in the application
> using omniORB, or maybe in omniORB itself.
> file: typecode.cc
> line: 932
> info: CORBA::TypeCode::PR_is_valid(o)
Sounds like it could be a double-delete bug. Here's the appropriate
fragment of typecode.cc...
929: void
930: CORBA::release(TypeCode_ptr o)
931: {
932: OMNIORB_ASSERT(CORBA::TypeCode::PR_is_valid(o));
933:
934: if( CORBA::TypeCode::PR_is_valid(o) && !CORBA::is_nil(o) )
935: TypeCode_collector::releaseRef(ToTcBase(o));
936: }
The assertion fails when 'o' has already been deleted. You have probably
assigned the TypeCode_ptr into two separate _var containers.
-Alex
--
:: alex tingle
:: 58 kings way, harrow, mddx. uk. HA1 1XU
:: alex.tingle AT firetree.net +44-7901-552763
More information about the omniORB-list
mailing list