Re: ORBit2 issues (was Re: ORBit 0.5.15 any problem?)



Hi Huw,

On Sat, 2002-05-25 at 13:40, Huw Rogers wrote:
> It's far more likely that the problem is with ORBit2, not with ORBit
> stable. Based on reading this list, there seem to be issues with
> typecode marshalling / alignment and interoperability with ORBit2.

	I think that is highly unlikely. I believe the problem with ORBit2 is
that it has had more testing, and a wider use, particularly
interoperability with Java - and so we're shaking more bugs out.

> I recommend testing passing IDL structs and unions of the form

	Fixing the immediate problem would be good, with a nice regression test
- as suggested. Clearly if ORBit 0.5.15 can't pass the type between two
instances of itself, the bug is not in ORBit2 :-)

> Marshalling/demarshalling long long and unsigned long long members of
> unions seems on it's face to be broken in ORBit2 (it appears to attempt
> to force them into a 32bit ulong).

	Can you log a bug about this in bugzilla.gnome.org - I've just reviewed
the code and can see nothing obvious. Certainly, the same code is used
to de-marshal long longs everywhere - regardless of whether they're in
Unions. Is it possible that your system doesn't have guint64 ? I can see
problems if you don't, since sizeof (ORBit_long_long) will not be valid
/ perhaps 32 bits.

	Regards,

		Michael.
-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




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