[omniORB] problem string to any with omniorb4

Martin Bluma m.bluma@cityweb.de
Tue Nov 5 14:52:01 2002


Hello,
I tried to compile omniorb4 on AIX 4.3 with the xlC5.  I applied a patch
to cdrStream.h similar to the xlC5 patch of omniorb3. Most of the example
programs work, but marshalling an string into an any fails. The
anyDemo_clt core dumps with illegal instruction. The core stack looks
like:
--------------------------------------------------------------------------
cdrStream::dynAny.marshalString(char const *, int)(0x20007f38, 0x100080dc,
0x0) at 0xd52bc73c
omni::appendItem(omni::TypeCode_base const *, omni::tcDescriptor const &,
cdrStream &)(0x2000d6a8, 0x2ff22890, 0x20007f38) at 0xd52bb12c
omni::tcParser::copyTcDescriptorToStream( (CORBA::TypeCode *const,
omni::tcDescriptor const &, cdrStream &))(0x2000d6a8, 0x2ff22890,
0x20007f38) at 0xd52baf80
omni::tcParser::copyTcDescriptorToMemStream_flush( (CORBA::TypeCode
*const, omni::tcDescriptor const &, cdrMemoryStream &))(0x2000d6a8,
0x2ff22890, 0x20007f38) at 0xd52b5774
omni::AnyP::setData( (CORBA::TypeCode *const, omni::tcDescriptor const
&))(0x20007f38, 0x2000d6a8, 0x2ff22890) at 0xd52b0810
CORBA::Any::operator<<=( (char const *))(0x2ff228f0, 0x100080dc) at
0xd52b19e4
hello(_objref_anyExample *)(0x20008378) at 0x10001980
main(0x2, 0x2ff22a24) at 0x10000f38
---------------------------------------------------------------------------

Has anybody an idea how I could find my error and solve the problem ?
Thanks in Advance

martin bluma