Re: BUG in CORBA_ORB_object_to_string, created bad IOR, .....



On Thursday 01 March 2001 15:10, you wrote:
> Hello all,
> I have o problem using the ORBit CORBA_ORB_object_to_string method. I am
> working on a PHP extension that uses ORBit to access a CORBA application
> server (Visibroker). All is ok (or almost :-)) until I use
> CORBA_ORB_object_to_string. This gives me a warning (BUG in
> CORBA_ORB_object_to_string, created bad IOR, .....), and if I try to
> access the returned string, I get a Speicherzugriffsfehler (memory
> access error). There is no exception, just the warning, and a bad
> string. I'm using a cvs version, actually a tarball : ORBit-20000902. I
> also tried ORBit-0.5.7 but the obit-idl compiler does not likes my idl
> files (if I run it, it takes all the available memory, and never stops).
> Can somebody help me? Is there a newer  version? Where? (I can't access
> the www.labs.redhat.com/orbit from where I think I got this version, my
> browser just times out!)
>
> [snip]

I belive you have a truly invalid IOR:

-----

$ ior-decode 
'IOR:010000001900000049444c3a4c412f4c697374656e616e73696368743a312e3000000000020000000000000048000000010100000e0000003139322e3136382e312e313838000dc92c00000000564201000000115642526f6f74504f412f626f615f74700020202000000002323820203a9e3d0c000d97bd'
Tags known:
TAG_INTERNET_IOP: 0x0
TAG_MULTIPLE_COMPONENTS: 0x1
TAG_ORBIT_SPECIFIC: 0xbadfaeca

Object ID: IDL:LA/Listenansicht:1.0
Profile count: 2

Profile type: TAG_INTERNET_IOP
Object endian: Little
IIOP version: 1.0
Host: 192.168.1.188
Port: -14067
Object key: ".VB.....VBRootPOA/boa_tp.   ....28  :.=....."

Profile type: TAG_INTERNET_IOP
[DEBUG   ]: CDR_buffer_gets: attempt to read past end of buffer

-----

(Output produced by ior-decode from ORBit 0.5.6)

Note: the port number is just printed as a signed short, not unsigned, so 
that should not be the problem.

And when I try iordump from MICO 2.3.1, I get "error: illegal object 
reference", so it's not only ORBit that cannot handle your IOR.


-\- David Eriksson -/-

"An expert in a particular computer language is really an expert
in the work-arounds necessary to use this language to perform 
useful work." - Richard B. Johnson




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