Re: Communication with JDK 1.4 ORB



On Sun, 7 Mar 2004, Frank Rehberger wrote:

> AFAIKS, CosNamingContext_resolve succeeds receiving new server's
> Object-Reference from name-service (causing the warning). It seems your
> client is not able to resolve server's host address or is not able to
> route packets to server.
>
> Please attach resulting IOR  from command:
> CORBA_ORB_object_to_string (orb, queryServer)
> and/or decode IOR with command line tool "ior-decode-2"
> Try to "ping" the host name encoded in IOR.
>
> Regards, Frank


Frank,


Thankyou for your response.

I cannot even get to that point because the call hangs.  I did a bit more
inspection (failing to notice before that it was using 100% of my CPU
time!).

A GDB backtrace from where it hangs:

** (process:1684): WARNING **: Ignoring incoming code_sets component

Program received signal SIGINT, Interrupt.
[Switching to Thread 16384 (LWP 1684)]
0x4020bc6c in mallopt () from /lib/libc.so.6
(gdb) bt
#0  0x4020bc6c in mallopt () from /lib/libc.so.6
#1  0x4020ae03 in malloc () from /lib/libc.so.6
#2  0x4020b050 in realloc () from /lib/libc.so.6
#3  0x400da305 in g_try_realloc () from /usr/lib/libglib-2.0.so.0
#4  0x40043a72 in giop_connection_destroy_frags () from /usr/lib/libORBit-2.so.0
#5  0x400440c7 in giop_recv_set_limit () from /usr/lib/libORBit-2.so.0
#6  0x400442c6 in giop_connection_handle_input () from /usr/lib/libORBit-2.so.0
#7  0x40063419 in link_connection_set_max_buffer () from /usr/lib/libORBit-2.so.0
#8  0x400653e0 in link_servers_move_io_T () from /usr/lib/libORBit-2.so.0
#9  0x400d5086 in unblock_source () from /usr/lib/libglib-2.0.so.0
#10 0x400d6029 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x400d6347 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0x400d655d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#13 0x400611a9 in link_main_iteration () from /usr/lib/libORBit-2.so.0
#14 0x400435cc in giop_recv_buffer_get () from /usr/lib/libORBit-2.so.0
#15 0x4004731d in ORBit_small_invoke_stub () from /usr/lib/libORBit-2.so.0
#16 0x40047210 in ORBit_small_invoke_stub_n () from /usr/lib/libORBit-2.so.0
#17 0x4005aeb2 in ORBit_c_stub_invoke () from /usr/lib/libORBit-2.so.0
#18 0x4013fe35 in CosNaming_NamingContext_resolve () from /usr/lib/libORBitCosNaming-2.so.0
#19 0x080499cd in get_server (context=0xbffff7cc, server_name=0x804a526
"barcode", ev=0xbffff7e0)
    at query-client.c:132
#20 0x08049b1e in main (argc=1, argv=0xbffff854) at query-client.c:230


I am rather confused at this point.  Any ideas would be most appreciated.


Best regards,
Matt





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