[omniORB] Problem with long string

Duncan Grisby dgrisby@uk.research.att.com
Wed, 03 Oct 2001 17:29:54 +0100


On Monday 1 October, Arup Choudhury wrote:

> I am trying to send a long string in a string sequence. If the string size
> is greater than 5650 bytes it core dumps in the client side. It is exactly
> core dumping in the destructor of the _var class. The server is running
> perfectly ok. 
> I am using OMNIOrb in windows NT environment.
> Is there any restriction in omniORB about the length of the string ?

The only limit on string length is the configurable GIOP maximum
message size. The default limit is 2MB, so that's not what you're
hitting.

The most likely thing is that it's a conflict between the debugging
flags of your application and the omniORB library. Make sure that if
your application is compiled with debugging info you link with the
debug versions of omniORB.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --