Troubles with corba



Hello,

I've run into a little problem and am pretty stumped.  I first make this
call (from the client):

GUNC_Server_login(GNOME_OBJECT(server)->object,
		  GNOME_OBJECT(client)->object, 
		  &params, &ev);

Then in that function I call this (from the server):

GUNC_Client_login_cb(corba_client, GNOME_OBJECT(server)->object, 
		     CORBA_FALSE, "Incorrect password", ev);


Now when the implementation of this function is called on the client, it
gets passed 120 and "" instead of CORBA_FALSE (0) and "Incorrect
password". If I break in the implemented function, I notice something odd:


#0  impl_GUNC_Client_login_cb (servant=0x808c678, corba_server=0x808df34, 
    success=0 '\000', errmsg=0xbffff608 "", ev=0x4041e39c)
    at gunc-client.c:106
#1  0x4001db5f in _ORBIT_skel_GUNC_Server_login (_ORBIT_servant=0x808c678, 
    _ORBIT_recv_buffer=0x808b7e0, ev=0xbffff608, 
    _impl_login=0x80498dc <impl_GUNC_Client_login_cb>) at
gunc-skels.c:1415


Why is _ORBIT_skel_GUNC_Server_login being called???
_ORBIT_skel_GUNC_Client_login_cb is the function that should be called.
This is stuff internal in ORBit (orbit-idl stuff), it seems.  Also,
ev->_major is 252020 in the impl_ function, which seems pretty weird to
me.

Of course, I might not be passing CORBA objects around correctly, but I
think I am.

If anyone has an idea of what (if anything) I am doing wrong, or if it
looks like an ORBit bug, please let me know.

Thanks,
Jacob Berkman

-- 
"Me fail English?  That's unpossible!" - R. Wiggam



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