[prev in list] [next in list] [prev in thread] [next in thread] 

List:       omniorb-list
Subject:    Re: [omniORB] omni::omniCodeSet::TCS_C_8bit::unmarshalString () :
From:       Duncan Grisby <duncan () grisby ! org>
Date:       2006-06-06 16:44:17
Message-ID: E1FnefA-00075j-Sz () apasphere ! com
[Download RAW message or body]

On Tuesday 6 June, JiangWei wrote:

[...]
> * stream.setByteSwapFlag(0);*

[...]
> terminate called after throwing an instance of 'CORBA::MARSHAL'

Thanks for the bug report. The problem was that the fast case of string
marshalling was failing to byte-swap the length field, so when you came
to read it again, the data was invalid. I've fixed it in CVS. It's quite
an obscure problem, since nothing in omniORB marshals with byte-swapping
by default. It's always the unmarshalling side that does the
byte-swapping.

Having fixed this issue, your other program works fine for me too.

Cheers,

Duncan.

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

_______________________________________________
omniORB-list mailing list
omniORB-list@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic